Tracker: Support Requests

5 Value from Arduino dif to python - ID: 3555009
Last Update: Comment added ( cliechti )

Hi:

I have connected an Arduino board (UNO) to a Raspberry Pi via USB - the values that I'm seeing in the Arduino serial monitor are different to those that are captured using pySerial. PySerial is general +20 to the value that is shown in the Arduino serial monitor. My project is to capture the temperature using a TMP36 temperature sensor. Am using Python 2.7. Can anyone give me a suggestion as to the cause? Thanks.


microzoa ( microzoa ) - 2012-08-07 00:02:17 PDT

5

Pending

None

Chris Liechti

None

None

Public


Comment ( 1 )

Date: 2012-08-15 19:11:50 PDT
Sender: cliechtiProject Admin

Difficult to say without looking at the data. Maybe a mix-up of
decimal/hexadecimal formatted numbers? Is the protocol talked to your
Arduino text based or binary? In case of text, numbers could be in decimal
or hexadecimal notation etc.


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2012-08-15 19:11:50 PDT cliechti
assigned_to nobody 2012-08-15 19:11:50 PDT cliechti
close_date - 2012-08-15 19:11:50 PDT cliechti