mbot:lesson1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
mbot:lesson1 [2023/10/14 14:42] – [Objective] jstruebel | mbot:lesson1 [2023/10/28 15:12] (current) – jstruebel | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Objective ===== | ||
+ | This first lesson will show you how to assemble the mBot. It will then show you how the default program allows you to control the mBot. | ||
+ | ===== Parts Required ===== | ||
+ | |||
+ | The parts below are required to complete this lesson. Note that all parts except the AA batteries and CR2025 battery are included in the [[https:// | ||
+ | |||
+ | - mBot Main Chassis | ||
+ | - mBot Motors and wheel x2 | ||
+ | - mBot Mini Wheel | ||
+ | - mBot Mainboard mCore | ||
+ | - mBot Ultrasonic Sensor | ||
+ | - mBot Line Follower Sensor | ||
+ | - AA Battery Holder | ||
+ | - AA Batteries x4 | ||
+ | - RJ25 Cables & Hardware | ||
+ | - mBot Infrared Remote Controller | ||
+ | - CR2025 Coin Cell Battery | ||
+ | |||
+ | ===== Hardware Assembly ===== | ||
+ | |||
+ | <WRAP round important> | ||
+ | |||
+ | <WRAP round tip>When installing items with multiple screws or nuts, leave them loose until all are installed and then tighten to ensure that you can get them all inserted</ | ||
+ | |||
+ | - Install the right side motor on the chassis with 2pcs M3x25mm screws and 2pcs M3 nuts from the hardware kit as shown below\\ \\ <WRAP round tip> | ||
+ | - Install the left side motor on the chassis with 2pcs M3x25mm screws and 2pcs M3 nuts from the hardware kit as shown below\\ \\ <WRAP round tip>Hold the nut on the end of the screw with your fingers and turn the screw with the included screwdriver to tighten it</ | ||
+ | - Install the rubber treads on the wheels and install the wheels on the motor shafts with 2pcs M2.2x8.5mm screws from the hardware kit as shown below\\ \\ <WRAP round tip> | ||
+ | - Install the line following sensor and mini wheel on the chassis with 2pcs M4x8mm screws from the hardware kit as shown below\\ \\ <WRAP round tip> | ||
+ | - Install the ultrasonic distance sensor on the chassis with 2pcs M4x8mm screws from the hardware kit as shown below\\ \\ <WRAP round tip>Use the two outer holes on the ultrasonic distance sensor and line them up with the middle two holes on the chassis</ | ||
+ | - Install 4pcs M4x25mm brass studs from the hardware kit on the chassis as shown below\\ \\ <WRAP box>{{ : | ||
+ | - Plug one of the RJ25 cables into the line following sensor and route the cables from the motors and the line following sensor through the front hole in the chassis as shown below\\ \\ <WRAP round tip> | ||
+ | - Install the AA battery holder on the chassis using a velcro strip from the hardware kit as shown below\\ \\ <WRAP round tip>Peel off the paper on one side of the velcro strip and stick it to the battery holder. Then peel off the paper on the other side of the velcro strip and place the batter holder on the chassis with the wires hanging off the edge of the chassis.</ | ||
+ | - Install 4pcs AA batteries in the battery holder as shown below\\ \\ <WRAP box>{{ : | ||
+ | - Plug the second RJ25 cable into the ultrasonic distance sensor and install the mainboard mCore on the chassis with 4pcs M4x8mm screws from the hardware kit as shown below\\ \\ <WRAP round tip>Hold the motor cables and line following sensor cable to the left of the chassis and the ultrasonic distance sensor cable to the right of the chassis when installing the mainboard</ | ||
+ | - Connect the cables to the mainboard as described below | ||
+ | - Connect the RJ25 cable from the line following sensor to port 2 as shown below | ||
+ | - Connect the RJ25 cable from the ultrasonic distance sensor to port 3 as shown below | ||
+ | - Connect the cable from the left motor to the M1 port as shown below | ||
+ | - Connect the cable from the right motor to the M2 port as shown below | ||
+ | - Connect the cable from the AA battery holder to the 6V port as shown below\\ \\ <WRAP round tip>Use one hand to wiggle the wire from the left motor to see which one it is</ | ||
+ | - Install the CR2025 coin cell battery in the infrared remote as shown below\\ \\ <WRAP round tip>Use the small screwdriver that is with the infrared remote to remove the screw</ | ||
+ | |||
+ | ===== Robot Testing ===== | ||
+ | |||
+ | Follow the steps below to test out the included default robot program | ||
+ | |||
+ | - Place the mBot on the floor and slide the power switch on the mCore mainboard to the ON position | ||
+ | - Press the ' | ||
+ | - Use the arrow buttons to drive the mBot around \\ \\ <WRAP round important> | ||
+ | - Use the number buttons to play a little tune \\ \\ <WRAP round help> | ||
+ | - Press the ' | ||
+ | - Unfold the line following track and place it flat on the ground | ||
+ | - Place the mBot on the track and press the ' | ||
+ | |||
+ | [[: |