Electronics > Projects, Designs, and Technical Stuff
Product Design (Parking Assistant Alarm)
(1/2) > >>
Scutarius:
Hi !!!

Well I got a job, my first job, and I am very enthusiastic about it, I suppose to be a hardware designer (kinda, I Have a bachelor in electronics, m.sc. in process) I my first project is a simple parking assistant alarm, this is useless product maybe, somebody just ask for this product to the company, but for me it is a good opportunity.

This is how it works, it will be a "ball" enclosure with a simple sensor and LEDs, that is all.
If the car hits the ball it flashes, (useless I think, but never mind), so I was ask to use a PIC a SQ-SEN-200 sensor and 2 LEDs


http://signalquest.com/sq-sen-200.htm
the web
 
PIC12F675, I used this sch
http://itp.nyu.edu/physcomp/sensors/Reports/SQ-SEN-200


I am coding in MikroC pro 2009, I am going to use int's, but I it is harder for me the code.

I attach the screenshots, sch and pcb, please if you think that I am doing something wrong or if I can do it better post it!I just wanna learn

I am using the battery clips from newark (56P4899) to reduce cost


1.-Bypass capacitor close to Vdd
Scutarius:
I cant attach files
http://rapidshare.com/files/377819537/xdyzio.rar.html

same

http://rapidshare.com/files/377819867/xdyzio.rar.html
TheDirty:
The datasheet says it works as a switch that rattles off and on as it is moved.  I don't use PICs.  Is there an internal pullup on GP0 that you are relying on for the pullup?  Why the resistor?  Weak built in pullups are already very high resistance for a pullup and IMO should not be relied upon for this and you should have a proper external pullup.
Scutarius:
Yes, I use the internal pullup (weak) GP0

here http://signalquest.com/datasheets/SQ-SEN-200%20App%20Circuits.pdf
you can see that they propose a 100k resistor.
TheDirty:
You've actually got a hybrid of the flexible circuit, #1, and the Simple Circuit #2.  If you are going to do the flexible circuit, you will need to do exactly what they did and use the two resistors plus the filtering cap.  If you are using the simple circuit, it doesn't have R2 at all.  It doesn't actually give a value for R1 in the simple circuit.
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod