Hi Hans, I made a self driving Robot Wagon, just for fun, using three HC-SR04 modules. I am using the JAL HC-SR04 library for measuring the distance but since the library is made to support only one module, I am using an Analog Multiplexer IC (74HC4052) to multiplex the three sensors.
For a video, see: https://youtu.be/kwYxd5GjtCw I also posted the project on Instructables: https://www.instructables.com/Self-Driving-Robot-Wagon/ Kind regard, Rob Op zondag 9 februari 2025 om 16:35:23 UTC schreef [email protected]: > Hi Hans, > > I did not make something like this but if you use the JAL library for the > HC-SR04 you need to mutiplex the output of the device and connect the > multiplexed signal to the interrupt pin of the PIC. > > Next to that you need also need to multiplex the trigger signal that goes > to each HC-SR04 module. > > Kind regards, > > Rob > > > > > ------------------------------ > *Van:* [email protected] <[email protected]> namens Hans van > Veldhuizen <[email protected]> > *Verzonden:* zondag 9 februari 2025 17:04 > *Aan:* jallib <[email protected]> > *Onderwerp:* [jallib] hcsr04 3x > > Hello, I have tried the hc sr04 and now have something in hand that needs > three such sensors at the same time. Has anyone made something like this > before? > greetings > Hans > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/jallib/fe0e62b2-1bbb-43db-a9d8-50e84a814178n%40googlegroups.com > > <https://groups.google.com/d/msgid/jallib/fe0e62b2-1bbb-43db-a9d8-50e84a814178n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jallib/adec607b-948f-468f-8b6e-6acae5ead087n%40googlegroups.com.
