Anyone integrated DHT11 temperature sensor on Raspberry Pi2 with Oracle Java ME Embedded system?

Any direction will be helpful.

  • I doubt it is possible. The DHT11 needs accurate timings of the order of 25 µs or so and there is no evidence that Java on the Pi can support such resolution reliably. – joan Sep 3 '15 at 7:58
  • So do i need to change sensor or ? – Kalpesh Sep 3 '15 at 8:39
  • If it's just temperature you want you could try a DS18B20 1-wire sensor. The Linux kernel has drivers for that and the sensor value can be read from a file. The Linux kernel also has drivers for the DHT11/22 but I have had no success in using the DHT11/22 kernel driver. – joan Sep 3 '15 at 9:33
  • ok. Will try out. – Kalpesh Sep 3 '15 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.