Menu

#4 access to serial port

open
nobody
5
2005-09-02
2005-09-02
No

It would be interesting to add a serial port interface
capability to the release. The oportunities for
embedded systems are huge, once python is running in a
platform that weights scarcely hundred grams

Supose you have just built an electronic gadget an want
to control or extract data form it. Instead of
painfully selecting and programming a microprocessor,
just place your pocket pc inside and program everything
with python.

Discussion

  • Danny Staple

    Danny Staple - 2006-01-06

    Logged In: YES
    user_id=748225

    Access to the IR port, or the Bluetooth stack would be just
    as desirable. For example linking a PDA with the RCX or the NXT.

    Porting PySerial and PyParallel modules would help - but I
    am not sure about IR (IrDA or Consumer IR for PDAs that can
    manage it), or BlueTooth.

     
  • Luke Dunstan

    Luke Dunstan - 2006-04-08

    Logged In: YES
    user_id=30442

    Instead of porting those modules I would recommend using
    ctypes to access the Windows serial APIs directly. The
    same should be possible for Bluetooth and other protocols.

     
  • Nobody/Anonymous

    Logged In: NO

    How does one access the serial port with python on windows ce? This would be extremely useful and a dealbreaker in a device my company is manufacturing.

     
  • Nobody/Anonymous

    Logged In: NO

    How does one access the serial port with python on windows ce? This would be extremely useful and a dealbreaker in a device my company is manufacturing.

     
  • Nobody/Anonymous

    Logged In: NO

    How does one access the serial port with python on windows ce? This would be extremely useful and a dealbreaker in a device my company is manufacturing.

     
  • Luke Dunstan

    Luke Dunstan - 2007-10-03

    Logged In: YES
    user_id=30442
    Originator: NO

    Like I said, use ctypes and the Windows serial port APIs. Try searching the pythonce mailing list archives; I think there may be some examples.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.