Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grove - Temperature&Humidity Sensor (DHT11) #61

Open
Mayankneup opened this issue Apr 2, 2023 · 1 comment
Open

Grove - Temperature&Humidity Sensor (DHT11) #61

Mayankneup opened this issue Apr 2, 2023 · 1 comment

Comments

@Mayankneup
Copy link

I am currently working on a project, I am using Firmata for my Groove Beginner kit. But I am having issue with getting value from the Temperature sensor.

Is there anyone to help me with this issue?

@kurbatov
Copy link
Owner

kurbatov commented Apr 3, 2023

Hi @XmayankX,

As far as I remember DHT11's communication protocol is too fast to transmit raw data directly from an arduino board to a java application and analyze the data there. So the only way you can get the readings from DHT11 in a java application using Firmata is to extend the firmware in order to support DHT11 so that the board communicates with a DHT11 unit, gets the readings and send it as some kind of Firmata message to the application.

Please, check this library in order to see if you can integrate it to your Firmata sketch.

Also check this article to draw some inspiration on how you can approach modification of the arduino sketch in order to support DHT11 readings.

If you describe the issue you have encountered in details, probability that someone can help you increases.

With best regards,
Oleg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants