![]() | ![]() | ![]() |
| | |||||||
| 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. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| 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 | |
| |
| | (permalink) |
| Have you googled PICAxe & Delay? the PAUSE xxx command would be pretty handy. | |
| |
| | (permalink) |
| no i can do it on a flow chart, but i cant change the value of the pause its default 1000 m/s | |
| |
| | (permalink) |
| The do multiple PAUSE 1000 A loop comes to mind. | |
| |
| | (permalink) |
| 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? | |
| |
| | (permalink) |
| 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) | |
| |
| | (permalink) |
| Please define "smart water". | |
| |
| | (permalink) |
| 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. | |
| |
| | (permalink) | |
| Quote:
Last edited by Mikebits; 12th July 2008 at 07:06 AM. | ||
| |
| | (permalink) | |
| Quote:
He does bring to mind HiTech's signature, though. Torben
__________________ Curiosity was framed. Ignorance killed the cat. | ||
| |
| | (permalink) |
| 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 | |
| |
| | (permalink) |
| 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 | |
| |
| Bookmarks |
| Tags |
| 24 hour timer, 4040, 4060, alarm, smart water |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| 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 |