Difference between revisions of "Smart Car"

From Microduino Wiki
Jump to: navigation, search
(Module Setup)
(Overview)
Line 5: Line 5:
  
 
==Overview==
 
==Overview==
[[File:302 car.jpg|400px|center]]
+
[[File:Smart Car.jpg|400px|center]]
  
 
The Microduino Smart Car has three modes. Change the mode at any time using the remote control:
 
The Microduino Smart Car has three modes. Change the mode at any time using the remote control:

Revision as of 10:38, 15 September 2017


Overview

Smart Car.jpg

The Microduino Smart Car has three modes. Change the mode at any time using the remote control: Remote Control: Use the remote control’s arrow buttons to drive the car directly. Line Finder: Create a path with black tape and the Smart Car will automatically move along the path. Obstacle Avoidance: The smart car moves forward until it encounters an object in front of it. It will then back up and try to steer away to clear the obstacle.

Module List

Module

Module Quantity Function
mCookie-Core 1 Core board
mCookie-Motor 1 Motor driver
mCookie-Hub 1 Sensor adapter plate
mCookie-mBattery 1 Power supply and program download
Sensor-Line Finder 1 Find the black lines
Sensor-Mic 1 Detect sound
Sensor-Line Finder 1 Find the black lines
Sensor-IR receiver 1 Receive IR signal
Sensor-Line Finder 2 Find the black lines
Sensor-Color LED 2 Full-color LED
Sensor-Buzzer 1 Emit sound

Other Equipment

  • Motor*2
  • Wheel*2
  • USB cable*1
  • Sensor cable*2
  • Motor cable*2
  • Remote control*1
  • Building blocks or other fixation structures

Module Setup

1. Setting up the modules and mBattery
2. Turn the power supply (mBattery) on.
Press and hold the button on mBattery until the red LED lights up
3. Connect the two ColorLEDs
Connect the two ColorLEDs according to the prompts.
Color LED connection.png
4. Connect sensors to Hub.
Pay attention! Match the colors of the sensor cables with the sensors according to the diagram below.
302 car sensor connection.png
5. Connect the motors to Motor module
Connect the motors to the interfaces of Motor module.

Program Upload

1. Open Arduino IDE for Microduino program. Open File>Examples>mCookie_IBC>_08_Smart Car
2. Select Tools>Board>Microduino Core(328p).
3. Select Tools>Port>COM X. X is a number that varies. If there is no port option, try plugging mBattery into a different USB port.
4. Click the upload symbol to upload your program. Wait for the Done Uploading message to be displayed.

For more details, please refer to the instruction of smart car of IBC https://s3-us-west-2.amazonaws.com/microduino-pictures/download/download/IttyBittyCity_English.pdf