Greg Erskine wrote: 
> hi Erik Sjödin,
> 
> WARNING: You can destroy your Raspberry Pi playing around with the GPIOs
> if you do the wrong thing!!!
> 
> Did you look at my circuit? It has resistors!! Very important. A lot of
> people advise using a transistor buffer for extra safety.
> 
> For input circuits you are supplying the 0 or 1 (0 volt or 3.3 volt)
> 
> Note: The Raspberry Pi GPIO naming conventions are confusing. Make sure
> you are connecting to the right GPIO.
> 
> regards
> Greg

Yes I know I can destroy my Pi but it is only 35$ :)

and yes i looked at your circuit but people also say adding resistors
are not always nessesary so I decided to try without according to this
guide:
http://razzpisampler.oreilly.com/ch07.html

"Each GPIO pin has software configurable pull-up and pull-down
resistors. When using a GPIO pin as an input, you can configure these
resistors so that one or either or neither of the resistors is enabled,
using the optional pull_up_down parameter to GPIO.setup. If this
parameter is omitted, then neither resistor will be enabled."

It seems like I did forgot to configure the software configurable
resistor on the GPIO.

Its strange, your circuit defines a 3.3V signal while the description I
used for my recent test only connects between GPIO 18 and ground and
they are both defined as input pins. 
I will try your circuit example this week as I assume from reading the
internet is the most reliable and safe way to do it.

Thanx once more for your time and effort.

Erik


------------------------------------------------------------------------
Erik Sjödin's Profile: http://forums.slimdevices.com/member.php?userid=64255
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to