Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 1st January 2007, 02:35 AM   (permalink)
Default delay off ....... then on

I just made up a test circuit using an LM555 ic. It lights an led for approx. 6-7 seconds then goes out. What I need it to do is delay those 6-7 seconds then pulse on long enough to trow a latching circuit using a dpdt signal relay (.2 sec or so). Im trying to figure this out and I know its simple enough, just cant think of how. Anyone have any ideas?

Thanks
here is the circuit I used.
http://www.doctronics.co.uk/images/555_11.gif
captnstoed is offline  
Old 1st January 2007, 02:58 AM   (permalink)
Default

You need two 555s, one for the delay, the 2nd for the 0.2sec pulse.
__________________
see my website: www.geocities.com/russlk
Russlk is offline  
Old 1st January 2007, 03:43 AM   (permalink)
Default

fo course ... thanks, I'll give that a try. Is there another ic I could use that could do both functions?
captnstoed is offline  
Old 1st January 2007, 04:42 AM   (permalink)
Default

Quote:
Originally Posted by captnstoed
fo course ... thanks, I'll give that a try. Is there another ic I could use that could do both functions?
Hi, Use 556. it is two 555s ina single pack
__________________
Regards,
Sarma.
mvs sarma is offline  
Old 1st January 2007, 08:27 AM   (permalink)
Default

Here's a great IC to solve your problem:

12F509 ... less than buck each, and requires no external components, aside from some glue depending on what you're switching.
__________________
If you don't have a planet, what good are gold bars?

want to contact me directly? gmail gordonthree
check out my project website: http://projects.dimension-x.net
Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
justDIY is offline  
Old 1st January 2007, 11:47 AM   (permalink)
Default

Quote:
Originally Posted by captnstoed
I just made up a test circuit using an LM555 ic. It lights an led for approx. 6-7 seconds then goes out. What I need it to do is delay those 6-7 seconds then pulse on long enough to trow a latching circuit using a dpdt signal relay (.2 sec or so). Im trying to figure this out and I know its simple enough, just cant think of how. Anyone have any ideas?
You could grab the lite version of proton+ and make life damn easy with a couple of commands, im not sure if this is exactly what you want, but its easy to modify (you can use any 16F series pic really, most are cheap and great, but theres a few that out perform others)

PHP Code:

Device 
16F876A        ' Declare the device being used
Xtal = 4                 ' 
Crystal Speed

ALL_DIGITAL 
True        ' Make all outputs digital

TRISA = %00000000        ' 
Make all of porta outputs
PORTA 
= %00000000        ' Set them all low

Symbol LEDS = PORTA.0    ' 
The compiler will now change LEDS to PORTA.0 
Symbol Relay 
PORTA.1    ' and Relay to PORTA.1 whenever they are used now

Main:                         ' 
Start of program
     
     LEDS 
1            ' Turn on the LEDS
     Delayms 6000        ' 
Delay for 6 seconds
     LEDS 
0            ' Turn them off
     
     Relay = 1            ' 
Turn on the relay
     Delayms 200        
' Delay for 0.2 Second
     Relay = 0            ' 
Turn the relay off
     
     Goto Main             
Do it forever 
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 1st January 2007, 12:42 PM   (permalink)
Default

Hi Gramo,

I am sorry to hijack this post but i was curious to know what language that code is for. I am studying microcontrollers atm and learning assembly. It looks like a higher level langauge just wondered which one.

Cheers

Andy

UPDATE: doh (homer simpson voice)...... just noticed its PHP


Quote:
Originally Posted by gramo

PHP Code:

Device 
16F876A        ' Declare the device being used
Xtal = 4                 ' 
Crystal Speed

ALL_DIGITAL 
True        ' Make all outputs digital

TRISA = %00000000        ' 
Make all of porta outputs
PORTA 
= %00000000        ' Set them all low

