7
votes
Is my setup for a 5V motor project faulty?
You have the transistor "upside down." It should be like this:
simulate this circuit – Schematic created using CircuitLab
The arrow in the transistor symbol points towards ground. ...
4
votes
Accepted
Remote update firmware for MCU
First, the MCU must be capable of writing to its own firmware memory. This is generally true for most modern MCUs, but not for some very early and/or low-end devices.
Second, the memory must be large ...
4
votes
Accepted
Output mode configuration on GPIOs: When to use push/pull vs open drain?
It's not a straightforward and solid way to have a rule for all designs. It will be design-specific.
Each configuration has its own benefits and limitations.
Push-pull:
Can source and sink current. ...
4
votes
What makes a MCU capable of higher temps than another?
They're probably the same except the testing limits for the higher temperature version would be tighter since they have to allow for more change in order to guarantee proper operation at the higher ...
3
votes
What makes a MCU capable of higher temps than another?
We probably can't know for sure for any particular device, short of the manufacturer saying so*. But it is common industry practice that a given chip design is tested for different parameters (...
2
votes
Accepted
Is this EEPROM write procedure on STC microcontrollers correct? Any alternative?
Mostly you are right, it depends on the details. And the data sheet has several minor flaws, from the few things I read (typos in the examples, strange wording, ...).
In principle all flash memory is ...
2
votes
Accepted
How to verify a crystal is damaged?
The page you link to literally says it's a ceramic resonator. It is not a crystal.
Please read the data sheet.
It is ceramic resonator with built-in capacitors. Which matches your schematic symbol.
...
2
votes
BMS-Battery System
B- is connected to the GND of the BMS
BMS ground should be connected to your MCU ground, directly, in parallel to the data lines. Chances are: a ground connector is already part of the data
By adding ...
2
votes
Output mode configuration on GPIOs: When to use push/pull vs open drain?
In most cases, you want to use push-pull configuration. It's faster and normally has lower current draw over all.
The push-pull (aka totem-pole) output has two transistors the work complementary. When ...
3
votes
Accepted
What does it mean the MCU has 1 ADC and 10 ADC channels?
It means that there is a single ADC responsible for performing the conversion, but the microcontroller also has a multiplexer, able to route any one of ten individual analogue signals to that single ...
2
votes
Accepted
PIC24 memory model problem error
The error is:
undefined reference to `___delay_ms'
You should either include the library or source code which implements ___delay_ms.
The 'memory model' related ...
1
vote
What does it mean the MCU has 1 ADC and 10 ADC channels?
Check out the overview of the ADC in section 29.2 (page 412), referencing how the ADC is hooked up to a 10-channel mux, providing up to 12 voltage inputs:
29.2 Overview
The Analog-to-Digital ...
1
vote
What does it mean the MCU has 1 ADC and 10 ADC channels?
The ATTiny204 has one 10 bit ADC fed by a 10 input multiplexer.
The output of the ADC will be between 0 and 1023.
It can measure up to 10 different analog inputs, but only one input at a time. (You ...
1
vote
Switching ON/OFF an ADC line
Well, there's a couple possibilities:
Don't care. If the input currents are small enough, there's no wear on the ESD clamp diodes*, and VCC lifts imperceptibly against the normal loads on it (MCU ...
1
vote
What are the VDDSD, VLXSD, and VFBSD pins?
In the datasheet, it shows what all these pins do:
Source: https://www.st.com/resource/en/datasheet/stm32wb09ke.pdf
1
vote
Is this EEPROM write procedure on STC microcontrollers correct? Any alternative?
Please, correct me if I'm wrong in something, but, isn't wiping an entire sector, each time I need to write a single byte, reduces drastically the lifespan of the EEPROM itself?
The datasheet you've ...
1
vote
Maximum LEDs on a pin of an AVR Microcontroller
You are correct in that the microcontroller's pin I/O current spec limits how many LEDs you can drive. In general, you should not exceed the datasheet limits given for I(oh) and I(ol) for a single pin,...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
microcontroller × 9660stm32 × 936
pic × 878
arduino × 755
c × 630
embedded × 519
adc × 449
avr × 419
microchip × 373
voltage × 312
arm × 293
mosfet × 288
led × 286
programming × 276
power-supply × 270
pwm × 268
uart × 265
sensor × 260
i2c × 259
spi × 252
usb × 241
atmega × 238
digital-logic × 217
transistors × 215
interrupts × 208