redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

pySerial


Goto page 1, 2  Next
 
Post new topic   Reply to topic    Web Design Forums -> Python programming forum
View previous topic :: View next topic  
Author Message
froomzer



Joined: 23 May 2006
Posts: 148
Does anyone have experience with pySerial?
  Reply with quote


Peter Pitt



Joined: 20 May 2006
Posts: 114
Location: Egypt
A little
  Reply with quote
froomzer



Joined: 23 May 2006
Posts: 148
excellent -- i'm communicating with a PIC (8-bit microcrontroller, not that it matters). sending information (characters) via .write() works well, but receiving tens to chop off some data. I dont really have an idea where to start looking for a mistake.
  Reply with quote
Peter Pitt



Joined: 20 May 2006
Posts: 114
Location: Egypt
What do you mean by "chop off"?
  Reply with quote
froomzer



Joined: 23 May 2006
Posts: 148
Peter Pitt, ie. i know the received message should be 10 characters long but i receive only x and the often the last received character is garbled.
received messsages are chopped even if i use readlines() with a timeout. connecting to the PIC via 'screen /dev/tty.serial <parameters>' works perfectly.
  Reply with quote
Peter Pitt



Joined: 20 May 2006
Posts: 114
Location: Egypt
Normally if part of a message is garbled, but the rest isn't, then there is a low-level problem (noise, shorts, etc.)
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
froomzer, what OS?
  Reply with quote
froomzer



Joined: 23 May 2006
Posts: 148
Ikopar, well, Fink (ie linux) on OSX
Peter Pitt, i thought of that, but connected to the same machine using screen works -- so i rule out non-software problems
  Reply with quote
jomanda



Joined: 19 May 2006
Posts: 70
Location: Germany
S/handshaking/flow control/ :^)
  Reply with quote
Peter Pitt



Joined: 20 May 2006
Posts: 114
Location: Egypt
Hmm, sorry I don't have any specific hints off the top of my head
  Reply with quote
Page 1 of 2 Goto page 1, 2  Next
Post new topic   Reply to topic    Web Design Forums -> Python programming forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group