Symbol LEDS = PORTA.0    ' 
The compiler will now change LEDS to PORTA.0 
Symbol Relay 
PORTA.1    ' and Relay to PORTA.1 whenever they are used now

Main:                         ' 
Start of program
     
     LEDS 
1            ' Turn on the LEDS
     Delayms 6000        ' 
Delay for 6 seconds
     LEDS 
0            ' Turn them off
     
     Relay = 1            ' 
Turn on the relay
     Delayms 200        
' Delay for 0.2 Second
     Relay = 0            ' 
Turn the relay off
     
     Goto Main             
Do it forever 
andy257 is offline  
Old 1st January 2007, 12:48 PM   (permalink)
Default

no, its not PHP, i just use php 'quotes' as they dont take all the tabs/extra spaces out for the remarks that you throw in after commands, i.e.

Quote:

Test ' Remark
PHP Code:

Test           Remark 
Its all written in Proton+, you can download the lite version, but it restricts you to 50 lines of code - still plenty to use for small apps.
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 1st January 2007, 12:55 PM   (permalink)
Default

Its really powerfull, and after a quick look through the help file you'll see just how much diversity the program has, and it doesnt stop at math, its the ease of use to interface with almost everything on the market today from LCD's to servos to almost any serial interface.

They have a user forum aswell that really has a great support network
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 1st January 2007, 01:23 PM   (permalink)
Default

thanks for that Gramo. Trying to become experienced in assembly but once i have mastered assembly i will convert to a higher language for the more complex circuits.
andy257 is offline  
Old 1st January 2007, 01:41 PM   (permalink)
Default

Quote:
Originally Posted by gramo
no, its not PHP, i just use php 'quotes' as they dont take all the tabs/extra spaces out for the remarks that you throw in after commands
Why not just use the 'Code' tag? - it's even on a button '#' on the Advanced entry setting.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 1st January 2007, 02:05 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
Why not just use the 'Code' tag? - it's even on a button '#' on the Advanced entry setting.
Nice, Never noticed, I'll keep that in mind!
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 1st January 2007, 02:35 PM   (permalink)
Default

Ok, Ive got the desired outcome using two 555's because thats what I have on hand.
On this PIC topic, how difficult is it for someone new to this, to get up and running? For instance, here are a few porjects I need to develop

1. @ the push of a button, set delay of 5 seconds, then random delay of 0-5 seconds that pulses a relay.

2. an IR Transmitter (just a beam) that works over 10 feet. Im looking at 38khz mod and pulses of 1400hz to be "seen" by the IR module.

3. A stopwatch with a large LED display to be used as a timer from point A to B.

Would it be worth while to learn PIC'S for all this? I am new to electronic components but learning quickly.
Is there anyone out there who devolops prototyes like this?
Thanks for all the help.
captnstoed is offline  
Old 1st January 2007, 02:56 PM   (permalink)
Default

Pics are fantastic, they can do all you need and much more besides.
Have a look at Nigel's tutorials.
House0Fwax is offline  
Old 1st January 2007, 03:00 PM   (permalink)
Default

Given the outcomes you want, I'd say PICs would deffinetly be worth looking into, but you still have to consider;

* Buying/Building a programmer (Fairly cheap)
* Getting a Development suit like Proton+/other higher level ones or Learn to bit crunch with Assembler
* And finially you will have to buy PIC's and other peripherals like crystals

Heres a basic list from futurlec.com.au (prices are in australian, goto futurlec.com for $US)
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Stepper motor control with PIC16F84A netbug Micro Controllers 71 30th August 2008 01:07 PM
Log Data using pic16F877A williB Micro Controllers 32 31st October 2006 10:28 AM
Random Numbers for PIC PDubya Micro Controllers 12 8th July 2006 11:01 PM
Delay routine not working gregmcc Micro Controllers 6 18th September 2005 06:23 PM
Effects stephenpic Micro Controllers 6 19th January 2004 12:57 PM



All times are GMT. The time now is 05:59 AM.


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

eXTReMe Tracker