Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
55 views

Is my setup for a 5V motor project faulty?

I'm trying to get a motor (5V nailbrush, no name, no specifications whatsoever) to spin for a set time and pause for a set time using a PIC10F200 microcontroller in conjunction with a 2N2222 NPN ...
I have no enemies's user avatar
0 votes
0 answers
44 views

shows the different part number

My physical microcontroller shows the part number STM32F412RET6, but when I connect it to the STM32 ST-Link Utility through ST-Link V2, it identifies the device as STM32F401xD/E. What is the exact ...
Nidhi Sayanja's user avatar
0 votes
1 answer
85 views

Remote update firmware for MCU

I am planning to implement a remote firmware update for my MCU and seek recommendations on the necessary features for the MCU. Specifically, I would like to understand the requirements regarding ...
Andromeda's user avatar
  • 477
0 votes
1 answer
56 views

Common Ground Issue for the System

I am facing an issue with my common ground for my system. The system below has a voltage of the battery equal to 16 V and the power supply is supplying my MCU with 3.3V and 0.20A. What is the ...
Mohamed Smaili's user avatar
-1 votes
0 answers
31 views

System: Battery, BMS, MCU, Power Supply [duplicate]

Following up on a post that I have created earlier, I faced a problem with the common ground between my whole system. Thanks to the people who supported me on my last post they informed me that the ...
Mohamed Smaili's user avatar
0 votes
2 answers
57 views

Output mode configuration on GPIOs: When to use push/pull vs open drain?

Hello guys I'm relatively new to Embedded engineering. I wanted to know if there's any specific rule that experienced embedded engineers use when selecting when to use one of these output ...
tadm123's user avatar
  • 155
5 votes
2 answers
191 views

What makes a MCU capable of higher temps than another?

Just an example - STM32F722 has a few versions, but I'm talking about just the variance between two numbers: RET6 vs RET7. The former has a max operating temp of 85C, whereas the latter says 105C. ...
KpilotRCHelis's user avatar
1 vote
2 answers
39 views

Is this EEPROM write procedure on STC microcontrollers correct? Any alternative?

I'm working on a STC15W204S microcontroller, a small, cheap and capable 8051 microcontroller. So far, with the flexibility of SDCC, using the provided STCAI-ISP software and the datasheet (which is ...
fpp's user avatar
  • 183
0 votes
1 answer
110 views

How to verify a crystal is damaged?

I need to check in one of designs to see if my crystal (8MHz) is working or not, the schematic is as follows: When I check the USSXOUT pin I see the following signals: Here I see almost 1 second ...
Andromeda's user avatar
  • 477
0 votes
1 answer
91 views

BMS-Battery System

