Strong noise floor when the mic is connected to the microcontroller

Do you have any spec for the LED stripes?
I would like to thank you again for your help.
The data sheet is attached.
If I supply the data line of the LED with 3.3V. Sometimes it happens that the first or the last LED is not controlled correctly.

How is the ground wiring of the LED stripes done?
All grounds are together connect without any resistor or capacitor.

Any common resistance between the loop supply-LED stripe-ground and the ground wiring between the LT3045, microphone board and microcontroller analogue ground?
i dont use the LT3045 because i cant use it without a good pcb desing :-(
 

Attachments

Any wire has resistance (except superconductors), self-inductance, capacitance, and mutual inductance and capacitance to wires nearby. Not a lot, but maybe the wires' own resistance is enough to cause crosstalk from the LED stripes to the microphone.
 

Attachments

  • elec cap lelon 50v 1000nF.png
    elec cap lelon 50v 1000nF.png
    7.8 KB · Views: 65
  • ceramic cap cheap 50v 100nF.png
    ceramic cap cheap 50v 100nF.png
    7.7 KB · Views: 73
  • elec cap cheap 50v 100nF.png
    elec cap cheap 50v 100nF.png
    7.7 KB · Views: 69
  • without cap.png
    without cap.png
    8.8 KB · Views: 70
Here is a picture to show the SPI_0 direct comes out from the microcontroller.
Blue is without a cap.
yellow is with a ceramic cap and the GPIO port current is limited.
i played with different sizes.


what do you say?
 

Attachments

  • SSI_0_direct_from_mikrocontroller_4mA_470pF.png
    SSI_0_direct_from_mikrocontroller_4mA_470pF.png
    11.6 KB · Views: 64
  • SSI_0_direct_from_mikrocontroller_2mA_220pF.png
    SSI_0_direct_from_mikrocontroller_2mA_220pF.png
    11.2 KB · Views: 77
  • SSI_0_direct_from_mikrocontroller_8mA_1nF.png
    SSI_0_direct_from_mikrocontroller_8mA_1nF.png
    12.2 KB · Views: 76
IMG_20230419_173731.jpg


Assuming the crosstalk comes from the LED strip's ground current, this would be one way to lay the wiring out. Star connection at the supply to minimize the mutual impedance, twisting to avoid magnetic coupling as much as possible, capacitor reduces efficacy of the star connection, but provides a return path for the data signal close to the data wire. Value of the capacitor to be determined experimentally, you could try 0, 1 nF and 100 nF to get an idea what works best.
 
So is this the situation?
  • MCU+mic without data lines -> no noise
  • MCU+mic with data lines running but not connected to leds -> no noise
  • MCU+mic with data lines controlling leds -> noise
I have just noticed that. Meanwell power supply is connected to the strips and to the microcontroller. The microphone is connected to the lab power supply and the microphone is connected to my usb sound card. this is enough to turn on the meanwell power supply and send led data. only when sending, there is again a strong noise on the mic. what is happening? i don't understand it.

twisting to avoid magnetic coupling
could be difficult. see my picture. please dont fire me...


Value of the capacitor to be determined experimentally, you could try 0, 1 nF and 100 nF to get an idea what works best.
i did it. see my pdf.
 

Attachments