![]() |
Sensor connection to RPI - Printable Version +- BlueWave Studio forum (https://bluewavestudio.io/community) +-- Forum: OpenAuto Pro (https://bluewavestudio.io/community/forum-86.html) +--- Forum: Temperature sensor (https://bluewavestudio.io/community/forum-90.html) +--- Thread: Sensor connection to RPI (/thread-836.html) |
Sensor connection to RPI - BlueWave - 06-23-2019 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. RE: Sensor connection to RPI - abasseth - 07-05-2019 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. RE: Sensor connection to RPI - Daniel_BlueWave - 07-05-2019 You have to do one more thing. Please refer to: http://bluewavestudio.io/resources/openauto_pro_user_guide/ page 34 RE: Sensor connection to RPI - Blealand - 07-06-2019 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 RE: Sensor connection to RPI - BlueWave - 07-06-2019 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. RE: Sensor connection to RPI - abasseth - 07-08-2019 (07-06-2019, 08:06 AM)Blealand Wrote: HiLook 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) RE: Sensor connection to RPI - lux - 12-18-2019 (07-08-2019, 01:53 AM)abasseth Wrote:in which directory is the openauto_system.ini file in open auto pro 4?(07-06-2019, 08:06 AM)Blealand Wrote: HiLook for following in the openauto_system.ini file RE: Sensor connection to RPI - BlueWave - 12-18-2019 Config files are located at /home/pi/.openauto/config directory. Please note that OpenAuto Pro bases on the default settings and openauto_system.ini file is not visible until you modify some settings. RE: Sensor connection to RPI - rski - 12-28-2019 Do you need to use GPIO 4 for the data line or can it be another GPIO? |