Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

General Q&A about the design and function of electronic systems, electric power systems and infrastructure, their theory, and tools specific to those fields. Read these guidelines before posting.

Filters (None)
66%
+2 −0
Switch-off time of relay with flyback diode

When switching a relay there should be a flyback diode. It could be just a diode or diode with resistor in series. I understand there is a difference in the speed of relay switch-off. But what is t...

1 answer  ·  posted 4y ago by Chupacabras‭  ·  last activity 4y ago by Olin Lathrop‭

66%
+2 −0
How to avoid shoot-through in MOSFET bridge drivers

I'm using a variable duty cycle square-wave oscillator to drive a half-bridge MOSFET pair like this. Upper MOSFET is P-channel type, lower MOSFET is N-channel type: - And, I think I'm getting shoo...

1 answer  ·  posted 4y ago by Andy aka‭  ·  last activity 4y ago by Andy aka‭

71%
+3 −0
When to use RTOS?

When should I consider using RTOS in my application? Every microcontroller has a good number of interrupts then what is the need of it?

1 answer  ·  posted 4y ago by aditya98‭  ·  last activity 4y ago by Olin Lathrop‭

88%
+13 −0
What is a bootloader, and how would I develop one?

I've heard that a bootloader is code that runs on a microcontroller, and is used to get your application code onto the micro. How does that work? Is there anything special that needs to be done to...

1 answer  ·  posted 4y ago by Olin Lathrop‭  ·  edited 4y ago by Olin Lathrop‭

75%
+4 −0
Electrolytic capacitor lifetime rating

If you search through the electrolytic capacitor offerings from distributors like Farnell, RS, Digikey or Mouser, you find that the maximum life-time rating is commonly quoted as 5,000 or 10,000 ho...

1 answer  ·  posted 4y ago by Andy aka‭  ·  last activity 9mo ago by Lorenzo Donati‭

81%
+7 −0
How to access a hardware register from firmware?

When writing firmware in C for a microcontroller, how can I directly access a memory location such as a hardware peripheral register, given its absolute address? Is there a way to do this safely an...

1 answer  ·  posted 4y ago by Lundin‭  ·  edited 4y ago by Lundin‭

66%
+2 −0
Low loss impedance matching without a transformer

I have a signal at 10 MHz produced from a 50 Ω source. How can I match that to a 300 Ω load with low losses without using an RF transformer (space constraints)? Are there any circuits and formulas ...

2 answers  ·  posted 4y ago by Andy aka‭  ·  last activity 4y ago by Andy aka‭

75%
+4 −0
Chokes, Beads and Inductors in Pi-filters

I have seen pi-filters using chokes, ferrite-beads, and plain inductors as the L-element What are the main differences between them? when use one or other?

1 answer  ·  posted 4y ago by zeke‭  ·  edited 9mo ago by Lorenzo Donati‭

60%
+1 −0
Pi-Filter for EMC

What would be the main considerations to use Pi-filters for EMC?

2 answers  ·  posted 4y ago by zeke‭  ·  last activity 3y ago by Lundin‭

77%
+5 −0
What are the most common causes of CAN bus communication errors?

I can't get my CAN bus application (ISO 11898-2, classic "high speed CAN") working and I'm receiving various CAN error frames. These error frames manifest themselves as sequences of 6 bits with my ...

1 answer  ·  posted 4y ago by Lundin‭  ·  last activity 4y ago by Lundin‭

71%
+3 −0
Tools required to burn code in a quad flat microcontroller

I always have a doubt that how do firmware engineers dump code into a quad flat microcontroller? For a starter kit there is already connection like USB or some SPI ,I2C headers to burn the code,als...

1 answer  ·  posted 4y ago by aditya98‭  ·  last activity 4y ago by Olin Lathrop‭

66%
+2 −0
How do I design a boost converter? What are the basics I should know?

I need to design a simple boost converter like this: - I want to control duty cycle from another circuit such as an MCU but, I'm unsure how to proceed. My requirements are: - Input voltage 12 vol...

1 answer  ·  posted 4y ago by Andy aka‭  ·  last activity 3y ago by Andy aka‭

71%
+3 −0
Moving average that uses less memory?

My control system gets a signal representing the plant output, but that signal has a lot of noise on it. The control system goes nuts trying to react to the noise. I need to filter out the noise ...

4 answers  ·  posted 4y ago by Olin Lathrop‭  ·  last activity 3y ago by Pete W‭

66%
+2 −0
Relationship between bode plot and pole zero diagram

What is the relationship between the pole zero diagram and bode plot? Case example: a 2nd order RLC low pass filter: - $$\dfrac{V_{OUT}}{V_{IN}} = \dfrac{\frac{1}{j\omega C}}{R+j\omega L +\frac{1}...

1 answer  ·  posted 4y ago by Andy aka‭  ·  edited 4y ago by ArtOfCode‭

66%
+2 −0
What to check for when buying an electronic component or module?

How can I acquire electronic parts/items/modules and ensure that there is minimal risk of them being unsuitable for my project or design?

2 answers  ·  posted 4y ago by Andy aka‭  ·  last activity 4y ago by manassehkatz‭

75%
+4 −0
Driving LED with NPN transistor from I/O pin

I'm trying to understand a circuit for driving a LED found on a board I purchased. Below is the circuit driven by an I/O pin (HS2) of a small 3.3V processor. The HS2 pin is driven by the I/O wi...

4 answers  ·  posted 4y ago by eric‭  ·  last activity 7mo ago by TonyStewart‭

85%
+10 −0
How to calculate pullup resistor value for pushbutton?

What value pullup resistor should I use for a pushbutton connected to a microcontroller input? I've seen values from 1 kΩ to over 100 kΩ. Some references just say to use 10 kΩ because it's a "goo...

2 answers  ·  posted 4y ago by Olin Lathrop‭  ·  last activity 3y ago by Circuit fantasist‭

75%
+4 −0
Driving relay, transistor keeps failing

I'm trying to drive a relay according to a 5 V digital signal, using this circuit: It works for a while, but then the transistor fails. When I replace the transistor, it works for a while again, ...

1 answer  ·  posted 4y ago by Olin Lathrop‭  ·  last activity 4y ago by Olin Lathrop‭

75%
+4 −0
Replacement power supply voltage and current ratings?

If the external power supply to a device fails, and I can't get the exact model, what do I need to specify to get the right replacement? I can re-use the old supply's connector, but what about the...

1 answer  ·  posted 4y ago by Olin Lathrop‭  ·  last activity 4y ago by Olin Lathrop‭