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 »

Posts by Carl‭

20 posts
75%
+4 −0
Q&A Communication with microcontroller via usart - using strings a good idea?

I have a PCB with an onboard microcontroller that I use to turn on and off a bunch of switches/relays. To control which relay should be on I use my computer to communicate via USART to the microcon...

4 answers  ·  posted 1mo ago by Carl‭  ·  last activity 1mo ago by Pete W‭

Question microcontroller C protocol UART-USART
71%
+3 −0
Q&A Cutoff frequency of lowpass filter for AVcc

The ATmega16U2 datasheet suggests putting an external lowpass filter from Vcc (the digital supply) to AVcc (the analog supply). However, the datasheet doesn't specify what type of lowpass filter...

3 answers  ·  posted 7mo ago by Carl‭  ·  last activity 7mo ago by Lundin‭

Question microcontroller low-pass-filter
71%
+3 −0
Q&A Noticeable dip in amplitude response at 50 Hz when shielding circuit with driven right leg network.

I have built an ECG amplifier that uses an instrumentation amplifier and a driven right leg circuit to attenuate 50 Hz common mode voltage stemming from the body. A portion of the circuit is seen b...

0 answers  ·  posted 1y ago by Carl‭  ·  edited 1y ago by Carl‭

Question noise common-mode DRL
71%
+3 −0
Q&A What is a good PCB-layout?

I am an electrical engineering student and I just finished designing an ECG-amplifier circuit. Here is the schematic: - It is fairly simple. Initially, there is a 1st order highpass filter. Then...

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

Question PCB pcb-layout ECG
71%
+3 −0
Q&A Testing instrumentation amplifier with differential signal

I am using the AD620 as instrumentation amplifier to amplify the body's ECG signal. An ECG is a differential signal (measured with two electrodes) and I want a differential gain of Gd=1000 . The ...

3 answers  ·  posted 3y ago by Carl‭  ·  last activity 3y ago by TonyStewart‭

Question differential-amplifier instrumentation-amplifier function-generator
71%
+3 −0
Q&A Case temperature of MOSFET

Homework problem A MOSFET has a power dissipation of $P_{d} = 10\text{W}$. The MOSFET is mounted on a heatsink. There is an isolation pad between the MOSFET case and the heatsink. We are given t...

1 answer  ·  posted 4y ago by Carl‭  ·  edited 3y ago by Lorenzo Donati‭

Question MOSFET thermal-design
71%
+3 −0
Q&A H(jω) does not exist for unstable systems, but we still use it when designing controllers - contradiction?

According to Signal processing and linear systems by Lathi, the transfer function $H(j\omega)$ does not exist for systems with poles in the RHP: - This makes sense to me, since $H(j\omega) = \fr...

3 answers  ·  posted 4y ago by Carl‭  ·  edited 3y ago by Lorenzo Donati‭

Question signal-processing stability control-system
70%
+5 −1
Q&A Duty cycle of buck-boost converter

I have the following problem: - Using Wikipedia I find that during CCM we have the relation: - $$\frac{V_{out}}{V_{in}} = -\frac{D}{1-D} $$Solving for $D$ and inserting values gives me $$D...

2 answers  ·  posted 4y ago by Carl‭  ·  edited 3y ago by Lorenzo Donati‭

Question duty-cycle buck-boost-converter
66%
+2 −0
Q&A What exactly is a HAL and how would I write my own?

When I program STM32 microcontrollers I use ST's toolchain which provides all the tools necessary in order to build (and flash) the application binary. The toolchain also comes with ST's own librar...

3 answers  ·  posted 28d ago by Carl‭  ·  last activity 24d ago by Olin Lathrop‭

Question microcontroller C STM32 HAL
66%
+2 −0
Q&A How do I test firmware code for my embedded system that also controls hardware peripherals?

I am soon finished writing the firmware for a relay control board that will help us automate some of the electrical tests we run at the company I work. In essence, the board more or less just turns...

3 answers  ·  posted 1mo ago by Carl‭  ·  last activity 1mo ago by Lundin‭

