Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 24th June 2007, 05:26 PM   (permalink)
Default New to the Forum and to PIC's

Hi guys!!!!


Although I have some experience with electronic and it's basic theories, I've never worked with PIC's before...
Now I'm willing to try and chose a "Garage opener" alike project....
My goal is to, by pressing a single press-button, a dc motor(6v or 12V) woul carrya a small load (about 50g) from A to B and Stop, and reverse in the next key press....
Since I do some programing in a Basic alike programing enviroment for the Windows Mobile Platform, I was planig in using PIC-Basic for the code....

What PIC shoul I use? (is 16c54 suited ?)
Any related circuits I should peek?
Should I use a H-Bridge for the motor?
End-of-travel switch: micro-switch or opto-barrier?

Thanks for all your incoming imput...

Paulo Gomes
psapg is offline  
Reply With Quote
Old 24th June 2007, 05:33 PM   (permalink)
Default

The PIC16C54 is an OTP device. This means that it can't be re-programmed/updated after its first programming. Choose a flash-based PIC!
eng1 is offline  
Reply With Quote
Old 24th June 2007, 05:45 PM   (permalink)
Default

Thanks, Eng1

Any suggestions? I believe I only need 5 I/O pins, 1 for the press button, one for each sposition sensor and two for the H-Bridge...
psapg is offline  
Reply With Quote
Old 24th June 2007, 05:54 PM   (permalink)
Default

Quote:
Originally Posted by psapg
Thanks, Eng1

Any suggestions? I believe I only need 5 I/O pins, 1 for the press button, one for each sposition sensor and two for the H-Bridge...

best is to go for a popularly used device as they wold be cheaper. use as many pins as you need. always go for flash series as suggested ny Eng1. one such is 16F628-4 and try practicing the specifics of this chip as it has adc input pins etc.


we could have suggested 16f84-4 but these might go off the shelves
__________________
Regards,
Sarma.
mvs sarma is online now  
Reply With Quote
Old 24th June 2007, 05:55 PM   (permalink)
Default

Maybe you'll add some LEDs? I would consider a PIC16F628A.
eng1 is offline  
Reply With Quote
Old 24th June 2007, 06:34 PM   (permalink)
Default

NO, I wasn't planig on using Leds other that the opto-couplers, if I decide to go with them..

Any caution/example on using these as input to the PIC?
psapg is offline  
Reply With Quote
Old 24th June 2007, 07:45 PM   (permalink)
Exclamation

Quote:
Originally Posted by psapg
NO, I wasn't planig on using Leds other that the opto-couplers, if I decide to go with them..

Any caution/example on using these as input to the PIC?
You could try checking my tutorials for some interfacing examples - but opto-couplers are VERY, VERY simpel to connect to a PIC (or any other logic device).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 06:11 AM.


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