|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
|
|
Thread Tools | Search this Thread |
|
|
#81 |
|
diyAudio Member
Join Date: Dec 2002
Location: VA
|
OK.....
P-BRAIN EMBEDDED!!!! 1st results... It works.... BUT... Im getting a set of vertical rainbow stripes on the right side of my LCD... I probably screwed up the LCD during the embedding process... OH Well... this is only a testbed projector anyway... There must be something up with one or more of the FFC cables... It boots the projector and enters the Running mode, or it will enter the Fans Only On Mode when requested... but during the Running Mode when the LCD gets fired up... there are the rainbow stripes on the right side of the screen!!!! The vertical rainbow stripes comprise about 1/5th of the right hand side of the screen)Oh well... at least the controller is working... Anyone have any ideas as to why I might be getting the vertical stripes? |
|
|
|
#82 | |
|
diyAudio Member
Join Date: Dec 2004
Location: RI, USA
|
Quote:
As far as the stripes go I have that too, which happened after bending the flat connectors going from the vertical controller board directly to the LCD. (Luckily I only have about 3 lines though on the very edge.) Don't think there is much you can do, unless you're very very handy soldering incredibly small things.
__________________
6/12/06: Redesigning everything, finally putting in the Ushio S400DD. |
|
|
|
|
#83 |
|
diyAudio Member
Join Date: Dec 2002
Location: VA
|
I think youre right... If I lightly rub my fingers along the flat cables that connect to the lcd underneath the section where the lines are... the lines change color/etc....
Oh well... I had already scratched the LCD way back (although it was still watchable) so Im not extremely upset about it... Anyone know where I can get an LCD for a BENQ 567 monitor? The important thing is that the P-Brain is working as planned. Time to start planning Version 2.... One thing Ill need to do is either upgrade to a larger PIC or find a better way to handle some of the I/O.... Ive used up almost all of the I/O pins on the PIC16F873, and there is still funtionality I want to add that will required more I/O (Temp/Fan speed sensing/Character LCD/Serial PC Interface/etc) |
|
|
|
#84 |
|
diyAudio Member
Join Date: Dec 2002
Location: VA
|
OH BTW ...
Thanks to all those who contributed ideas and constructive criticism. I must say this has been a fun/useful project! My only problem now is... I wont be satisfied building a projector, without having one of these things embedded in it which will up my costs/build complexity a little but I think in the end it will be worth it.
|
|
|
|
#85 |
|
diyAudio Member
Join Date: Dec 2002
Location: VA
|
One more pic of the P-Brain embedded after being hooked up to the projector.
Yes I know... I need to wrap those wires up a bit neater... You can see in the pic how everything (Lamp Power/LCD Power/Fans) plug into the controller board. The Power Button, Indicator LEDs and Buzzer are mounted to the projector and visible in the upper righthand corner of the photo. For now Im going to just sit the Motion Detector on top, maybe Ill mount it somewhere later. |
|
|
|
#86 |
|
diyAudio Member
Join Date: Dec 2002
Location: VA
|
So after running with a P-Brain controlled projector for a while (yes I still watch it even though I damaged my LCD, I just have to shrink the image some so its not in the damaged part). I must say, I am happy with it (although Im probably biased since I built the thing
It works as suspected. The warning buzzer is loud enough that I can hear it even when Im in some other room in the house. Its definitely comforting knowing that the projector will take care of itself if for whatever reason I fail to take care of it. The buzzer beeps differently depending upon what timeout is about to expire... 2 quick beeps means motion is about to timeout, 3 quick beeps means Max Time On is about to timeout. I did have one software bug though, in the booting procedure, it would sometimes detect light from the PJ Lamp, but not for long enough, so it would think the light wasnt stable when it actually was, and shut down the projector. It was an easy bug to fix, and I just plugged my pic programmer and laptop in to the p-brain and reprogrammed the chip. One thing I have noticed though... its harder to trigger the motion detector than I originally thought. It can be done by waving an arm, but its not that easy. Its much easier to just get up... Maybe in the next version Ill implement an infrared detection input that will substitute for, or supplement, the motion detection. This way anytime it detects ANY infrared remote pulses the motion counter gets reset. That way I could just hit a remote button (any remote button) to signal "Im still here and awake" to the controller. The way Im thinking that the whole algorithm should work is: - Any time either motion, or an infrared pulse is detected, the motion time out counter is reset. - Any time the power button is pressed, both the motion timeout counter, and the Max Time On counter are reset - If the p-brain is getting ready to shut down because the Max Time On timeout is about to be reached, and it detects infrared pulses or a power button press, then both the Max Time On counter and the Motion Counter are reset. Now all I need is a good projector. My plan is to build a long throw projector using the proview 15.4" LCD and the 135mm projection lens I already have, and build it with the p-brain2 (yet to be designed and built) in mind. |
|
|
|
#87 |
|
diyAudio Member
|
Can you recommend a good online resource to learn PIC programming. I'm a complete noob and everything I've seen online assumes that I'm an electrical engineer. I've never seen a PIC board, I don't know how to attach things to it, I don't know how to program it... however I do know how to program, I am good with electronics, and I'm pretty intelligent so I think I could learn it if I had a good place to teach me.
|
|
|
|
#88 |
|
diyAudio Member
Join Date: Dec 2002
Location: VA
|
The development environment I used was from these folks:
http://www.basicmicro.com/ See this area for a decent PIC programming development environment: MBasic I have the MBasic Professional package, and the ISP-Pro PIC Programmer. I used it to design/build the p-brain. To get started PIC programming, you will need some electronics knowledge. Im not an electrical engineer, but I was an electronic technician for several years long ago before I got into software development, so I have some understanding of building/troubleshooting electronic circuits. I didnt use a PIC board... I bought the PIC chip, and supporting components (stuff I already had lying around actually), and wired up the board myself. If you are currently strictly into programming on PCs/Mainframes/etc, Microcontroller programming and design will open up a whole new world for you... Its alot of fun... trust me. |
|
|
|
#89 |
|
diyAudio Member
Join Date: Dec 2002
Location: VA
|
One more change I made...
The Beep Indicators. Now it beeps in rapid succession... - once for no motion about to timeout - twice for max time on about to timeout - three times for shutting down I think this way is better because it conveys a sense of urgency based on what is about to happen. If No Motion is about to timeout, I get one repeating beep, and all I have to do is trigger the motion detector If Max time on is about to timeout, I get two repeating beeps, and I have to get up and press the power button If the projector is shutting down, I get 3 repeating beeps, and then....well... The other thing I changed was that now, the Fans on Only mode is subject to the Max Time On Timeout. Before... the fans would run indefinitely in that mode. Now, they will shut off after the max time on timeout expires. Im thinking of giving that mode its own timeout because... who would need to run their fans for 6 hours? Ive noticed that Ive been able to cool my bulb back down after being lit, to the point where it will relight within 5 minutes or so. I only use the Fans On Only mode when the projector has been on, then for whatever reason, shut down, and I want to provide extra cooling for the bulb because I want to start it back up again... Maybe Ill make the Fans On Only mode timeout after 10 minutes for now... In the end, I plan to make all of this stuff configurable... Basically the end game plan for this is to have a PC based GUI, that talks to the p-brain via a serial port for configuration purposes. So this way, Ill build a projector, embed a p-brain in it, then using the PC Based GUI, tweak the p-brains confguration parameters to custom fit to that particular projector's dynamics. |
|
|
|
#90 |
|
diyAudio Member
|
alright. lets use some common sense...a timer is just another thing to worry about...
go with a capaciter that holds power for however long...A laerger capaciter (the width of a quarter...2" tall) will have enough juice left in it after the unit's shut off that the fans could run for another....15-30 seconds. |
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help my brain hurts | kendt | Pass Labs | 13 | 14th January 2007 12:57 AM |
| Point my brain somewhere | Madmike2 | Pass Labs | 26 | 6th August 2005 06:04 PM |
| HELP! my brain is melting | lolojr1 | Everything Else | 17 | 30th January 2005 04:14 PM |
| Music and the Brain | Prune | Everything Else | 0 | 2nd January 2005 01:12 AM |
| Our Music And Our Brain | mrfeedback | Everything Else | 3 | 22nd June 2003 06:25 PM |
| New To Site? | Need Help? |
| Page generated in 0.12564 seconds (81.97% PHP - 18.03% MySQL) with 11 queries |