Re: Monitor three or more footswitches over RS-232



On Mon, 14 Nov 2005 08:36:20 -0800, AndyCW wrote:

> Potentially I could need 100 of these... but let's start with one to
> prove the concept!
>
> As for polling the interface... well, I code in C# using the .NET
> compact framework, and the serial API has events that fire when data is
> received, and I can trap the events in my code. How they do that, I
> don't know, or care... but it has to be more efficient than me having
> code running in a tight receive loop. One thing I know from years of
> handheld device programming, is you never miss a chance to save battery
> power :-).
>
> The target PDAs are Windows Mobile devices (Pocket PCs) so the serial
> port behaviour is pretty similar to a desktop PC. You can use software
> or hardware flow control and the port characteristics are pretty
> configurable.

I've written an RS232 driver for a PIC12F683 microcontroller. Works
reliably up to 9600, and controls the 'modem signals' for flow control.
The PICs themselves cost around a buck. The PC card, switch setup, and
that sort of thing would run a few more bucks in volumes of 100, but a
prototype would be quick and easy. The device could be powered from a PC
serial port, or just use a battery or wall-wart for power. Powering it
from a PDA would probably not be a good idea...

Email me for more info.

---
Regards,
Bob Monsen

Even the greatest of creations start from small seeds.
- Unknown
.



Relevant Pages

  • Re: accessing consoles remotely via decserver
    ... >> i switched off remote modification, and i have done the following settings ... >> Autoconnect, Failover, Input Flow Control, Lock, Output Flow Control ... > Local> set port 2 output flow disabled ... > between the terminal server port and the console. ...
    (comp.os.vms)
  • Re: GNAT.Serial_Communications
    ... The minicom values along the bottom are ... software flow control. ... Minicom reconfigures the port while it's running to also ignore the ... waiting for the CTS line to be asserted by your remote device (which will ...
    (comp.lang.ada)
  • Re: SCO Printer stops every 2-3 days
    ... >a NON-SPOOL. ... The spool printer (ttya14) works fine with ABSOLUTE no problem ... You cannot send data to a non-spooled serial port and expect flow ... the port in order to keep the flow control functional as in: ...
    (comp.unix.sco.misc)
  • Re: WriteFile says open comm port has invalid handle?
    ... The com port is com6. ... int CComm485::SendResponse ... // setup hardware flow control ...
    (microsoft.public.dotnet.languages.vc)
  • Re: How to determine if SSL is encrypted?
    ... stunnel connects to news.newsguy.com on port 563. ... transmission is encrypted? ... WireShark is your best bet in this situation. ...
    (comp.os.linux.security)