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 22nd June 2008, 02:23 PM   (permalink)
Default

Quote:
Originally Posted by varkunus View Post
well how would i even go about make a clock which sends an output during desired times ? eg 6pm to 5am. Like i seriously have no idea, even if i knew all the commands how do you actually go about making a clock. And how do you edit the times, and pin numbers on PicAxe? And we have just found out our teacher is retiring end of the school year, so i need to have everything flawless by then.
It's your homework assignment, how can you have no idea how to do it? Are all you classmates as clueless?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 22nd June 2008, 02:48 PM   (permalink)
Default

i am the only one in the class doing a PIC, so I have absolutely zero knowledge on the subject. My teacher just told me to go on pic axe. So cant you give me a helping hand? I mean its not going to hurt is it. At the moment im just doing stuff like this, but i cant seem to even change the values of the delay, or pins.


main:
label_30: high 0
wait 1
label_42: if pin0=1 then label_49
low 0
goto label_42

label_49: let pins = 160 'forward
goto label_30
varkunus is offline  
Old 22nd June 2008, 03:11 PM   (permalink)
Default

Have you googled PICAxe & Delay?
the PAUSE xxx command would be pretty handy.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 22nd June 2008, 04:59 PM   (permalink)
Default

no i can do it on a flow chart, but i cant change the value of the pause its default 1000 m/s
varkunus is offline  
Old 22nd June 2008, 05:01 PM   (permalink)
Default

The do multiple PAUSE 1000

A loop comes to mind.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 22nd June 2008, 06:22 PM   (permalink)
Default

right, so if i want do a day i gota do...

1000*60*60*24 = 86400000 right? And how do you do a loop function?

THe hardest bit for me to get my head around is when the client who this is aimed for calibrates it according to there working hours. So would it be possible for them to press a button at say 5pm when there work place closes, and then press another one when it open again, at say 7am. And then the PIC will always arm the alarm the alarm between these times? Or is that to complicated?
varkunus is offline  
Old 22nd June 2008, 06:40 PM   (permalink)
Default

think i got how to make a clock. If it starts at 12pm this is what happens

main:
label_10: high 1 (high pulse sent out at 12pm)
pause 518400
low 1 (at 6pm a low pulse is send out)
pause 950400
high 1 (at 7 in morning a high pulse is sent out)
pause 432000
goto label_10 (back to 12pm)
varkunus is offline  
Old 12th July 2008, 06:38 AM   (permalink)
Default

Please define "smart water".
shokjok is offline  
Old 12th July 2008, 06:45 AM   (permalink)
Default

Quote:
Originally Posted by shokjok View Post
Please define "smart water".
That has nothing whatsoever to do with the problem at hand. The device could squirt hairspray, paint, lemon juice, or whatever and the problem would be the same. The point is that he needs help with the programming.

Besides that, Google must be broken where you are. Hint: it's near the top on the first page of results.


Torben
__________________
Curiosity was framed. Ignorance killed the cat.
Torben is offline  
Old 12th July 2008, 06:54 AM   (permalink)
Default

Quote:
Originally Posted by Torben View Post
That has nothing whatsoever to do with the problem at hand. The device could squirt hairspray, paint, lemon juice, or whatever and the problem would be the same. The point is that he needs help with the programming.

Besides that, Google must be broken where you are. Hint: it's near the top on the first page of results.
Torben
lol, I was wondering who would snap first. Not that you really snapped or anything, but this person does seem to be responding to post in some strange order without reading the whole thread, then repeating what has already been said or completely off base.

Last edited by Mikebits; 12th July 2008 at 07:06 AM.
Mikebits is offline  
Old 12th July 2008, 07:09 AM   (permalink)
Default

Quote:
Originally Posted by Mikebits View Post
lol, I was wondering who would snap first. Not that you really snapped or anything, but this person does seem to be responding to post in some strange order without reading the whole thread, then repeating what has already been said.
hehe. . .no, that's not me snapping. Me snapping is far less pleasant. Happily it happens very rarely, and (hopefully) never in response to a blatant troll.

He does bring to mind HiTech's signature, though.


Torben
__________________
Curiosity was framed. Ignorance killed the cat.
Torben is offline  
Old 12th July 2008, 07:14 AM   (permalink)
Default

Buy em books, send them to school and hope for the best. What else are ya gonna do?

P.S. That Google crack was a good one
Mikebits is offline  
Old 12th July 2008, 08:34 AM   (permalink)
Default

well i have done the programming my teacher confused me with wanting to include something else. But I didnt need it so now I have a PIC which will send out a high signal from pin 0 at night time 18.00-07.00 and at 18.00 each day it will send out a 1 minute LED pulse for the user to check its still accurate. Now I know that using a PIC will be much more accurate than using a 555 timer, but will it be the same accuracy as a timing circuit. And if not how much can I expect for it to loose each day
varkunus is offline  
Reply

Bookmarks

Tags
24 hour timer, 4040, 4060, alarm, smart water

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
16F84A project... need source code for an alarm system im making wazza_d Electronic Projects Design/Ideas/Reviews 0 16th May 2007 10:33 AM
Need help making a timer ZETSUEI1 Electronic Projects Design/Ideas/Reviews 2 15th January 2007 07:51 AM
PCB making Electronics4you General Electronics Chat 10 27th October 2006 12:13 AM
Need Help Making An Alarm System kilo73 Electronic Projects Design/Ideas/Reviews 9 28th February 2006 07:17 PM
RQ : Speaker's Timer / Conference Timer red-devil Electronic Projects Design/Ideas/Reviews 0 13th April 2004 12:37 AM



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


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

eXTReMe Tracker