Edward,
This is the perfect time to learn how to use a circuit simulator! Software
specifically written to simulate how and electronic circuit will work -
very useful! There are even online versions that use java from within your
browser!
For free offline software check out LT Spice.
For the online one try
http://www.falstad.com/circuit/
They will show you whether your circuit will work how you expect.
I haven’t used the pi much for this sort of work but as bob said check if
the pi has internal pullup resistors on the gpio…if not the pull up
resistors need to be higher value - normally 10k R and if you use 3.3V the
current limiting resistor for the led is not needed.
Cheers
Alex
Hey Edward,
The rating on switches is normally a maximum rating, you’ll be fine at 5v.
I’d suggest running the whole thing at 3.3v however, that way you can
dispense with the second set of resistors.
You might need to add pull down resistors, not sure if the pi gpio pins
have them built in.
Ta
BobOn 4 Sep 2014 23:10, “Edward Bennigsen” pe.ads0@gmail.com wrote:
Making a pretty simple switchboard circuit connected to a Raspberry Pi so
I can have a fun control panel thing. I’m pretty new to "proper"
electronics - I can just about solder and “debug” some soldering problems,
but my circuit design skills are a bit lacking. I did Physics A-Level and
have done some logical circuit design at uni this year (in Verilog, making
decoders etc), but it’s all been a bit abstract so far.
Anyway, here’s a (not very neat) design for the switchboard, was hoping
you could give some advice/feedback - i.e. will this fry my Pi and do I
need to change anything 
https://lh3.googleusercontent.com/-j5svUBW7r48/VAjiu6hfJ_I/AAAAAAAAAZ0/SEJmfFFkZdc/s1600/science_circuit_diagram_v1.png
The basic idea is that there’s switches which light up LEDs and also input
to the GPIO so I can get the switch state in the software. I had no idea
what value to put for the pull-up resistors, but heard they were needed so
threw them in (they’re currently 100Ω http://en.wikipedia.org/wiki/Omega).
As a further complication, the switches I have are rated at 12V, but I
haven’t been able to test them at 5. Is this an issue, or I will need a 12V
supply and a transistor?
Thanks a lot,
Edward
–
You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"Hackspace Manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to hacman+unsubscribe@googlegroups.com.
To post to this group, send email to hacman@googlegroups.com.
Visit this group at http://groups.google.com/group/hacman.
For more options, visit https://groups.google.com/d/optout.