Flush – Another Arduino Project

images-1Here is a project put together mostly by Primo (11-1/2 years old) inspired by the fact that his little brother didn’t always flush.

About 80% of the coding was done by Primo himself; I only provided some guidance on how to use a switch statement as a state machine (which was easier than trying to explain how to use indexed state tables).

In this case I also had Primo do the Fritzing and put the circuit together himself, which involved a few lessons on short circuits, but he got it working.

Here is the video, breadboard, schematic, PCB, and source code for your enjoyment.

Breadboard:

NOTE: The actual sensor is a PING))) by Parallax; we just couldn’t find the correct picture and have not figured out how to create one yet.

 

flusher_bb

 

Schematic:

flusher_schem

PCB:

flusher_pcb

Source Code: Flush

Bookmark the permalink.

Leave a Reply

Your email address will not be published.


Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/88/11441588/html/wp-content/plugins/sweetcaptcha-revolutionary-free-captcha-service/library/sweetcaptcha.php on line 81

Warning: fsockopen() [function.fsockopen]: unable to connect to www.sweetcaptcha.com:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/88/11441588/html/wp-content/plugins/sweetcaptcha-revolutionary-free-captcha-service/library/sweetcaptcha.php on line 81