• Welcome to Dark Bit Factory & Gravity.
 

Awesome site for procedural art.

Started by Pixel_Outlaw, July 11, 2009

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rbz

It is exactly what I had in mind, it's better if you use the analog inputs, because the IR foto-transistor works linearly according to the amount of infrared light at it's base, ie the voltage at its output will increase or decrease linearly.

For simple applications the digital input can be used, but for more precise applications you must use the analog port and check its values through the software or make a better interface for digital input.
Challenge Trophies Won:

Moroboshisan

Quote from: rbz on July 16, 2009
For simple applications the digital input can be used

The sensor just needs to tell if the beam have been broken (basically I need it to check the position "0" on startup/reboot so, when the power goes, for whatever reason, away and the system reboots I need to reset the system reastarting from a known place... when the condition is satisfied the real main loop begins waiting from user interaction).

Once It's working I'm planning to pull the Atmega328 out of the arduino board leaving it alone with just the needed components.

Moroboshisan

Quote from: Pixel_Outlaw on July 11, 2009
Looks like the Processing language is taking off for artists
http://processing.org/exhibition/

sorry to bring an old topic back... just stuck on Gargaj Processing examples page... very oLsch00l, couldn't resist! ;-)

have a look here: http://gargaj.umlaut.hu/processing/