Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sensor connection to RPI
#1
The DS18B20 temperature sensor is easy to set up on the Raspberry Pi. The only extra component you need is a 4.7K Ohm or 10K Ohm resistor.


Attached Files Thumbnail(s)
   
Reply
#2
Hello BlueWave,

What is needed to get OpenAuto Pro to show the readings from the temperature sensor. In the terminal, i was able to validate that the sensor was correctly connected to the PI and was able to display the temperature. I've enable the temperature display in OneAuto Pro, but all I see is temperature symbol and no actually number.
Reply
#3
You have to do one more thing. Please refer to:
http://bluewavestudio.io/resources/opena...ser_guide/ page 34
Reply
#4
Hi
So you have to edit a file to get the sensor to work ? I have wired up the sensor and also have no reading.
Thanks for any help
Reply
#5
Yes. You have to hint OpenAuto Pro which sensor it should use. In order to do that you have to modify config file like it is described in mentioned topic. Please note that the full path of sensor descriptor contains its serial number, so it will be different than this one from example.
Reply
#6
(07-06-2019, 08:06 AM)Blealand Wrote: Hi
So you have to edit a file to get the sensor to work ? I have wired up the sensor and also have no reading.
Thanks for any help
 Look for following in the openauto_system.ini file
[General]
HandednessOfTrafficType=0
ShowClock=true
HasTouchscreen=true
TemperatureSensorDescriptor=

In the section next to TemperatureSensorDescriptor after the = sign, add the sensor information. This is what i used to find the sensor information

cd /sys/bus/w1/devices
ls
28-xxxxxxxxx  w1_bus_master1

The number that starts with '28' is what you're looking for.
Then use this information to fill out the TemperatureSensorDescriptor (ie. /sys/bus/w1/devices/28-xxxxxxxxx/w1_slave)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)