Question embedded-systems firmware testing
66%
+2 −0
Q&A Why do I need electrodes for ECG measurements?

When recording an ECG signal, the raw signal is taken from the body and sent into an ECG amplifier to amplify the signal to a suitable range and remove common mode and other types of noise. Measur...

1 answer  ·  posted 3y ago by Carl‭  ·  edited 3y ago by Lorenzo Donati‭

Question instrumentation-amplifier ECG measurement
66%
+2 −0
Q&A What does it mean for a signal to have impedance?

What does it mean for signals to have impedance? To me, impedance is kinda like an "extended resistance" that also includes phase shift $$Z = R + jX $$It makes sense to me that components like cap...

3 answers  ·  posted 3y ago by Carl‭  ·  last activity 3y ago by TonyStewart‭

Question signal-processing Impedance signal-and-systems
60%
+1 −0
Q&A Error handling in embedded systems

How do I handle errors in my embedded system? I have learned that it is a de facto standard for driver functions to return an error code that reveals if the function fulfilled its main purpose or i...

2 answers  ·  posted 22d ago by Carl‭  ·  last activity 20d ago by Olin Lathrop‭

Question C embedded-systems firmware error-handling
60%
+1 −0
Q&A Transceiver board for recovering pulse shape on SWD signals - avoiding bus contention on SWDIO

In the R&D section of the company I work for we use a Segger JLINK to communicate and program our devices. We use our own small "converter board" PCB to convert the JLINK 2x10 pin header connec...

2 answers  ·  posted 2mo ago by Carl‭  ·  last activity 2mo ago by Lundin‭

Question cable SWD
60%
+1 −0
Q&A Using local power and ground net to keep high frequency currents off global ground plane

I recently read the accepted answer here, by Olin Lathrop: Decoupling caps, PCB layout It talks about preventing an IC from acting as a center fed patch antenna by keeping the high frequency curre...

1 answer  ·  posted 11mo ago by Carl‭  ·  last activity 11mo ago by Olin Lathrop‭

Question EMC pcb-layout ground-plane bypass-capacitor
57%
+2 −1
Q&A How to use USB-B to power 5 V microcontroller and peripherals

I built a small breakout board of for an ATmega328p microcontroller. It included an AMS1117 5 V regulator and a CP2102 USB-UART bridge for programming and serial communication. On the board I use a...

2 answers  ·  posted 9mo ago by Carl‭  ·  last activity 9mo ago by Pete W‭

Question microcontroller USB LDO-regulator resettable-fuse
57%
+2 −1
Q&A Is using different valued bypass capacitors a cargo cult? Should I do it because that's what everybody else does?

A microcontroller can be modelled simplistically as a broad band current source/sink. For example, when the microcontroller wakes up from sleep mode and goes into an application mode where many of ...

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

Question microcontroller frequency bypass-capacitor
50%
+2 −2
Q&A Changing PCB trace width once signal-to-noise ratio is high

I'm designing a PCB to filter and amplify a differential body signal with amplitude 5 mV up to 5 V. The first part of the circuit consists of a first order highpass filter to remove any DC componen...

2 answers  ·  posted 1y ago by Carl‭  ·  last activity 1y ago by TonyStewart‭

Question PCB amplifier resistance instrumentation-amplifier signal-to-noise-ratio
50%
+1 −1
Q&A Analysis of LC circuit using intuition

This problem investigates the behavior of the voltage across the capacitor in response to a step input: - I am asked to find the voltage Vc(t) without the use of differential equations or simula...

2 answers  ·  posted 2y ago by Carl‭  ·  last activity 2y ago by Olin Lathrop‭

Question LC-network resonance circuit-analysis
40%
+2 −4
Meta How can we grow this community?

I think this site needs to get an aesthetic make-over in order to make users coming back. This may be because I'm accustomed to StackExchange's appearance but to be honest, this site is ugly and u...

posted 4y ago by Carl‭  ·  edited 4y ago by Carl‭

Answer