Skip to main content

Belajar Dasar SCADA

Enhanced Spider Robot With Arduino Nano


This spider robot is suitable for kids.

My version will have two operating modes:

  • Remote control using bluetooth module (HC-06) and an Android phone app. This is the default start-up mode.
  • Autonomous line-following. This mode is selected through an Android phone app.

Let’s start building.




Step 1: What You Need?

2 x Spider Robot Kit 
4 x Ni-MH Battery/ Charger combo and AA Battery Holder 
2 x IR Line Tracker Sensor Module 
1 x On-Off Switch 
1 x Mini Breadboard
1 x Arduino Nano
1 x Motor Driver ( Using TB6612FNG Breakout but L298x Based driver should work just as well)
1 x HC-06 Bluetooth Module 
1 x 9V Step-up Booster ( 4 x Ni-MH  is only 4.8V). While motors will use 4.8V, I need to boost voltage to 9V to power Nano through Vin)
1 x Mini USB Cable 
Male-to-Male Jumper Wires 
Approx 4" x 4" Cardboard (Used as platform)
1 x Computer with Arduino IDE


See http://letsmakerobots.com/node/37661 for building the base chassis. While 8 leg linkages are obtained from a single kit, you’ll need to use following parts from another kit to complete the chassis:
  • Motor and body
  • Axle
  • Leg linkage case without gears (This is used for joining two independent leg linkages)
  • Cross beam


Since the built-in battery housing on the body pieces are not needed in my design, cut off about 3mm from the height and glue the platform cardboard on top. Use leftover plastic pieces to build a truss to support the platform above motors and build mounting beams for IR line tracking sensors between two motors.


As for the on-off switch location, I put that on next to the battery pack. This required cutting the plastic underneath the platform. I think the better location would be between the cardboard and the plastic body underneath the cardboard and use a glue gun to secure it.



Step 3: Build Your Circuit. 


Wire all the components according to the diagram. You’ll notice that I use 9v step-up boost converter to power Nano through Vin pin. This eliminates having another 9V battery for the logic. Motors are still powered by 6V or 4.8V if using Ni-MH rechargeable batteries.





Step 4: Android Mobile App 


While I could have built my own app using MIT App Inventor, why reinvent the wheel when there are numerous already written apps that fit for this purpose? I downloaded few from Google Play to evaluate them and eventually decided to use Arduino Bluetooth Controller. In Controller Mode, I customized following buttons to send specific characters that are recognized by the code.

  • Left = “l” (turn left)
  • Right = “r” (turn right)
  • Up = “u” (go forward)
  • Down = “d” (go reverse)
  • X = “s” (stop)
  • Select = “t” (toggle between RC and Line Following Mode)


Step 5: Upload The Code.


Comments in the code should explain what’s going on in the code. It was written for Nano but it should work on other Arduino boards with no or little mods.


Step 6: Done! 


The kit comes with a motor that is designed for low voltage/high current environment. When using an H bridge driver such as TB6612FNG, it’s better to use high voltage/low current motors. This may explain why, with heavier alkaline batteries, it couldn’t lift the body up to take a step. 



http://news.chivindo.com/668/enhanced-spider-robot-with-arduino-nano.html

Comments

Popular posts from this blog

Basic PLC Ladder Programming Examples 23

Basic PLC Ladder Programming Examples 23 Basic PLC Ladder Programming Training Examples for Beginners.    Hi friends, here we are starting unique a series of Free Training on PLC Ladder Programming & tutorials. These PLC Ladder Programs are important to learn basics of Ladder programs. Example 7: Sequential control If we serially connect the normally closed contact of Y2 in example 5 to the circuit of Y1 as an AND condition for Y1 (as the diagram in the left hand side), the circuit can not only make Y1 as the condition for Y2, but also allow the stop of Y1 after Y2 is enabled. Therefore, we can make Y1 and Y2 execute exactly the sequential control Example 8: Oscillating circuit The ladder diagram above is a very simple one. When the program starts to scan the normally closed contact Y1, Y1 will be closed because coil Y1 is Off. When the program then scan to coil Y1 and make it On, the output will be 1. When the program scans to the normally closed contact Y1 again in the n...

Merakit pemancar mini FM

Merakit Pemancar mini FM Pemancar fm ini bekerja pada frekuensi 88- 108 MHz  dan memiliki jangkauan radius lebih dari 1 kilometer, tegangan yang digunakan sekitar  9 volt s/d 12 volt DC Pemancar ini menggunakan pcb produk ronica yang banyak dijual di toko elektronik dengan type Ronica SC-197                                                                                                                 Rangkaian ini sangat cocok untuk para pemula yang hobi elektronik. Karena rangkaiannya             sederhana dan komponennya mudah didapatkan di toko toko elektronik. Pemancar fm bisa dijadikan sebagai alat komunikasi geratis, memutar musik, untuk broadsact atau layak nya...

Takbiran Idul Adha 1440 H Jamaah Muda Masjid At Takrim Gapuk

Malam takbiran Idul Adha 1440 H ini terasa kurang afdol kalau tidak diadakan langsung acara takbiran bareng di masjid dan bentuk takbirannya pun bukan dari MP3 maupun CD yang diputar di CD Player lantas ditinggal pergi oleh Marbot masjid. Di Masjid At Takrim Gapuk Dasan Agung Mataram,  para jamaah muda yang tidak ikut pawai takbiran keliling akan berkumpul membentuk halaqoh/kumpulan sambil mengumandangkan bacaan takbiran saling sahut menyahut dengan membentuk pola suara yang uenak di dengar. Dan bila semakin malam maka akan semakin bertambah para jamaah yang ikut serta membaca takbiran hingga larut malam jam 03.00 pagi.  Kalau masalah bergadang hingga larut malam ini,  para jamaah muda ini sudah terbiasa karena mereka setiap malamnya selalu mertadarusan membaca Al Qur'an hingga jam 12.00 WITA. Alloohu akbar Alloohu Akbar Laaailaaha illallohu Alloohu Akbar Alloohu Akbar walillaahilham Gapuk Dasan Agung, malam ahad, 10082019  23.00 WITA  by: AlFuad Gapuki http://n...