Hello, this is going to be a basic question but, I am building a simple autonomous car that uses ultrasonic sensors to navigate based on the distance from the car to a wall. I have wrote the code for the sensors and assigned output pins that will send a low signal if the distance is less than 15cm, my question is about how to connect the redboard to my pre existing circuit that consists of speed and balance control circuits with two motors on a breadboard. do I only need to connect a single output port using a single wire in series at the appropriate pin, or have two pins connected to two seperate rows so that it cuts power whem the signal is low? also if I have to use two pins how do i assign the one that is coming back from the breadboard? It is a little confusing to me as both the arduino and the core circuit use different power supplies and I want to make sure the redboard does work in cutting the power from the motor.
Any chance you can provide an accurate schematic of your circuit and a list of the parts you’re using?
hi
what is the model number of ultrasonic sensor
and how to you speed control