Skip to main content
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. ...
JRE's user avatar
  • 72.5k
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 ...
Dave Tweed's user avatar
  • 175k
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. ...
Saadat's user avatar
  • 1,851
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 ...
Spehro Pefhany's user avatar
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 (...
Tim Williams's user avatar
  • 39.6k
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 ...
the busybee's user avatar
  • 3,379
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. ...
Justme's user avatar
  • 159k
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 ...
Marcus Müller's user avatar
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 ...
kruemi's user avatar
  • 3,539
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 ...
Simon Fitch's user avatar
  • 38.9k
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 ...
Velvet's user avatar
  • 4,501
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 ...
user1692597's user avatar
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 ...
Peter Bennett's user avatar
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 ...
Tim Williams's user avatar
  • 39.6k
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
Voltage Spike's user avatar
  • 84.8k
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 ...
Velvet's user avatar
  • 4,501
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,...
hacktastical's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible