Can anyone help me with an arduino/circuit?

oh hell yeah its blinking now!! I must have missed something this is sick! I need to hook up my voltage regulator and slowly drop the voltage just to make sure.

bart796:
oh hell yeah its blinking now!! I must have missed something this is sick! I need to hook up my voltage regulator and slowly drop the voltage just to make sure.

Let me know when it's all tested out and working ! :mrgreen:

Well its all working on the breadboard im attempting to work out how to get a pcb printed for each of my planes/my dads planes so we can just order a bunch of components and put them on a small pcb and bam…didnt think it would be this difficult lol ill figure it out eventually i think…or i hope rather!

One point … the datasheet for the LM339 recommends all unused input pins be tied to ground so their associated comparator doesn’t oscillate and cause excess noise and power consumption. You may (or may not) need to put a bypass cap (0.1 uF) across the LM339 V+ and GND pins (as close as possible to the IC)

Application Hints
The LM139 series are high gain, wide bandwidth devices which, like most comparators, can easily oscillate if the
output lead is inadvertently allowed to capacitively couple to the inputs via stray capacitance. This shows up only
during the output voltage transition intervals as the comparator changes states. Power supply bypassing is not
required to solve this problem. Standard PC board layout is helpful as it reduces stray input-output coupling.
Reducing this input resistors to < 10 kΩ reduces the feedback signal levels and finally, adding even a small
amount (1 to 10 mV) of positive feedback (hysteresis) causes such a rapid transition that oscillations due to stray
feedback are not possible. Simply socketing the IC and attaching resistors to the pins will cause input-output
oscillations during the small transition intervals unless hysteresis is used. If the input signal is a pulse waveform,
with relatively fast rise and fall times, hysteresis is not required.
All pins of any unused comparators should be tied to the negative supply.
The bias network of the LM139 series establishes a drain current which is independent of the magnitude of the
power supply voltage over the range of from 2 VDC to 30 VDC.
It is usually unnecessary to use a bypass capacitor across the power supply line.
The differential input voltage may be larger than V+ without damaging the device. Protection should be provided
to prevent the input voltages from going negative more than −0.3 VDC (at 25°C). An input clamp diode can be
used as shown in the applications section.
The output of the LM139 series is the uncommitted collector of a grounded-emitter NPN output transistor. Many
collectors can be tied together to provide an output OR’ing function. An output pull-up resistor can be connected
to any available power supply voltage within the permitted supply voltage range and there is no restriction on this
voltage due to the magnitude of the voltage which is applied to the V+ terminal of the LM139A package. The
output can also be used as a simple SPST switch to ground (when a pull-up resistor is not used). The amount of
current which the output device can sink is limited by the drive available (which is independent of V+) and the β
of this device. When the maximum current limit is reached (approximately 16 mA), the output transistor will come
out of saturation and the output voltage will rise very rapidly. The output saturation voltage is limited by the
approximately 60Ω RSAT of the output transistor. The low offset voltage of the output transistor (1 mV) allows the
output to clamp essentially to ground level for small load currents.

bart796:
[attachment=0]received_m_mid_1409674842790_b666600d123a94bb46_0.jpeg[/attachment]

Your wiring to the MOSFET looks wrong if the labels are correct. Also we still don't know how much current your string(s) of LEDs draw. It might be many amps. You need copper traces wide enough to handle the current. And I wouldn't run the + LED from the board. Use whatever connection you have now. The few high current connections on the board, the better off you'll be. Try to route high currents far away from input lines, see the app note above.

Mosfet is labeled wrong sorry forgot to mention that my dad messed up when labeling

Other then the led power not being directly on the board and wide traces and the mosfet being labeled wrong does that pcb look correct? Im not too worried about the current.because I have several planes and that one is way way way over the top compared to the others. If it is too much for it ill design one board for that large plane ha

bart796:
Other then the led power not being directly on the board and wide traces and the mosfet being labeled wrong does that pcb look correct?

Honestly ... my eyes are glazing over trying to look at it. Perhaps when my brain is firing on more cylinders ...

What I do recommend that you do is post the circuit schematic and the revised PCB layout on the PCB sub-forum here. People there can give you a better appraisal than I could.

https://forum.sparkfun.com/viewforum.php?f=20

Ah no problem will do that when I get home! I really appreciate your help! Restored my faith in the internet…Lol assumed everyone was an A-hole

bart796:
Mosfet is labeled wrong sorry forgot to mention that my dad messed up when labeling

Sure, sure blame it all on dear ole Dad. :mrgreen:

But do revise your PCB and post it, and the schematic, in the PCB forum. You’ll get better help there than I can give.