Resolved! Controlling servo with potentiometer
I want to control servo movement with potentiometer. I'm using ADC and getting the pot value. But i don't know how to control the pwm with this value. What should i use?Thanks in advance.
Ask questions, find answers, and share insights on STM32 products and their technical features.
I want to control servo movement with potentiometer. I'm using ADC and getting the pot value. But i don't know how to control the pwm with this value. What should i use?Thanks in advance.
On page 894 the paragraph just above Table 224 says:Table 224 givesthe 8 available options per timer: CMPx refers to blanking from counter reset to comparematch, Tx2 refers to the timing unit TIMx output 2 waveform defined with HRTIM_SETx2and HRTIM_R...
Hi,i'm dealing with the window watchdog.as my program erases a sector in flash i created a watchdog irq handler in RAM which retriggers the watchdog wen the sector is erased.my Watchdog irq has the highest priority. all other irqs have lower priorit...
Using a STM32G071RBT6 on a Nucleo-64 board. Board is powered by its USB port.According to user manual schematic VREF+ is connected to VDD (jumpers are installed).At CN6.4 (VDD) we measure 3.322 V against CN6.6 (GND).ADC is calibrated, CALFACT varyin...
void SPI_call() { char msg[] = "smile"; char copy[6]; HAL_SPI_Receive_IT(&hspi1, (uint8_t *)copy, strlen(copy)); HAL_SPI_Transmit(&hspi1, (uint8_t *)msg, strlen(msg), 100); } static void MX_SPI1_Init(void) { /* USER CODE BEGIN SPI1_Init 0 *...
As an exploration into MCUs I'm doing everything as close to "deserted island" as I can and using assembly instead of the HAL and all that, but I'm having an issue. I was following in general this tutorial and just setting the registers as needed, bu...
Hi Team I am plannimng to connect the arduino and and STM32H7B3I-DK (MB1332B)I see that in the document USART4_TX PH13 D1 and USART3_RX PB11 D0I am getting confused how RX is on USART 3 and TX is on USART 4.https://www.st.com/resource/en/user_manual...
Hi Guys, in the reference sheet of the STM32H753ZI Pg. 2212 it says "FWS is the audio samplingfrequency."There's a programing example provided at Pg. 2232 that says Sampling Freq = 48kHz.I tried this exact configuration, the MCLK, FWS, and SCLK are a...
Hi Team I am trying to interface ARDUINO ans STM32H7B31 I have both boards and i have studied the document that says the arduino connections CN10 CN11 CN19 CN20I hope it need and interface/shield to to connect as both the boards have the female conn...