Docsity

Manual construcción robot, Ejercicios de Tecnología

Vista previa parcial del texto

¡Descarga Manual construcción robot y más Ejercicios en PDF de Tecnología solo en Docsity!

ARDUINO 2WD SMART

ROBOT CAR KIT

Level: Beginner GK-KIT- 003

P a g e | 2

PARTS LIST:

Please ensure that the following pieces are included in your kit! Component Quantity Image Notes Arduino Sensor Shield 1 Please see note about jumpers below L298N Dual H-Bridge Motor Driver 1 Please see note about jumpers below Arduino Uno 1 - 40 Pin Breakable Headers 1 Not Required for this Kit Free Gift! Servo Mounting Brackets 1 Ignore the Top plate provided Servo Base 1 Comes in same bag as Servo mounting Brackets Servo Motor (SG90) 1 Comes in same bag as Servo mounting Brackets USB Cable 1 Color and Length may vary

P a g e | 3

Recommended Tools:

Needle Nose Plier Flush Wire Cutter (Optional) Wire Stripper Heat Shrink (Optional) Soldering Iron Brass Sponge (Optional) Screwdriver (+) Frame Assembly: Unwrap the paper that has the frame, motor, battery holder and various components secured together. Peel both sides the acrylic paper. You can start from either side top corner and work your way down. For this manual I will only remove one side for ease in visual demonstration.

Motor Mounting Brackets are used to fixed the DC motors to the frame. Slide the bracket into the slot indicated in the red circle and flip the unit to start mounting the motors! Ensure the dot is facing inwards when assembling the frame to the chassis. Shown with a green circle. The wire leads will be facing outwards. The motors will be facing the bottom. Shown with the red arrow. Using a soldering iron, solder the red wire to the pin that is the farthest from the frame and the black cable to the pin that is the closest to the frame. (You can also wire twist the cable onto the motor) Place another Motor Bracket on the outside, the grove will allow for the bracket to slide in. Using the long screw provided, slide it into the two brackets and motor. To fasten the nut, gently squeeze the motor and bracket and push the unit outwards. You may also use a needle nose to fasten the nut. Use the brass spacers and Philips screws and mount the nylon wheel on the same side as the motors. The wheel will align over the circled holes. Must insert two long screws. Repeat for the other side. Flip over and secure with screws.

Verify the jumpers located with the yellow circle are also attached. Place the Shield over the arduino microcontroller as shown. A section below will explain how this shield works. Flip the car over where the motor and nylon wheels are located. You can see the nylon spacer for the h-bridge. Place another nylon spacer in the red circle and secure it on the other side with a phlips screw. It should look something like this when you place the h-bridge. Use only one hex screw to fasten the h- bridge to the chassis.

Flip the car over to the side with the arduino. From the servo pack install the servo plastic frame by sliding the motor into the bracket on one side and repeating for the other. Secure it using a sharp screw bit found in the servo pack. Using a screwdriver or drill bit, enlarge the hole to hold three m3 screws. Slide the top servo bracket into the bottom frame. The gears should align and fit. Ensure by hand that the motor can turn left and right 90° or more, if this is not possible remove and readjust before proceeding! Take a small sharp screw and insert into the location of the red circle. Place the few remain spacers and shown in the image. Fasten on the other side where the motors are located with some hex nuts. Flip the unit and insert another nylon spacer for the battery holder. Fasten on the other side with a hex nut. Note: Insert the nylon spacer where the red circle is, ignore where the nylon spacer is currently in the photo.

How the Sensor Shield Works: The select jumper allows the voltage from the terminal block to enter and become regulated to 5VDC for the Arduino microcontroller. If the jumper is not present, you must connect a dc connector into the Arduino dc port.

The highlighted column is referred to as the 5v bus. Instead of having multiple servos or sensors connecting into a single 5VDC port this bus reduces crowding and makes connections convenient. Same principal as the 5V bus, this is called the ground bus. Pinout on the left image highlighted are equivalent to the image on the right with the red box. This is used for digital sensors. The highlighted section is for analog signals and is equivalent to the image on the right with the red box. Programming Arduino with the Code

  1. Plug Arduino Microcontroller into computer using the blue USB cable provided
  2. Install the Software to read and write program to the chip from ARDUINO.CC, the program is free! << https://www.arduino.cc/download_handler.php >>
  3. Download the driver from this link: << http://sparks.gogo.co.nz/ch340.html >> For windows please download from here: << http://sparks.gogo.co.nz/assets/site/downloads/CH34x_Install_Windows_v3_4. zip >>
  4. Open the Arduino software and select the com port to program the microcontroller.
  5. Download our premade software from our website or following this link << https://abra- electronics.com/index.php?dispatch=attachments.getfile&attachment_id=134 >>
  6. Extract the file and open one of the example codes, it will open in the arduino software, press upload and the car should be up and running.