Go to advanced search

by ovarland
Thu Feb 16, 2017 8:13 pm
Forum: Beginners
Topic: Wiring buttons and LED - trigger script
Replies: 8
Views: 1634

Re: Wiring buttons and LED - trigger script

Ha! Works like a charm now!! It was as simple as that, 3V3 and GND.... :D

Thanks for the help!

Now I just need to 3d print a case for my little backup box. :)
by ovarland
Thu Feb 16, 2017 12:44 pm
Forum: Beginners
Topic: Wiring buttons and LED - trigger script
Replies: 8
Views: 1634

Re: Wiring buttons and LED - trigger script

texy wrote:Aaah - sorry I didn't spot that. You are correct, should be connected to pin 6. Looks like when he drew it up, he shift both those wires by 1 place :roll:

Texy
Ah! Awesome! Hehe, yes. Not good when making a tutorial! :D

Thanks again!
by ovarland
Thu Feb 16, 2017 12:43 pm
Forum: Beginners
Topic: Wiring buttons and LED - trigger script
Replies: 8
Views: 1634

Re: Wiring buttons and LED - trigger script

If I look closely on this picture, it looks like he has wired it to 3V3 pin and GND? Bit hard to tell tho...

Image
by ovarland
Thu Feb 16, 2017 12:34 pm
Forum: Beginners
Topic: Wiring buttons and LED - trigger script
Replies: 8
Views: 1634

Re: Wiring buttons and LED - trigger script

Alternatively you could use pin 3 to drive the pull-up resistors - if I am seeing it right, the circuit is using 2 x 10K resistors, so it should be OK to do that. Add an additional line in the code. After this line : GPIO.setup(25, GPIO.OUT) add this new line : GPIO.setup(2, GPIO.OUT) Texy Ah, okay...
by ovarland
Thu Feb 16, 2017 10:57 am
Forum: Beginners
Topic: Wiring buttons and LED - trigger script
Replies: 8
Views: 1634

Re: Wiring buttons and LED - trigger script

texy wrote:Hi and welcome to the forum.
Looks like that wiring going to pin 3 (SDA) should be going to pin 1 (3V3).....

Texy
Could it be that easy?! Will try as soon as I get home from work!! Cheers!
by ovarland
Thu Feb 16, 2017 10:25 am
Forum: Beginners
Topic: Wiring buttons and LED - trigger script
Replies: 8
Views: 1634

Wiring buttons and LED - trigger script

Hi! I am attempting to make a Raspberry pi 3 into to a Tiny Backup box that will backup my sd-cards from my camera automatically. I have been following this tutorial: http://www.linux-magazine.com/Issues/2013/153/Workspace-Pi-Based-Backup and have gotten all the scripts to work. But I can't get the ...

Go to advanced search