Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumWiring HardwareTangible computing › What Value is Binary On

Page Index Toggle Pages: 1
What Value is Binary On (Read 3357 times)
05/16/08 at 07:12:43

simonb   Offline
YaBB Newbies
I Love YaBB 2!

Posts: 2
*
 
Hi

I'm thinking of driving the Wiring binary i/o pins from relays (the relays themselves are triggered via light sensors) Could anyone tell me what kind of input (e.g. volts and amps) I need to present on the binary i/o pin for it to be considered on or off?

Forgive me if this is documented. I searched but could not find it.

Thanks

Simon
 
IP Logged
 
Reply #1 - 05/16/08 at 13:41:00

Alan_Kilian   Offline
Full Member
Wiring? It looks like
Java to me.

Posts: 118
***
 
A voltage of more than 3.5 Volts is guaranteed to return HIGH from digitalRead(pin)
A voltage of less   than 1.0 Volts is guaranteed return  LOW from digitalRead(pin)

Refs: http://www.wiring.org.co/learning/examples/switch.html
        http://www.atmel.com/atmel/acrobat/doc2467.pdf  PP 318,319
 
IP Logged
 
Reply #2 - 05/19/08 at 09:49:58

simonb   Offline
YaBB Newbies
I Love YaBB 2!

Posts: 2
*
 
Many thanks

Simon
 
IP Logged
 
Page Index Toggle Pages: 1