![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
carllw
Joined: 22 Feb 2018 Posts: 10
|
Garage door opener with PIC |
Posted: Fri Feb 23, 2018 7:05 am |
|
|
Hi, I need a ideas to make a garage door opener with PIC microcontroller for my senior design project. Does anyone have a ciircuit model or code ?
Thanks. |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9174 Location: Greensville,Ontario
|
|
Posted: Fri Feb 23, 2018 8:07 am |
|
|
Well this is a basic simple program to code but YOU need to do the design. Details like sensing full up, full down, jammed and obstacles need to be addressed. remote or local operation?.
Chamberlain makes 80% of GDOs so here's a few hints...
1) motor on sensor is an encoder, used to detect 'jammed' conditions
2) simple limit switches for, well, limits. 1 for up, 1 for down.
3) IR mod beam about 8" above floor for cat detection.
4) be sure to filter every input, GDO motors are 'noisy'
5) PIC will need min of 1 amp PSU, well filtered !
6) simple one button logic state machine - up, stop, down, stop, up, ...
Almost any PIC can be used, even 12F series, 3 inputs, 2 outputs.
Jay |
|
![](templates/subSilver/images/spacer.gif) |
carllw
Joined: 22 Feb 2018 Posts: 10
|
Garage door opener with PIC |
Posted: Fri Feb 23, 2018 1:41 pm |
|
|
Thanks, I wanna use this model but i didn't create CCS C code of this scheme.
[img] [/img] |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9174 Location: Greensville,Ontario
|
|
Posted: Fri Feb 23, 2018 2:27 pm |
|
|
At a 'first glance' I can see a minimum of 16 errors in the schematic, any one of them 'fatal'.
As a comment, the 877 is well a 'dinosaur' like me and you can buy pin compatible newer PICs cheaper with more 'godies' inside.
Also, consider keeping the ICSP pins dedicated to ICSP. While I don't know how you program your PICs, I keep ICSP dedicated to ICSP for supper eazy programming via a PICkit3.
You should also include an LED+1K for 'test' purposes. I'd also use the 'flex_lcd' driver, for obvious reasons.
There also aren't any necessary safety features in the schematic. Up limit switch, down limit switch and 'obstacle' detection.
If this is a course test and I was your prof. ,you'ld lose 30% for not having them, another 10% for no power switch.
Jay |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|