Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 20th March 2008, 02:01 AM   (permalink)
Default Help with a project

I need a little help with a project I'm working on. I know what it's supposed to do in my head, but I'm not entirely sure how to implement it.

Suppose you have a button and a lamp - every time the button is pressed, the lamp turns on. However, you want to limit the amount of times someone can turn on the lamp, so you connect a chip between the lamp and the button.

The chip stores a number, say 500, and every time the button is pressed the number goes down by one. And when it gets to zero, the lamp can't be turned on anymore.

At that point you have to take out the chip, and put it into a second device which can change the number from 0 to whatever you specify, thus allowing you to continue operating the lamp.

Any suggestions on what I should look into to make this possible?
HudzonHawk is offline  
Old 20th March 2008, 02:47 AM   (permalink)
Default

I fail to see a point in this application?
__________________
There is no "I" in "team", unless Apple makes it... Then it would be iTeam.
Marks256 is offline  
Old 20th March 2008, 02:57 AM   (permalink)
Default

Sure, get a little 8-pin Microchip microprocessor, like the 12F675, and program it to do just that. Program the number of times you want to turn your device on//off into the PIC's EEPROM. Everytime someone presses the button, the PIC turns the device on and subtracts one from that value. Press the button again to shut things off, without changing the number. When the value reaches zero, it could nothing or flash an LED or sound a warning buzzer to tell the user that all the uses are done. Now you must plug in a serial cable to a PC to reprogram a new value into the EEPROM again. Or enter a 4-digit PIN on a builtin keypad to reinstate the count again. Or use a KEYLOCK device to do this. Whatever does the job for you. This is the easiest way to go, parts-wise. But you need programming experience and a programmer.

At minimum, you could use an IC like the 14526 count-down timer. One of these will let you preset it to 15 uses. Press a button, subtract one. Cascade two and you can program them for up to 255 uses. Put a small connector on the board that allows you to reprogram it//them in the future. You'll have to add circuitry to shut off the device without affecting the count. This is all hardware, but can be trickier to implement in just logic and timing ICs.

Now determine how much power you are switching, and determine if isolation is necessary, then design in the appropriate on-off circuit.

And you're done!
kenjj
__________________
All my pencils *used* to have erasers!
kjennejohn is offline  
Old 20th March 2008, 03:11 AM   (permalink)
Default Simple countdown

Darn I was going to tell him to start with this:

http://web.cecs.pdx.edu/~harry/Relay/

and work his way up ?
killivolt is offline  
Old 20th March 2008, 02:58 PM   (permalink)
Default

Thanks a lot for the reply, Kjenn.

I have a clear idea of what I need to do now
HudzonHawk is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Uni Project Advice 2-tone Electronic Projects Design/Ideas/Reviews 7 18th October 2007 01:11 AM
My professor screwed my final electronics project! kungfusansu Electronic Projects Design/Ideas/Reviews 21 26th August 2007 10:57 PM
FINAL YEAR PROJECT! erique82 Electronic Projects Design/Ideas/Reviews 18 15th April 2007 11:09 AM
A Microcontroller based Analogue Waveforms Analyzer Project km Electronic Projects Design/Ideas/Reviews 76 30th June 2004 07:40 PM
I need a project idea based on my strength or interest. :) janetsmith2000@yahoo.com Electronic Projects Design/Ideas/Reviews 10 11th November 2003 10:33 AM



All times are GMT. The time now is 12:07 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker