![]() | ![]() | ![]() |
| | |||||||
| Notices |
| Electronic Projects A collection of small electronic circuits and projects you can build. |
| | Thread Tools | Display Modes |
| | (permalink) |
| Experienced Member | Im gonna have to do that someday. Not now, as you may have read ive got a rather large alarm project that im working on.
__________________ I'm no electronics god, i just talk too much. |
| | |
| | (permalink) |
| Experienced Member | Il try to make it since i have an PIC16F88,programer,5v regulator... I suck together an perogramer out of a cumple of transistors and resitors and its on the LPT.The down side is i have to have an external power suply of 13v an 5V anyway what do ou know about PICs? Hmm...meaby an phototransistor on ADC and an piezo speker
__________________ Il give you shocking experience. |
| | |
| | (permalink) |
| Experienced Member | i got the hardware working but the damn phottotrasistos has 15° angle so it can only sence light of objects that is exsactly pinted it to (this wod be only useful in a shoting game there you have to point the "gun" directly in an LED) I just cant find the photoresistor of mine wich has an 130° angle Now i have to make the program (10 bit output from the ADC is casing me headaces becose 10 bit is harder to work whith than 8 bit ) First il try to make it work like the "analog original" works so your circuit will have an digital brother but then il try to complicate it a bit like the thiming thing. wod be also cool to conect an microphone in but in not going to do that. It also has an super small curent draw.Wean slilent it drawn 0.04 mA an that wod run on my litium cell for about 2 years continuestly by runing it at 34kHz(you beter not run it for that long since the guy may end up by the psycaetrist and if he finds out you cod end up in a hospital) you can see an slight delay on the leds since it has to divide an 10 bit number whith 120 on such an low freqency (but i goes super smoth wen run at 10Mhz but then it draws 1.3mA) how much dose your circuit draw?
__________________ Il give you shocking experience. |
| | |
| | (permalink) | ||
| Experienced Member | hey electro, thats a nice bit of information, glad youre keeping me informed. I havent even checked what my circuit draws. at the time i built it, my ammeter was burned out. Dont ask about the stupidity that caused that. What do I know about pics? Not a bloody thing. i am really going to investigate them though, i know there is so much that can be done with them. Quote:
Quote:
__________________ I'm no electronics god, i just talk too much. | ||
| | |
| | (permalink) |
| Experienced Member | Its working and it makes bzt evry so and so at 0.02 mA curent draw(whith 3.9V) it wod run 6 years on my 1150mAh litium cell! amazing! and it ran a long time of an a cuple of caps i put on the power rails(2470uF to be exsact) the mirophone wod betect if the guy starts yeling or an vibraon detrctor to detect the guy walking around the room In the afternon il start maing it smarter btw: I fixed the phototransistor thing ba making it way more sesitive (that votage divider thing.you know) we beter start sending each other PMs or lets get in a chat room somtine.
__________________ Il give you shocking experience. |
| | |
| | (permalink) |
| Experienced Member | here's the surce code of the PIC in mikroBasic Code: program beeper dim light as word main: CMCON = 7 ADCON1 = $00 TRISA = $FF TRISB = $0 PORTB = $FF Sound_Init(PORTB,2) el: light = ADC_read(2) If light < 200 then Sound_Play(10,10) delay_ms(5000) end if goto el end. The PIC is runing on its internal oscilator so no crystal This one behaves like the one zatch made and as you see the code is very simple. Il post the new code that has timing based on how fast do the lights get thurnded on. btw: what did you do whith your amp mether? (mine has an fused 200mA max input and an unfused 20A max input so its kinda hard to blow it)
__________________ Il give you shocking experience. |
| | |
| | (permalink) |
| Experienced Member | Hey electro. Do you have microsoft instant messenger? Or AOL? I could redownload the AOL. Not sure what I did with my ammeter. I think I connected across a 9volt battery while it was on a very small reading. Its a cheapo $3 one so i just got another one.
__________________ I'm no electronics god, i just talk too much. |
| | |
| | (permalink) | |
| New Member | Quote:
| |
| | |
| | (permalink) |
| Experienced Member | Light is the input to the circuit. The Light Dependent Resistor's resistance changes a lot with the amount of light shining on it.
__________________ Uncle $crooge |
| | |
| | (permalink) |
| New Member | seems interesting. :roll: |
| | |
| | (permalink) |
| New Member | hmm.. a nasty project! lolz! nice and cool one! but it's kinda better if it trigger when he/she is in the middle of his/her dreams!
__________________ † | cHron0Cr0Ss | † |
| | |
| | (permalink) |
| Experienced Member | that could be done charle. only problem is you would need a rather large capacitor. you could do it with a 555 and you wouldnt need so large a cap.
__________________ I'm no electronics god, i just talk too much. |
| | |
| | (permalink) |
| New Member | how can a buzer which is (3-16) VDC be able to generate a sound when the Vcc is only 1.5 V (forgetting about the resistors) |
| | |
| | (permalink) | |
| Experienced Member | Quote:
__________________ I'm no electronics god, i just talk too much. | |
| | |
| | (permalink) |
| Experienced Member | it just doesn't go at the specified frequency, i suppose. I'm assuming its a mechanical buzzer that is.
__________________ www.winpicprog.co.uk - Great PIC language tutorials. |
| | |