Rotation 2: Arduino - wrafab/taor GitHub Wiki
In the second rotation we dove into Arduino. For the first class, I completed three different projects in the ARDX kit:
I also changed the code for the Blink project, where I set the duration of on/off status to random numbers from 0 to 2000.
The code is here.
On the second class, we started our adventure through the Redboard kit, and I followed through the exercises on the guidance booklet.
However, in the final project the autonomous robot has a distance sensor pointed at the back of the vehicle, which is not very effective in improving the quality of driving. Thus, I reversed the forward direction of the vehicle and the distance sensor is now pointing at the front of the vehicle. I also shortened the delay time for backing up so that the robot will not back off too much when it approaches an obstacle.
Now the vehicle can proceed as normal. The new code is here.