Is there a posibility to read that sensor with the java package? – otherway would it be possible read it with a phyten Script -> but how to connect to the BrickPi Board, is there any thing that i have to figured out first?
Also could someone Explain to me which GPIO Pins are free, so i would connect the Thermal Sensor direct to the GPIO Pins and write a little Phyton Script to read values from it. Is that possible?
sorry for bad english, hope you understand my problem – if i find a a solution i swear i will write a little guide for everyone who want the same thing to do
Hi, i run that example. But it is strange. If i reconnect the Sensor it outputs some correct informatioen, but after several times it just send every time the same value. What is to change or what goes wrong … just running the orginal example on the BrickPi 2 … Here is the output:
Ambient Temp: 1037.54
Ambient Temp: 1037.54
Object Temp: 1037.54 Ambient Temp: 1037.54
Object Temp: 1037.54 Ambient Temp: 1037.54
Ambient Temp: 1037.54 #### here i am reconnect to the brick
Ambient Temp: 24.48
Object Temp: 25.8 Ambient Temp: 24.52
Object Temp: 23.04 Ambient Temp: 24.52
Object Temp: 23.28 Ambient Temp: 24.54
Object Temp: 23.14 Ambient Temp: 24.52
Object Temp: 1037.54 Ambient Temp: 24.54
Object Temp: 23.22 Ambient Temp: 24.54
Object Temp: 23.38 Ambient Temp: 24.54
Object Temp: 23.32 Ambient Temp: 24.54
Object Temp: 23.08 Ambient Temp: 24.56
Object Temp: 23.46 Ambient Temp: 24.56
Object Temp: 23.4 Ambient Temp: 24.56
Object Temp: 23.08 Ambient Temp: 24.54
Object Temp: 24.56 Ambient Temp: 24.56
Object Temp: 23.46 Ambient Temp: 24.56
Object Temp: 23.26 Ambient Temp: 24.54
Object Temp: 23.38 Ambient Temp: 1027.3
Ambient Temp: 24.56
Object Temp: 1027.3 Ambient Temp: 1037.54
Object Temp: 1037.54 Object Temp: 1037.54 Ambient Temp: 1037.54
Object Temp: 1037.54 Object Temp: 1027.3 Ambient Temp: 1037.54
Object Temp: 1037.54 Ambient Temp: 1037.54
Ambient Temp: 1037.54
Ambient Temp: 1037.54 #### this valkue never change - also it takes a little bit until the next line is written, very much longer than if the sensor works correct
Hi,
i connect everything together. start the py script -> nothing happens until i reconnect the the sensor, after that the script prints out several times the temperature. After a few times (see post before) it stops working. If i disonnect and reconnect the sensor again, the script works again several times agains. The script itself never restart again … i just connect/disconnect the wire… i’m confused
thanks for your support. Great! I found a solution.
It was just a memory failure. I tested it first with a 8GB SD Card and get the trouble i descripe above… than i just tested it with a 16GB SD Card and everythings works fine out of the box. On the Raspy also runs mjpeg streamer and a big java Application so the free space of the 8GB Card was just 50MB … with the 16GB Card everything is fine … I just wanna let you know that my probelm is solved and what the problem was … maybe some expert can explain me, why it don’t work with 50MB free space, maybe also just an Raspy Problem and no BrickPi Problem, i don’t know.