Home › Magazines › 2003 › May › Programmable Switching Clock with Sensor Inputs

Programmable Switching Clock with Sensor Inputs

Another winning project from our Flash Micro Competition

Published in issue 321, May 2003

Using a handful of external components our AT89S8252 Flash Micro board can be turned into a switching clock with sensor inputs and four switched outputs. The author demonstrates the programming of various inputs and outputs, aiming to control, for example, a small irrigation system.The peripheral circuitry to add to theFlash Micro board consists of a (telephone) keypad connected as a matrix across port lines P1.0 through P1.6, a real-time clock type DS1302 (from Dallas Semiconductor) whose 3-wire bus is hooked up to port lines P2.0, P2.1 and P2.2, and, finally, a standard LC display with 2 rows of 16 characters. Thanks to the abundance of port lines on the 89S8252 controller, the LCD can be operated in 8-bit mode when connected to P0.0 through P0.7.

Free downloads

020408-11.zip

Free download

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (e035050.pdf)
10 Elektor Credits
 

Free downloads 

020408-11.zip

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Free Newsletter!

News, tips, offers, videos and more. Take out a free membership to Elektor.POST. In your email inbox each Friday!

 

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.