There seems to be loads of people trying to do hardware interfacing, Ive
just about scraped around and managed to do what I want. It seems about time
Palm published some of its information about the Palms IO and secret
functions, even if it comes with a "dont use this" disclaimer. It would be
cool to be able to use the ADC and IO pins.
Heres what ive done (on a Palm V). I am using a Palm V modem casing for my
app.
I set up the device to look like a modem by placing a 20K resister between
pins 2 and 8.
Assigned the hotsync button (modem only) to my app. Pressing the button now
launches my app.
As I am using serial comms, I use D0 (pin 1) to switch my device on, D0 goes
to 6v when you open the serial port, and I only need my device on when the
serial port is open.
When my power suppliy comes on (D0 goes high), it disconnects the hotsync
key. This line is then used for a low battery notification for my device,
which I can pick up in software.
This took me bloody ages (and I mean ages) to work this out and it still has
a few minor glitches.
Any better ideas would be appreaciated (soon), as I am about to produce a
PCB.
Rik
> -----Original Message-----
> From: Dave Lippincott [SMTP:[EMAIL PROTECTED]]
> Sent: 22 August 2000 14:43
> To: Palm Developer Forum
> Subject: Re: Auto detection of ext module
>
> Sounds like you want a toaster that makes a good cup of coffee.
>
> You could write a hack that traps the modem hotsync button and checks for
> the presence of your hardware. If its there, launches your app. If its
> something else, it could just pass the button message on to the OS.
> (although I'd just stick to a Visor if you need this functionality)
>
> ----- Original Message -----
> From: "H Lee" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 22, 2000 3:45 AM
> Subject: Auto detection of ext module
>
>
> > Officially, Palm device cannot detect that a module is
> > connected to the serial interface of the Palm device.
> > The serial mgr supports polling; interruptable serial
> > com is not supported.
> >
> > I want to build a module/gadget such that when it is
> > connected to a Palm device, the Palm device knows that
> > & it can even launch the Palm app that works with the
> > gadget. The data from the gadget is sent via the
> > serial lines.
> >
> > Is there any workaround to implement this ? Can I make
> > use of pin GP11 or GP12 ?
> >
> > I know that I can do this using Visor. However, I'm
> > looking at PalmV,IIIc etc.
> >
> > H Lee
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> >
> >
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/