You are not logged in.
Pages: 1
Topic closed
Hello,
i know that there are many peoples here wo use this sensor so i hope someone can help me
i use this sensor (DS18B20) to mesure the temperature ,i can read the real temperature when i use the commandes for raspberry pi 2 but i cant messure the temperature when i use RexDraw
Offline
Hi owanel,
thank you for your question. Please, can you provide some more details about your issue? Which commands did you use? How does your Rex project look like? Do you use powered DS18B20 or the parasitic ones (DS18B20-PAR)?
Did you follow this tutorial: IO configuration for the Raspberry Pi platform?
Regards, Tomas
Offline
Hallo Tomas,
thank you for your answer,
i use owread /28.0B5874060000/temperature12 and i can mesure the temperature
for my Project i use rexcontrols to mesure the temperature in one experiment and i use powered DS18B20 for that
yes i follow this tutorial and i have this errors when i compile
warning21 unconnected line found ( block `ows_temperature´)
warning 21 unconnected line found ( block PIDU_PID)
warning 21 unconnected line found ( block TRND)
Error 126 Validation Error-209( invalid variable type in pin`ows_temperature:value)
Error 126 Validation error-109(REX I/0driver error) in pin `RPI_PWM18:value
best Regards,Owanel
Offline
Hallo Tomas ,
to mesure this temperature i use
DS18B20
Unipi
Raspberry pi 2 and Rexcontrols
i hope this informations are useful
best regards ,Owanel
Offline
Hi Owanel,
all IO flags in REX should have two underscores behind the IO driver name prefix.
You are probably using two drivers: RPI and OWS, right? Please, note that the driver names are case sensitive.
Try to rename your IO flags to: "OWS__temperature" and "RPI__PWM18" (two underscores are necessary) and recompile the project. Do you still get those errors?
Note: There is an example on our GitHub which can be helpful for you: Simple Thermostat example
If you require any further information, feel free to contact me.
Regards, Tomas
Offline
Hello Tomas ,
i had renamed the IO flags but i always have the sames errors when i try to compile it
Best Regards, Owanel
Offline
Hi Owanel,
the prefix for IO flags should be the same as the IO driver names. OWS and RPI was just my presumption that you are probably following one of our examples.
If you still have difficulties compiling your project, please, upload your project source files here and I will have a look at it.
Regards, Tomas
Offline
Hello Tomas ,
now it is ok thanks for your help
Best Regards , Owanel
Offline
Hi Owanel,
I'm glad I could help. Good luck with your project!
Regards, Tomas
Offline
Pages: 1
Topic closed