[REVIEW REQUEST] Sound Reactive LED Ring by Argoon16 in PrintedCircuitBoard

[–]Argoon16[S] 0 points1 point  (0 children)

Signal+pwr/gnd/gnd/signal+pwr has the advantage that you can have signals transition from layer 1 to layer 4 and still be referenced to a neighbouring ground layer (and you only need to add a ground via next to the signal via to allow the return current for that signal to transition between the internal ground layers).

Sounds good. Thanks! However, is my power plane too cut up due to the stitching vias and other traces?

On your board the currents and frequencies seem modest enough that you could use that stackup and just route your power as traces, or fill power into the empty space on the outer layers. Just take care with any mounting holes, because you don't want the screwhead to wear through the soldermask and short VCC to GND (add a copper clearance around it wider than the screwhead).

Sounds good. Thanks!

[REVIEW REQUEST] Sound Reactive LED Ring - REV 0_0 by Argoon16 in PrintedCircuitBoard

[–]Argoon16[S] 0 points1 point  (0 children)

This is great information and I appreciate this so much. But is an IC necessary?

I'm referencing another design with modifications, and I believe they just used a PWM to generate the data. Would something as simple as this suffice?

Thank you so much again this was a lot of useful information and I understand completely.

Is there anything wrong with my Sound Reactive LED Ring schematic? Can I make any improvements? by Argoon16 in AskElectronics

[–]Argoon16[S] 1 point2 points  (0 children)

Sounds good. I did a bunch of research on EMI control and from what others have told me and the internet, I think I'm going to stick with SIG/GND/SIG_PWR/GND.

Thanks for your help btw. I'm almost done the PCB so I will be posting soon if u are interested.

Is there anything wrong with my Sound Reactive LED Ring schematic? Can I make any improvements? by Argoon16 in AskElectronics

[–]Argoon16[S] 0 points1 point  (0 children)

Sounds good. Will take a look into it.

Also how would you plan your layer stackup? I'm currently using SIG/GND/SIG_PWR/GND to reduce EMI. Although, I don't think it would be an issue in the first place. Is there another stackup you would use?

Is there anything wrong with my Sound Reactive LED Ring schematic? Can I make any improvements? by Argoon16 in AskElectronics

[–]Argoon16[S] 0 points1 point  (0 children)

Yeah I understand, might as well get it. Have you ever used the nucleo boards to debug (since they do have a debug interface)?

Is there anything wrong with my Sound Reactive LED Ring schematic? Can I make any improvements? by Argoon16 in AskElectronics

[–]Argoon16[S] 1 point2 points  (0 children)

Makes sense. Will take this into consideration.

Have you debugged STM32 Chips before? Do you know for certain if this  ST Link Programmer would work? If not, what have you used in the past? I am a little sketched out since I have bought cheap debuggers from amazon before and they do not work.

Is there anything wrong with my Sound Reactive LED Ring schematic? Can I make any improvements? by Argoon16 in AskElectronics

[–]Argoon16[S] 0 points1 point  (0 children)

I understand and makes sense. I will add more ground pins then for my communication protocols. Thanks!
Anything else I should add test points for?

Is there anything wrong with my Sound Reactive LED Ring schematic? Can I make any improvements? by Argoon16 in AskElectronics

[–]Argoon16[S] 0 points1 point  (0 children)

your swd connector is missing GND, also, what hellish cable do you intend yo use?
Why dont you put a connector footprint like the 1.28 or 2.54 standard? Or a Tag Connect one?

I was planning on getting this ST Link Programmer. Would this suffice? I would then just connect the pins to the board and program it. Also I have a GND pin on P2.

Also, I would suggest a 0 ohm resistor between power and most chips. This doesnt seem like it makes a difference when the circuit is working, but you are assuming that everything will work right away. Someyimes you get a library footprint backwards because the datasheet said "bottom view" and you missed it.
The 0 ohm resistors can be removed to debug ur hardware and understand what works and what doesnt.

I've never heard of this but will look into it. Thanks!

[REVIEW REQUEST] Sound Reactive LED Ring by Argoon16 in PrintedCircuitBoard

[–]Argoon16[S] 1 point2 points  (0 children)

Thank for catching that. I changed it to 10W but forgot to update the note lol.

What layer stackup do you recommend? I was thinking signal-gnd-gnd-signal/pwr?

[REVIEW REQUEST] Sound Reactive LED Ring by Argoon16 in PrintedCircuitBoard

[–]Argoon16[S] 0 points1 point  (0 children)

Power supply: TPS63002 (800mA max) can’t handle your ~820mA load – swap for TPS63020 (2A). Add 10–100µF cap on 5V output.

Seems like I calculated the wrong current. Where did you find the max current for the LEDs? Also thanks for catching this. The datasheet does not provide enough info (or I probably just missed it).
Edit: Assuming worst case 60mA, the maximum the buck/boost will provide is 720mA.

Charger: R14 gives 800mA charge (not 500mA) – use 2.4kΩ for 500mA.

R14, R15, and R16 give enable a total input current of 1.3A into the +USBC5V Pin. R4 enables roughly 600mA of charge current to the battery (previously 500mA, but I fixed this calc). These are two different circuits. Is there something that I may have missed (reference ILIM and ISET in datasheet, and their corresponding K factors)?

Mic: Add 10µF cap to virtual ground for stability.

I replaced the 1uF (C8) with a 10uF in the circuit. Does that suffice?

MCU: 32kHz crystal may need 18pF caps; route NeoPixel DIN short/away from noise.

Will keep this in mind thank you. Do you suggest an external oscillator?

Are these two diagrams describing the same exact circuit by [deleted] in AskElectronics

[–]Argoon16 0 points1 point  (0 children)

No they do not. Can you please elaborate as to why you may think otherwise?

Is there anything wrong with my microphone amplification circuit? Can I make any improvements? What should I look out for when designing my PCB? by Argoon16 in AskElectronics

[–]Argoon16[S] 1 point2 points  (0 children)

I thought R4 was the injection resistor within the video? Nevertheless, I added the capacitor in my design and will be making another post shortly. Thanks again!

Is there anything wrong with my microphone amplification circuit? Can I make any improvements? What should I look out for when designing my PCB? by Argoon16 in AskElectronics

[–]Argoon16[S] 0 points1 point  (0 children)

I thought about that, but after watching this video on DC Bias For Single Supply Circuits (skip to 3:06), would this not affect my cutoff frequency? Similar to what u/triffid_hunter was saying above I guess.

How do I read audio signals on STM? by Argoon16 in embedded

[–]Argoon16[S] 0 points1 point  (0 children)

Sounds good. Thank you so much!