You can power an Arduino project multiple ways. You can use your computer for power from USB, a 9 volt battery, a wall power adapter and more.
You can use Analog Pins on your Arduino Board to read from an IR sensor if you need a numeric reading. Functional Parts in the Project: Arduino Uno – https://store.arduino.cc/usa/arduino-uno-rev3 IR Sensor – https://amzn.to/2IDw7SE
Using multiple IR sensors you can make sure your Arduino vehicle does not become stuck along a wall or obstacle. Functional Parts in the Project: FeeTech FT-MC-002-SMC – https://amzn.to/2MLIzoF FeeTech 2CH-SM-Controller (Motor Controller) Arduino Uno – […]