Difference between revisions of "Smart Car"

From Microduino Wiki
Jump to: navigation, search
(Overview)
(Overview)
 
(11 intermediate revisions by the same user not shown)
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:
+
This 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.
+
*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.
+
*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.
+
*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 List==
Line 28: Line 28:
 
|[[Sensor-Line Finder]]||1||Find the black lines  
 
|[[Sensor-Line Finder]]||1||Find the black lines  
 
|-
 
|-
|[[Sensor-Mic]]||1||Detect sound
+
|[[Sensor-MIC]]||1||Detect sound
 
|-
 
|-
 
|[[Sensor-Line Finder]]||1||Find the black lines
 
|[[Sensor-Line Finder]]||1||Find the black lines
 
|-
 
|-
|[[Sensor-IR receiver]]||1||Receive IR signal
+
|[[Sensor-IR Receiver]]||1||Receive IR signal
 
|-
 
|-
 
|[[Sensor-Line Finder]]||2||Find the black lines
 
|[[Sensor-Line Finder]]||2||Find the black lines
 
|-
 
|-
|[[Sensor-ColorLED]]||2||Full-color LED
+
|[[Sensor-Color LED]]||2||Full-color LED
 
|-
 
|-
 
|[[Sensor-Buzzer]]||1||Emit sound
 
|[[Sensor-Buzzer]]||1||Emit sound
Line 51: Line 51:
  
 
==Module Setup==
 
==Module Setup==
1. Setting up the modules and mBattery  
+
1. Setting up the modules and mBattery <br>
2. Turn the power supply (mBattery) on.
+
2. Turn the power supply (mBattery) on. <br>
Press and hold the button on mBattery until the red LED lights up
+
Press and hold the button on mBattery until the red LED lights up <br>
3. Connect the two ColorLEDs
+
3. Connect the two ColorLEDs <br>
Connect the two ColorLEDs according to the prompts.
+
Connect the two ColorLEDs according to the prompts. <br>
4. Connect sensors to Hub.
+
[[File: Color LED connection.png|400px]]<br>
Pay attention! Match the colors of the sensor cables with the sensors according to the diagram below.
+
4. Connect sensors to Hub. <br>
5. Connect the motors to Motor module
+
Pay attention! Match the colors of the sensor cables with the sensors according to the diagram below. <br>
Connect the motors to the interfaces of Motor module.  
+
[[File: 302 car sensor connection.png|400px]]<br>
+
5. Connect the motors to Motor module <br>
 +
Connect the motors to the interfaces of Motor module. <br>
  
 
==Program Upload==
 
==Program Upload==
1. Open Arduino IDE for Microduino program. Open File>Examples>mCookie_IBC>_08_Smart Car
+
1. Open Arduino IDE for Microduino program. Open File>Examples>mCookie_IBC>_08_Smart Car <br>
2. Select Tools>Board>Microduino Core(328p).
+
2. Select Tools>Board>Microduino Core(328p). <br>
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.
+
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. <br>
4. Click the upload symbol to upload your program. Wait for the Done Uploading message to be displayed.
+
4. Click the upload symbol to upload your program. Wait for the Done Uploading message to be displayed. <br>
[[File:anywhere_refrigerator-light.jpg|600px|center]]
 
  
 
|}
 
|}
 +
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

Latest revision as of 10:42, 15 September 2017


Overview

Smart Car.jpg

This 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