I am a year one electrical engineering student, and I am currently doing a project about building an electrical robot car. One of the required features of the car is to add a front sensor to the front, and it will continuously reverse backwards when it detects a white wall. (So, in other words, it will continual to move backwards even after it can't detect the wall anymore) But, I am having problems on how to implement this.
The front sensor provided will be on high when it detects nothing in front, and on low when it detects a white wall. I know that I need the signal to stay on low after it detects the wall. So I need a circuit that would stay in the new state after being triggered.
I hope I have my question clear enough... thank you.
P.S. Some of the ideas discussed in class were D flip flops, I'm not sure if that's the idea to be put in here.
P.S. I need to mention that we are only allow to use ICs like D flip flop, JK flip flop, counter. comparators, timers, not gates, or gates, and gates, and other basic gates ICs.