From: Kevin O. <ko...@ho...> - 2001-03-28 21:46:52
|
Oh so cool! I'm doing the same thing, but my LCD/keypad is a Palm Pilot. Adds a little bit more complexity over an LCD and a matrixed keypad, but I'm hoping it'll give me more flexibility. Maybe we should take this offline, but: - Which PIC are you using? asm or C, which programmer? (I in assembler and built my own programmer) - I'd be interested in your RF routines. (I'm fooling with things like warmup bits, preamble, CRC, ...) - Which RF modules are you using (I'm using TWS/RWS-434, good range, only up to 2400baud though) - What's your range, are you using an antenna - How are you powering the PIC-side (circuits for POR, brown out, voltage boost, power/battery conservation) - How do you turn the send/receive around (I'm finding I need to turn off the local receiver while sending) Frankly I'm having a hell of a time with this. I can send/receive in either direction, but if I turn the direction around too quickly my traffic gets garbled. - Between the PIC/RF device and the PC are you using a RS-232 line driver (I'm just using a 22K resistor) Sorry if I'm going on here, and like I said, maybe we should take it offline, but this is my first PIC project and I'm a bit excited to find someone doing something so close. Kevin > Ian Davidson wrote: > > Hi All > > I saw earlier Bruce mention any code that might be useful to others. > Attached is a slightly modified lcdproc.pl. It enables you to test > your menu files just using the MH main screen and the computer > keyboard. Use the up, down, left, right keys to navigate. The 0 key on > the keypad is the enter key and the Ctrl key is the exit button. You > can adjust the script for different sizes but it is currently set to > my 16 x 2 LCD module. You do not need an LCD to try this, on the MH > screen it will list exactly what you will see on an LCD with line 1, > line 2 labelled accordingly. > > >What is the project you are working on anyway? > >Sounds like maybe a custom pic based LCD keypad?? > > how did you guess Bruce ! > It is a two way wireless remote to use with MH. It has a 16 x 2 > LCD and 16 buttons. I wanted something I could use anywhere in and > around the house to control MH. I also wanted to use the rf link on MH > for other things at a later date. i.e. a weather station sending data > back by RF, Ibuttons interfaced to a PIC sending data back by RF, no > long cables and the remote, weather station, and ibuttons would all be > able to share one com port. > > I have it working now but I may have to rewrite some of the RF > protocol to enable it to handle weak signals better. If anyone is > interested then just post to the group and I'll go into more detail. > > I think there may be a few problems with the menu. If you use the > attached code and Bruce's test.menu on some items you can scroll off > the right of the options (on,off,+,-), also the # marker will > sometimes disappear. I also see an option stop responding > sometimes after activating the option either on or off, when I can > recreate it exactly I'll let you know Bruce > > Ian > > > Name: lcd_test.pl > lcd_test.pl Type: Perl Program (application/x-perl) > Encoding: quoted-printable |