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

Changes to add a distance sensor (HC-SR04) #15

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

AntonioNav
Copy link

Changes to add a distance sensor (HC-SR04). It allows checking when moving forward if there is an obstacle and if so, move on to the next step.

The default configuration uses expansion pins SDA / SCL / 5V / GND with this scheme:

Arduino <----> HC-SR04
SDA (A4) <----> Echo
SCL (A5) <----> Trigger
5V <----> Vcc
GND <----> GND

@rafacouto
Copy link
Member

I have read the code... It is using forward button to implement the advance with obstacule detection and avoid if that is detected, isn't it?

In the next future, I will merge in the development branch in order to test.

Good job! 👍

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