Digital Input controlling Digital output
This example was written to control a motor from a touch sensor. More generically, it turns on a digital output based on the state of a digital input.
code and fabrication resources for physical computing and networking
tigoe.net | pcomp home | blog | code, circuits, & construction | my del.icio.us links
{ Monthly Archives }
This example was written to control a motor from a touch sensor. More generically, it turns on a digital output based on the state of a digital input.
This example controls a servomotor. It moves a servomotor based on the value of an analog input. Thanks to Casey Reas for cleaning up the code. Thanks to Henryk Marstrander for the formula.
Ryan Holsopple got a basic MIDI out working using an Arduino board. Inspired, I borrowed from his example and re-wrote my MIDI player to work on an Arduino board.
The Maxbotix ultrasonic sensor looks like an interesting model, in that it’s smaller than most ultrasonics, and has a number of different interfaces: serial, PWM, and analog.
Technorati Tags: electronics, sensors