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

Create arduino_sensor_example.ino #661

Merged
merged 2 commits into from
Feb 13, 2022
Merged

Create arduino_sensor_example.ino #661

merged 2 commits into from
Feb 13, 2022

Conversation

cmonicob
Copy link
Contributor

@cmonicob cmonicob commented Feb 8, 2022

No description provided.

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2022

Hi
thanks for the code, but it is a bit unclear how this works with TP4. As far I can see, this code will read out some sensors, but I am unfamiliar with Adruino. So is it possible to add some extra comment/info in the top what this file does and how to use it with TP4?

code for arduino pro mini
It is an example code to be able to integrate any sensor to TerrariumPi using arduino and i2c protocol together with the type of sensor "Arduino Sensor".
The example code transforms 3 HC-SR04 sensors and one MHZ19C sensor to a block of bytes and sends them through i2c
@theyosh theyosh merged commit eeb0f0c into theyosh:main Feb 13, 2022
@cmonicob cmonicob deleted the patch-3 branch March 3, 2022 21:06
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

Successfully merging this pull request may close these issues.

2 participants