Also what is the best transistor for a gpio pin to switch 24v
Thanks For Any Help


Theoretically no - this depends heavily on what you want to do or what you want to switch or power.
Also what is the best transistor for a gpio pin to switch 24v
Well, the circuit you posted there does not show that. It shows to signal lines labeled +6v.Every diagram I look at shows two power sources which make no sense to me.
Heater wrote: ↑Fri Sep 15, 2017 7:51 amRonicus,
Reading your post again I see:Well, the circuit you posted there does not show that. It shows to signal lines labeled +6v.Every diagram I look at shows two power sources which make no sense to me.
That means those two lines are both connected together. I.e they are both connected to the same +6v supply.
Hence there is only one ground signal in the diagram.
Sorry my mistake but if I did want to add a diode to the circuit im building can it be used in both negative and positive lines?
Two diodes are unnecessary, unless there is some very complex circuitry around. In general avoid diodes in ground connections, the voltage drops can push logic levels out of range.