Go to advanced search

by mrtarantula
Sun Dec 22, 2013 12:31 am
Forum: Beginners
Topic: Controlling a solenoid
Replies: 13
Views: 5992

Re: Controlling a solenoid

For some reason I was under the impression that the GPIO ground pin is a ground, not goes to ground. I don't know why. Anyway, this is my current setup, but it still does not fire the solenoid. Like before, I have verified the voltage from the GPIO.
diagram.jpg
diagram.jpg (22.63 KiB) Viewed 5486 times
by mrtarantula
Fri Dec 20, 2013 6:10 am
Forum: Beginners
Topic: Controlling a solenoid
Replies: 13
Views: 5992

Re: Controlling a solenoid

the typical pinout is EBC check your connections again. it looks like you grounded you base and have also other mistakes. where is the collector and emitter wired? I corrected my mistakes and made a very simple circuit. Here is the flow of electricity. The yellow is coming from the external power, ...
by mrtarantula
Fri Dec 20, 2013 1:58 am
Forum: Beginners
Topic: Controlling a solenoid
Replies: 13
Views: 5992

Re: Controlling a solenoid

I have double-checked everything, and tested the voltage to make sure the right pin was firing. My setup is exactly the same as David's. Why is it not working? The solenoid fires with direct current to the transistor's base, but the voltage from the Pi has no effect at all, other than moving my mult...
by mrtarantula
Thu Dec 19, 2013 5:46 pm
Forum: Beginners
Topic: Controlling a solenoid
Replies: 13
Views: 5992

Re: Controlling a solenoid

My setup is similar to David's, but without the flywheel diode, which should not make a difference as far as getting the voltage. When I get home from work I will try to set up as close to David's setup as possible. Here is a view of my full setup: board.jpg The line "GPIO.setmode(GPIO.BCM)&quo...
by mrtarantula
Thu Dec 19, 2013 5:10 am
Forum: Beginners
Topic: Controlling a solenoid
Replies: 13
Views: 5992

Controlling a solenoid

Disclaimer: I know next to nothing about building electronics. I am trying to control a solenoid (eventually several) but I am running into a big problem. The RPi isn't triggering it. The solenoid fires when directly connected to pin 1 (3V3) but does not fire when connected to pin 18, using the foll...

Go to advanced search