Wiring of DHT22 to pcduino v1
Posted 31 March 2015 - 10:47 AM
Posted 31 March 2015 - 10:56 AM
I was worried that the pcDuino1 would not be fast enough. When I wrote that I was working with pcDuino3.
You could use the arduino ide that is on the pcDuino1 to write the c code.
I searched the forums and came up with this discussion. With a few modifications it could be used as a command line utility and then called from python.
Odd. In my testing on the pcDuino3 my python code was just as fast at reading the bits as compiled c was.
Posted 01 April 2015 - 10:32 PM
The reason it sometimes fails is simply because the interface is bitbanged and the combination of python and linux are not always fast enough. Sometimes the OS requires more cpu time during the reading and causes it to miss a bit which throws an error. The compiled c version does the same thing. I spent a fair amount of time trying to get as much speed as possible from the python code. You are more than welcome to try get it faster.
Posted 10 May 2015 - 11:30 AM
I have a pcduino1 and dht11
Used the code given above, but receiving zeros for temз and humidity with due point -112.
What i'm doing wrong?
Posted 02 January 2016 - 01:20 PM
Guys, please help.
I don't want to switch to rasp just due to this stuff fails.
Checked twice, my dht 11 works on arduino, but in pcduino using the code above i'm recieving only this(no matter sensor pin is connected to analog or to digital):
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users