Questions tagged [microcontroller]
A device which includes a central processing unit (CPU), memory, and (generally) an assortment of I/O peripherals (UART, ADC, DAC, general-purpose I/O, I2C, etc.) in a tightly-coupled standalone package.
9,982 questions
0
votes
1
answer
52
views
Labview visa problem
I had small issue I can't understand how to overcome. I'm using psoc 5lp and wrote a code with uart that just work as ping pong, testing uart options for bigger project. So the psoc code works ...
-3
votes
2
answers
72
views
Battery powered ESP32-S3 + dual MAX98357A audio board | Review request
Schematic PDF
I drew up this schematic for a battery powered ESP32-S3 + dual MAX98357A stereo audio board. I don't know much about the specifics of making schematics. If anyone more knowledgeable ...
-1
votes
0
answers
61
views
I want to power the BLDC motor & Arduino using only AC to DC Power Adapter instead of a battery
I am using Arduino UNO R3. I want to drive the A2122 10T 1400 KV BLDC motor (12V rated) paired with Simonk 30A ESC. The only load for the bldc motor will be a 3D-printed chopper disc with slots, ...
0
votes
2
answers
108
views
STM32 (Blue Pill) : Should I flash erase everytime I want to upload the code?
I am new on STM32. I am using STM32F108C8T6 as my board. First I did blinking internal LED. After that I went to blinking external LED. But the second time I updated the delay timing I got this error:
...
0
votes
1
answer
79
views
Identify SOT-23-5 IC with marking “P15B”
I’m trying to identify a small SOT-23-5 IC removed from an industrial control board.
Top marking: P15B (vertical orientation)
Package: SOT-23-5
5
votes
5
answers
1k
views
Unreliable sensor readings from I2C device on long cable
I’m currently developing a project which uses an ESP32 to monitor data from an I2C sensor. Everything works perfectly on the bench with short jumper wires, but I’ve hit a major roadblock now that the ...
1
vote
2
answers
174
views
How does I²C master clock sampling typically work?
I'm currently debugging an I²C problem with missing/bad clock pulses on the SCL line. My master is an STM32L432 MCU that runs I²C in standard mode with a 100 kHz clock. The configuration using STM's ...
2
votes
1
answer
155
views
CAN schematic review
I am trying to build hardware for a CAN analyzer. This is my first attempt and schematic before going for PCB. Please let me know if I have done any mistakes, missed something, or need to take care of ...
0
votes
1
answer
113
views
Finding information on this IC for an ABS module need to find datasheet or way to decode pins
Need help finding information on this IC for an ABS module need to find datasheet or way to decode pins.
-1
votes
0
answers
77
views
PIC32 CZ CA Programmer Connection Issue
I have been wanting to develop my own custom circuit board using a newer Microchip PIC 32, model PIC32CZ8110CA90176. Besides a 16-bit DIP package PIC I used on a breadboard, this is my first time ...
0
votes
1
answer
79
views
STM32F4 TIM2 output at twice expected frequency
I have an STM32F407 dev board that I'm trying to configure the TIM2 peripheral on. TIM2 uses the APB1 timer clock which should be 84MHz as I've configured it. However, when I use 84MHz to calculate ...
4
votes
2
answers
133
views
STM32H7 - using USB ULPI through pc2_c and pc3_c
I'm trying to interface an stm32h723 with a USB3300 so I can operate USB HS and get 480 Mbps of bandwidth. This is done over ULPI.
Two of the required ULPI signals (DIR and NXT) are only exposed on ...
3
votes
3
answers
274
views
Determine Target Voltage for Pre-Wired LED [closed]
I have a number of pre-wired LED's that I purchased in the past (see picture) but don't know if they are 5V or 12V (I've purchased both), and I'd like to sort them out. How can I do this?
There is no ...
3
votes
1
answer
260
views
Driving 12 VDC Relay from 24 VDC using PWM
I have a Phoenix Relay and it has to be driven by using a 12 VDC coil voltage.
My question is, I have 24 VDC available to me. Can I use a Logic level MOSFET which is driven my a PWM from my MCU and I ...
0
votes
1
answer
77
views
STM32F4 SPI no data transfer
I'm currently trying to get SPI working with the STM32F411RE MCU. I had worked with the SPI interface a few years back, but currently not able to get it working. Not sure where things hang. I'm not ...