Got time to look at the problem in much more detail. Last night I was just too upset to start work so close to bed time. Today I discovered that the baud rate was indeed correct. What i was measuring yesterday was two bytes back to back without the start and stop bits. And hence the baud rate that was about 50% of my 9600.But why does my Linux box see two bytes back to back that are the same when I have logic to prevent that? Well I switched over to reading the data from my laptop and the problem goes away. On the Linux box I get the problem when the first byte is alternating bits (0x5 or 0xa). Now I don’t have root cause, but I can only figure that I have a noise issue. Tomorrow I plan to remove the 30 foot kludged cable and co locate the detector and computer and see if the problem goes away. In the mean time, I need to look at RS-422 or wireless solutions.
-
Recent Posts
Recent Comments
Archives
- December 2021
- January 2019
- April 2018
- March 2018
- June 2016
- April 2016
- October 2015
- June 2015
- March 2015
- December 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
Categories
- ADE7763
- AmScope
- Arduino
- ARM
- AS3935
- AVC
- Components
- Desk Clock
- Die Filer
- FIRST LEGO League
- Furnace Monitor
- Home Energy Monitor
- IR Beacon
- LD-AIR
- Lightning detector
- MCP42010
- MSP430
- Personal
- PIC
- Pololu 9DOF IMU
- Processors
- Product reviews
- Projects
- Python
- Rigol DS1102D
- Robotic DVD burner
- RS232 Shifter
- Sailboat Race Timer
- Software
- Sugru
- SUNDAR
- Teensy
- uBlock LEA-6H
- Uncategorized
- Vectronix DMC
- XBee
Meta