Resolved! Battery voltage monitoring
We are using battery Litium ion one-cell.Voltage of cell is between 3.3V to 4.5V.We want to calculate battery voltage.Is it possible to put 4.5V to pin of MCU (STM32L452) ?
We are using battery Litium ion one-cell.Voltage of cell is between 3.3V to 4.5V.We want to calculate battery voltage.Is it possible to put 4.5V to pin of MCU (STM32L452) ?
Hi everyone, hope all of you are doing well.Posting here again about the ADC. I finally got the ADC out of that over run situation and now ready to acquire data!The way the ADC is setup is by having 4 channels using Pins setup as continuous scanningP...
I am using the above Timer as both a debounce of 50ms and as a PWM for the on board LED. Basically I hit the user button, debounce for 50ms. While button held PWM to the LED of 1/2 sec on, 1/2 sec off.....Release button and PWM stops.The timer is run...
Can someone tell me when I useuint16_t temp; temp = __HAL_TIM_GET_COUNTER(&htim2);the above why temp doesn't equal the TIM2 CNT register in the debugger? I've also triedtemp = htim2.Instance->CNT;
I am sending some data on UART, When I enable Transmitter TE bit in USART_CR1 register, a pulse is observed on Tx line ( as shown in figure). That's fine but I am observing some 190nsec pulses on Rx lines though I am not sending anything to it! I hav...
Hi Almighty Internet & STSo huge learning curve using MCU STM32G030J6 with ADCLearned the hard way you cannot use pin 4 for ADC as this is shared by NRST and there is no way to turn off MCU resetting because the bit registers which exist in STM32G031...
Hello I am trying to send hex values over UART with HAL_Transmitin the cubeIDE I do:HAL_UART_Transmit(&huart2,(0xF << 4) | (0x8), 1,10);However I receive in Hterm0xC5I cannot make sense over it. Sending text with " some text" works fineHAL_UART_Trans...
I am testing OPAMP_PGA example code.Here is the DAC config code: /** DAC channel OUT1 config */ sConfig.DAC_HighFrequency = DAC_HIGH_FREQUENCY_INTERFACE_MODE_AUTOMATIC; sConfig.DAC_DMADoubleDataMode = DISABLE; sConfig.DAC_SignedFormat = DISA...
I wanted to make sure the dev board I received would work before the webinar, but unfortunately I have not been able to reproduce the steps as seen on the YouTube tutorial. It seems like the iOS app is out of date according to attached screenshot.
I have written an open source 3D Printer firmware for Arduino Mega - RAMPS 1.6 board which i have uploaded to github: https://github.com/3DHexfw/3DHexNow i am trying to port the code to Creality v4.2.7 board (STM32F103RE on board). To do so i have do...