1. Disconnect the battery power wire leading to the Vin terminal on the Arduino Uno board since the board will get powered via a USB cable.2. Connect the Arduino Uno board to your host computer using USB cable.3. Select Tools > Run on Target Hardware > Run to download the example model.4. After the model is downloaded, disconnect the USB cable from your Arduino Uno board.5. Connect back the battery power wire leading to the Vin terminal on your Arduino Uno board.6. Place the vehicle on the ground and turn the vehicle switch on. The model runs on the board and the vehicle starts moving.7. Notice that the path of the vehicle is not straight, as predicted by the simulation.8. Turn the vehicle switch off.
đang được dịch, vui lòng đợi..