Testing a 74HC4051 The 74HC4051 is an analogue multiplexer / de-multiplexer IC. To this this IC, an Arduino Uno can be used by hooking it up with two 74HC4051 ICs. The first one is used as a multiplexer, the second one as a de-multiplexer.
If speed is not an issue, and you want to look your robot car like it can actually see and think, than this method is surely a very satisfying one.
As an alternative to the 3 wheel robot, an RC controlled car with multiple HC-SR04 sensors, is the next best thing to try out.
Having some kind of informative feedback from the autonomous vehicle can help a lot during debugging and fine-tuning. However, the serial monitor is not really an option once the vehicle is driving around. But a display turns out to be a very nice solution.
Having a rotary encoder with RGB illuminated push button, gives a nice feature to the project. The speed of the car can be controlled, and a start/stop state can be set and viewed with the illuminated push button.
With all the testing done, it’s time to put all the gathered knowledge together, and build the final product: a self-driving-obstacle-avoiding-smart-robot-car, with display and illuminated encoder button. If it works as great as it sounds, it is an awesome machine.
With so many information available, it’s sometimes hard to figure out where to start best. Are the tutorials you are using complete enough to get started properly, yet simple enough not to get lost as a newbie? Allow me to point you in the right direction.
Making a driving vehicle avoiding obstacles using HC-SR04 sensors, turns out to be quite challenging. But despite the shortcomings of this hardware, it is achievable in a certain environment.
Having multiple Arduino boards communicate with each other, can be done in several ways. Depending on the data content, accuracy and direction the data needs to be sent, one protocol may be better than the other.
If you haven’t read the previous tutorial on multiple sensors, you may want to read that one first: Multiple HC-SR04 with Arduino using interrupts With using multiple interrupts, there’s the disadvantage that the sensors may interfere with each other, when facing the same direction, and crossing each others line of sight. Also, since most Arduino […]