I am facing an issue, I am building my circuit found below in the image, I am managing a battery pack using a BMS (link: https://eu.mouser.com/datasheet/2/389/STM_4_19_2023_DB4989rev1b-3159205.pdf) (...
Mohamed Smaili's user avatar
0 votes
0 answers
25 views

Switching power supply from two sources [closed]

Using PIC16F690 in proteus and MPLab for programming , make a switching power supply from two batteries. Whenever the charge of one source is low, switch to another one. Also the first source will ...
Samia Mahjabin's user avatar
0 votes
0 answers
75 views

STM32 and Fortran opinions [closed]

In the hope that this question will be accepted by this forum (since it is not very technical), I am asking for your personal opinion. I am a junior electronics engineer and I currently program ...
KaleM's user avatar
  • 473
-1 votes
0 answers
49 views

Low-end MCU development board von Neumann [closed]

I am learning assembly language programming with an ATmega328p (Arduino Nano). Unfortunately, due to the Harvard architecture, I cannot execute code from the SRAM, which is important for my current ...
user380637's user avatar
1 vote
0 answers
27 views

Soil Moisture Sensor ADC value is inaccurate [closed]

I am planning on making a soil moisture sensor with a capacitive sensor, Thonny ide, micropython, and a raspberry pi pico w, and I followed some online tutorials as I am relatively new to the world of ...
user390652's user avatar
-1 votes
0 answers
69 views

my cooling pad is not working can anyone help me? idk bout any electronic stuff [closed]

**so the problem is I bought cooling pad around 6 months ago and it was working perfectly fine but today when I started it it was working normally but soon after it stopped working than I unplugged ...
Dishant Jadav's user avatar
0 votes
2 answers
48 views

CH32V003 MCU max USART baud rate

I will work with the CH32V003A4M6 microcontroller and must configure its USART for serial communication. My application needs to go up to 460800 baud rate. Does someone know if this is possible, or ...
Sebastian Medina's user avatar
-5 votes
0 answers
49 views

project proposal for making ICs [closed]

Guys i have to make a integrated circuit design and to propose it this sunday for an IEEE competition can you please suggest any real time problems for making my design
Sidhu Siddharth's user avatar
1 vote
1 answer
26 views

MII to SGMII to connect ETH Switch is it possible?

I want to connect MCU with parallel MII interfaces to switch ICs with SGMII interfaces in this method : The Eth SW support 8xMDI Channel and 4xSERDES(SGMII,USXGMII,5GBASE-X , ETC). I'm afraid that I ...
Knowledge's user avatar
  • 441
0 votes
1 answer
61 views

Stop Mode 2 (deep sleep) doesn't work with STM32l053R8T6 MCU

I am working with my custom PCB with STM32L053R8T6. My code works just fine when I run it in debug without any stop mode (deep sleep). It enters to the RTC and button interrupts perfectly. However, ...
Nicat Ali's user avatar
1 vote
1 answer
69 views

Can anone identify this IC marked `55JT`?

Please help me identify the IC pictured below:
HNLinh's user avatar
  • 173
0 votes
1 answer
42 views

LCD Entry Mode Set and AVR MCU

I want to simulate **the Entry set mode ** function of and LCD based on HITACHI 44780 Controller. (Here is the datasheet.) The "Entry set mode" is given the following code of the 8 bits data ...
learn design's user avatar
  • 1,020
2 votes
1 answer
67 views

Why do I have to increase the current by 2V when I am using a transistor?

I have a 3V 3W LED, which I would like to control with an ESP32. For controlling the LED, I have chosen a TP122 transistor. Here is my 'schematic': (The Arduino is an ESP in real life, and the 3 V ...
Marci's user avatar
  • 23
1 vote
1 answer
53 views

error in stlink utility

I am having difficulty connecting the ST-LINK/V2 to my microcontroller. An error appears in the ST-LINK utility. I have already verified all the connections, including the decoupling capacitor, all ...
Nidhi Sayanja's user avatar
0 votes
0 answers
36 views

Help decoding weird Id current behavior at high motor speeds!

I have implemented a motor controller which employs FOC to control the speed of a PMSM motor, similar to this: Normally Id reference (IDref) is set to 0 and only the Iq reference (IQref) (quadrature ...
AK47's user avatar
  • 99
0 votes
0 answers
23 views

AVR128Dx TCB Input Capture issue

Ive made a code for reading SENT sensor using TCB interrupt with event system. It works 90% of the time, but those 10% seems like it doesnt read correct high pulse duration, mby someone will see, what ...
Ralfs Volis's user avatar
0 votes
1 answer
38 views

5V CAN transceiver (TJA1040) with a 3.3V uController (ESP32)

I'm designing a CAN node using an ESP32, which works on 3.3V. The only transceiver I can find where I live at a reasonable cost is the TJA1040. The datasheet says it works both on 5V and 3.3V. I am ...
Francisco Maggi's user avatar
0 votes
2 answers
74 views

Efficient Padding for UART to Minimize Power Consumption

So, I am implementing a custom protocol over UART (data field in the packet is fixed at 8 bytes + contains a len field). If the data len is less than 8 bytes, 0xFF is being used for padding. I ...
dsoham's user avatar
  • 3
0 votes
1 answer
56 views

ULx200x V.S. SN7546x

I would like some help understanding the difference between these two Darlington transistor arrays, and which one may be a better fit for my application. I have a 5 VDC 500 mA max. PSU powering an ...
Austin Fox's user avatar
0 votes
0 answers
38 views

Set interrupt pending in STM32H563ZI

I am new to embedded and am trying to learn about interrupts. I want to trigger SysTick (or any other) interrupt by setting the interrupt pending bit in some NVIC register to 1 (read it on the ...
gagan chopra's user avatar
0 votes
0 answers
46 views

Dimmer circuit for LED brightness control

I have a circuit using 555 timer with 2 tact switches to increase and decrease the brightness of LED, but what I need is to store the last state of circuit whether it is on/ off and also automatically ...
Nan dv's user avatar
  • 1
0 votes
4 answers
76 views

Detecting 12V using MCU

I am trying to detect a 12V input signal coming in from a DC wall charger using an STM8 microcontroller. I am using a voltage divider with 10k/2.2k : First there is a 10K resistor in series with the ...
JSNerd01's user avatar
0 votes
1 answer
86 views

LED without resistor?

I have an LED with a 3.3v supply and 3.2v forward voltage. The cathode is being grounded (very sparingly) by an STM32 which can sink up to 20 mA. Can I get away without a resistor?
marc6bbs's user avatar
1 vote
0 answers
69 views

PWMs from microcontroller are resetting

I have been designing an SMPS where the STM32F334R8t6 microcontroller provides the full bridge control signals. The microcontroller board uses a 5 V and 3 V regulator to supply the MCU and the CAN ...
Watermelon's user avatar
1 vote
1 answer
71 views

Does this board already have pull up resistors for I2C? [closed]

I want to use this type of Nucleo board to communicate with a device which requires both SPI and I2C protocols. I know that SPI is directly connected but I2C requires pullup resistors. Does it mean ...
user1245's user avatar
  • 4,301
1 vote
0 answers
130 views

Circuit works only when oscilloscope probe is connected and does not work otherwise

I have built the circuit shown below. The problem is that the circuit only works when I connect oscilloscope probes between node-A and the ground. If I remove or decouple the probe-ground from the ...
UTs's user avatar
  • 11
0 votes
0 answers
28 views

Unknown use 20 V injection in KNX Digital input (read switch status) gvs 4fold

This is a circuit that I've recreated from gvs 4fold digital input. There is common and wire that goes to 4 switches (this circuit only shows 1 of them) when it it's closed the microcontroller reads ...
user8373848's user avatar
0 votes
2 answers
52 views

Sample and Hold IC specification

I am currently designing my 3rd year project in EE. I have an MCU with an ADC that samples at 15 kHz. The signal I want to sample has a 0.5 µs rise time which is equivalent to a bandwidth of 700 kHz, ...
Mandla's user avatar
  • 3
0 votes
2 answers
118 views

Is it normal to get garbage output through UART when resetting the microcontroller?

I have written functioning code for Serial Communication through UART, and when stepping through the code it transmits characters just fine. I have done this using microlib, so I can use printf (I ...
spyduck's user avatar
1 vote
0 answers
60 views

Choose Transistor and Op-Amp for Constant Current Source Driven by Microcontroller

for my project I am trying to provide a current source to a heater (load in the diagram) on a PID loop to keep an object at constant temperature. A thermocouple is attached that reads the temperature. ...
Will Brunner's user avatar
1 vote
0 answers
38 views

Battery Management System review [closed]

I am posting a schematic design of Battery Management System can someone help me or tell me in finding whether this design is correct or not and will it work
Rohan Sharia's user avatar
0 votes
1 answer
43 views

Guitar pedal mod - trigger button presses from a microcontroller by shorting the switch contacts?

I have a guitar foot-pedal (Boss RC-300) and in order to do a lot of the navigation and configuration of the pedal I have to keep crouching / bending down to change patches or change settings. I would ...
Boloar's user avatar
  • 127
1 vote
2 answers
91 views

Impedance for a guitar pedal into an Electrosmith Daisy Seed ADC

I'd like to be sure I can feed my guitar pedal signal into my Daisy Seed ADC to then work on it with digital signal processing algorithms. Here is what I know about my problem: It seems guitar pedals ...
Arno's user avatar
  • 13
1 vote
1 answer
175 views

How to identify this IC FG97

I'm trying to identify an IC labeled FG97 1847 17145. It is a 16-pin SMD.
HNLinh's user avatar
  • 173
0 votes
0 answers
77 views

SRAM not writing properly after radiation exposure

I have an SRAM memory device GM76C88AL with this datasheet. The RAM was exposed to a radioactive beta source (~2MeV) for some time (about 2 hours). The source was just right above it (placed on it), ...
ludicrous's user avatar
  • 1,163
0 votes
1 answer
41 views

Search Datasheet IT8786E-I/HX

Can you help me find the datasheet of IT8786E-I/HX ?
Maxime BOISDRON's user avatar
-2 votes
0 answers
38 views

DPDT relay - Energize and de-energize using control from MCU [duplicate]

I am planning to use a DPDT relay which is rated at +12 VDC. My circuit is as shown below: I am giving +13.8 V continuous voltage to pin 1 and pin 8 is connected to control signal that switches ...
sathya priya sugumar's user avatar
0 votes
1 answer
55 views

Problem initializing PLL as clock NUCLEO-H563ZI

I am trying to initialize the clock with PLL as system clock. The code I used is the following ...
gagan chopra's user avatar
1 vote
0 answers
65 views

How to generate a 50-100 Hz 12 Vac sine wave for audio tone from 5 VDC (PB0 pin) atmega164p microcontroller [closed]

I have programmed to ATmega 164P to make PBO high when PC1 is low. In programming, I'm adding other peripherals as well. But I am facing one issue regarding generating a tone. I have drawn low pass ...
Traffic t's user avatar
1 vote
0 answers
50 views

RS232 isolated communication via MAX3250

I have a two diffrent boards. One of the board is send the SoC and other things to Charger Board. While charging progress starts I want to isolate this to device because battery ground is isolated to ...
MSB's user avatar
  • 27
1 vote
1 answer
149 views

Supercapacitor discharging fast when there is no discharge path present

This question is a continuation of my previous question, but different from that. I am using a PCA85073A RTC in my design. On some boards, the supercapacitor discharges very fast (5 V to 1.1 V in half ...
Confused's user avatar
  • 2,593

1
2 3 4 5
194