Home › Magazines › 2008 › July/August › Intelligent Presence Simulator

Intelligent Presence Simulator

Published in issue 379, July/August 2008

Intelligent Presence Simulator
The circuit is very simple, as we have employed a microcontroller – a ‘little’ 12C508 from Microchip, which is more than adequate for such an application. It is mains powered and uses rudimentary voltage regulation by a zener diode. A relay is used to control the light(s); though this is less elegant than a triac solution, it does avoid any interference from the mains reaching the microcontroller, for example, during thunderstorms. We mustn’t forget this project needs to work very reliably during our absence, whatever happens.
Resistors
R1 = 1kOhm 500mW
R2 = 4kOhm7
R3 = 560Ohm
R4,R6 = 10kOhm
R5 = 7kOhm5
R 7 = LDR
R8 = 470kOhm to 1 MOhm
P1 = 470 kOhm potentiometer
Capacitors
C1 = 470µF 25V
C2 = 10µF 25V
C3 = 1nF5
C4 = 10nF
Semiconductors
D1,D2 = 1N4004
D3 = diode zener 4V7 400 mW
LED1 = LED, red
D4 = 1N4148
T1 = BC547
IC1 = PIC12C508, programmed, see Downloads
Miscellaneous
RE1 = relay, 10A contact
S1 = 1-pole 3-way rotary switch
F1 = fuse 100 mA
TR1 = Mains transformer 2x9 V, 1.2 -3 VA
4 PCB terminal blocks, 5 mm lead pitch
5 solder pins
PCB, ref. 080231-I from www.thepcbshop.com

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

 

Downloads 

Article PDF
10 Elektor Credits
PCB PDF
Free download
 

Order from Elektor 

Programmed controller PIC12C508
080231-41 (USD 9.60)
PCB, bare
080231-1
 

Free downloads 

Software

Free download

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

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

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.

Elektor PCBs at 25% OFF