CaraMemasang Website β 5640 | 4 Read more ; Tutorial : Cara Memasang reCAPTCHA 2.0 β 17694 | 9 Read more ; Artikel ini merupakan artikel terakhir tentang bagaimana cara membuat template WordPress, bagi Read more . Oct. 20. 2017. Tutorial : Cara Membuat Template WordPress - Part 4.
Langkahlangkah Cara Membuat Robot. 1. Langkah pertama, periksa motor. bila motor yang kamu punya tidak berkabel, pasang kabel pada tempatnya (biasanya berbentuk 2 plat logam kecil). Disarankan kabel tersebut disolder supaya kencang, tapi dapat juga ditempel dengan blu-tack atau cellotape. scienceatelier.wordpress.com. 2.
c o a) o c E c: c: -o X E o o o E -a o E o o c: o o 00 -o c o E 8 o o o . z o E o c o E o c: O 2 E o o o 2 O 2 O 2 E E E -c
Vay Tiα»n Nhanh. Pada posting kali ini saya akan membagikan ilmu saya yang sudah saya dapatkan pada bangku kuliah yaitu cara membuat robot wall Follower. Untuk komponen yang digunakan yaitu sebagai berikut 1. Arduino Nano Arduino Nano adalah papan pengembangan mikrokontroler yang berbasis chip ATmega328P dengan bentuk yang sangat mungil. Secara fungsi tidak ada bedanya dengan Arduino Uno. Perbedaan utama terletak pada ketiadaan jack power DC dan penggunaan konektor Mini-B sebagai papan pengembangan karena board ini memang berfungsi sebagai arena prototyping sirkuit mikrokontroller. Dengan menggunakan papan pengembangan, anda akan lebih mudah merangkai rangkaian elektronika mikrokontroller dibanding jika anda memulai merakit ATMega328 dari awal di breadboard. untuk lebih lengkapnya bisa kunjungi website berikut Arduino Nano 2. Sensor Ultrasonic Pengertian Sensor Ultrasonik Sensor ultrasonik adalah sebuah sensor yang berfungsi untuk mengubah besaran fisis bunyi menjadi besaran listrik dan sebaliknya. Cara kerja sensor ini didasarkan pada prinsip dari pantulan suatu gelombang suara sehingga dapat dipakai untuk menafsirkan eksistensi jarak suatu benda dengan frekuensi tertentu. Disebut sebagai sensor ultrasonik karena sensor ini menggunakan gelombang ultrasonik bunyi ultrasonik.Gelombang ultrasonik adalah gelombang bunyi yang mempunyai frekuensi sangat tinggi yaitu Hz. Bunyi ultrasonik tidak dapat di dengar oleh telinga manusia. Bunyi ultrasonik dapat didengar oleh anjing, kucing, kelelawar, dan lumba-lumba. Bunyi ultrasonik nisa merambat melalui zat padat, cair dan gas. Reflektivitas bunyi ultrasonik di permukaan zat padat hampir sama dengan reflektivitas bunyi ultrasonik di permukaan zat cair. Akan tetapi, gelombang bunyi ultrasonik akan diserap oleh tekstil dan busa. Cara Kerja Sensor Ultrasonik Pada sensor ultrasonik, gelombang ultrasonik dibangkitkan melalui sebuah alat yang disebut dengan piezoelektrik dengan frekuensi tertentu. Piezoelektrik ini akan menghasilkan gelombang ultrasonik umumnya berfrekuensi 40kHz ketika sebuah osilator diterapkan pada benda tersebut. Secara umum, alat ini akan menembakkan gelombang ultrasonik menuju suatu area atau suatu target. Setelah gelombang menyentuh permukaan target, maka target akan memantulkan kembali gelombang tersebut. Gelombang pantulan dari target akan ditangkap oleh sensor, kemudian sensor menghitung selisih antara waktu pengiriman gelombang dan waktu gelombang pantul diterima. Untuk belajar lebih lengkapnya bisa kunjungi website Sensor Ultrasonik DC Motor DC adalah jenis motor listrik yang bekerja menggunakan sumber tegangan DC. Motor DC atau motor arus searah sebagaimana namanya, menggunakan arus langsung dan tidak langsung/direct-unidirectional. Motor DC digunakan pada penggunaan khusus dimana diperlukan penyalaan torque yang tinggi atau percepatan yang tetap untuk kisaran kecepatan yang luas. Untuk lebih lengkap bisa kunjungi website berikut Motor DC 4. Driver Motor Untuk dirver motor teman-teman bisa buat sendiri atau beli jadi. Biasanya druver motor yang digunakan pada robot tipenya H-bridge bisa menggunakan transistor atau FET tergantung besar daya yang dikonsumsi oleh motor tersebut. sedangkan untuk driver motor yang menggunakan IC untuk cara kerja driver motor dengan transistor atau FET hampir sama yang membedakan hanya bentuk jelas wkwk dan konsumsi daya hingga ketahanan driver. Bagaimana dengan driver motor yang menggunakan IC seperti L293d atau L298 ? Driver motor ini biasanya sering digunakan untuk motor DC 5 volt hingga 12 volt sedangkan untuk motor DC 12 volt dengan torsi yang besar biasanya driver motornya menggunakan FET. Lalu apa bedanya IC l293 dengan IC l298 ? Bedanya pada batas arus yang bisa dilalui oleh IC. untuk lebih lengkapnya teman-teman bisa cek disini untuk L293 dan bisa cek disini untuk L298 karena orang elektro harus selalu berpedoman pada datasheet seperti kita yang beragama berpedoman pada kitab suci masing-masing. Dan untuk komponen penunjang lainnya tidak perlulah saya jelaskan karena saya yakin teman-teman pasti sudah paham seperti baterai, kabel jumper dan lain-lainnya. Kalau masih bingung temen-temen bisa komen aja nanti saya lengkapi posting ini. Berikut skematik dari robot wall follower Gambar disamping merupakan skematik driver motor dengan menggunakan IC L293d. untuk penjelasan pinoutnya temen-temen bisa lihat datasheet seperti yang sudah saya anjurkan diatas. Pada driver ini ada yang menarik, apakah itu ? yaitu pin enable 1 untuk output 1 dan output 2 saya hubungkan langsung ke vcc 5 volt karena saya tidak menggunakan pin PWM sehingga saya hubungkan ke vcc. Namun kenapa pada program ada nilai PWm nya ? Iya karena PWM tersebut sifatnya tetap pada setiap konfigurasi pergerakan robot namun jika teman-teman ingin nilai PWM nya bisa di adjustable biasanya pin enable nya di hubungkan pada pin PWM arduino dan coding nya sudah mulai beda sama coding saya. Bagaimana jika pin enable tersebut tidak saya hubungkan apakah masih bisa bekerja ? kalau itu saya masih belum pernah mencoba tapi di youtube ada yang pernah coba dan berhasil. Intinya banyakin refrensi dulu baru mencoba dan jangan cuma teori kalo belum mencoba ehehe. untuk catu daya IC dan catu daya untuk motor kalo bisa kita bedakan aja besar teganggannya. tetapi untuk ground semua kita jadikan satu biar bisa bekerja. Untuk skema sensor ultrasonik nya saya ambil di internet soalnya di aplikasi fritzing saya tidak ada sensor ultrasoniknya hehe.. untuk wiring sensor ultrasonik sangat gampang dikarenakan cuman ada 4 pin yaitu vcc, echo, trigger, gnd. jadi lebih muda dari skematik driver motor tadi. Dan yang perlu diperhatikan yaitu pin trigger harus di fungsikan sebagai output dan pin echo di fungsikan sebagai input. Untuk penjelasan lebih detail teman-teman bisa kunjungi website ini Untuk robot line follower ini saya menggunakan dua sensor ultrasonik yang saya tempatkan di depan dan disamping sebelah kiri. Fungsi sensor depan sebagai acuan kapan robot tersebut belok sedangkan untuk sensor kiri sebagai penstabil robot agar dapat terus mengikut dinding tanpa harus menabrak dan menyentuh dinding. Untuk code Arduino nya dibawah ini int pinTrig1 = 7; int pinEcho1 = 6; int pinTrig2 = 4; int pinEcho2 = 3; float jarakkiri; float jarakdepan; void setup { pinMode11,OUTPUT; // pin 5, 9, 10, 11 adalah pin untuk motor DC. pemasangannya bebas pinMode10,OUTPUT; // bisa disesuaikan karena motor DC non polaritas sehingga bisa di pinMode9,OUTPUT; // tukar posisinya apabila tidak sesuai dengan apa yang diinginkan pinMode5,OUTPUT; pinMode7,OUTPUT;// pin trigger ultrasonik depan pinMode6,INPUT_PULLUP;// pin echo ultrasonik depan pinMode4,OUTPUT; // pin trigger ultrasonik kiri pinMode3,INPUT_PULLUP;// pin echo ultrasonik kiri } void loop { ambil_jarak_kiri; ambil_jarak_depan; if jarakdepan<=30{ kanan_lancip; delay100; } else ifjarakkiri>=20{ kiri_landai; } else ifjarakkiri<=20{ kanan_landai; } else{ maju; } } // berikut konfigurasi pergerakan robot, jika teman-teman ingin lebih banyak bisa menambahkan // sendiri karena saya hanya menggunakan 2 sensor jadi konfigurasi segini juga sudah cukup void maju // robot bergerak maju { digitalWrite5,LOW; digitalWrite9,HIGH; analogWrite9,80; digitalWrite11,HIGH; digitalWrite10,LOW; analogWrite10,80; } void kanan_lancip // robot belok kanan secara tajam { digitalWrite5,LOW; digitalWrite9,HIGH; analogWrite9,100; digitalWrite11,LOW; digitalWrite10,HIGH; analogWrite10,100; } void kanan_landai // robot belok kanan { digitalWrite5,LOW; digitalWrite9,HIGH; analogWrite9,80; digitalWrite11,HIGH; digitalWrite10,LOW; analogWrite10,50; } void kiri_landai // robot belok kiri { digitalWrite5,LOW; digitalWrite9,HIGH; analogWrite9,35; digitalWrite11,HIGH; digitalWrite10,LOW; analogWrite10,100; } // pengambilan data sensor kiri dan kanan yang dikonversi kedalam satuan jarak untuk // menjadi acuan robot kapan robot bergerak lurus, belok dan lain-lainnya. void ambil_jarak_kiri { float durasi,cm; digitalWritepinTrig2,HIGH; delayMicroseconds5; digitalWritepinTrig2,LOW; delayMicroseconds5; durasi = pulseInpinEcho2,HIGH,3000; cm=durasi/29/2; if cm==0 cm =50; jarakkiri= cm; delay10; } void ambil_jarak_depan { float durasi,cm; digitalWritepinTrig1,HIGH; delayMicroseconds5; digitalWritepinTrig1,LOW; delayMicroseconds5; durasi = pulseInpinEcho1,HIGH,3000; cm=durasi/29/2; if cm==0 cm =50; jarakdepan= cm; delay10; }
Pada lilin batik ini saya akan menjelaskan tentang bagaimana cara membuat sebuah robot nan dapat menyingkir tembok atau halangan yang ada didepannya, robot ini menggunakan 3 buah sensor jarak HC-SRF04 dan menggunakan Arduino sebagai kontrollernya. robot ini jika terdapat halangan didepannya maka kamu akan menghindarinya dan akan mengejar jalan yang terbaik. lakukan lebih jelasnya berikut adalah skema dan programnya. a. Arduino Uno b. Motor Driver L298 c. Motor DC + Gearbox d. Pemeriksaan Jarak HC-SRF04 e. Programa Arduino IDE define trigPin1 A0 define echoPin1 A1 define trigPin2 A2 define echoPin2 A3 define trigPin3 A4 define echoPin3 A5 int mtrkanan1 = 4; int mtrkanan2 = 5; int mtrkiri1 = 6; int mtrkiri2 = 7; int kecmtr1 = 9; int kecmtr2 = 10; long duration1, distance1; long duration2, distance2; long duration3, distance3; void setup { pinModetrigPin1,OUTPUT; pinModeechoPin1,INPUT; pinModetrigPin2,OUTPUT; pinModeechoPin2,INPUT; pinModetrigPin3,OUTPUT; pinModeechoPin3,INPUT; pinModemtrkanan1,OUTPUT; pinModemtrkanan2,OUTPUT; pinModemtrkiri1,OUTPUT; pinModemtrkiri2,OUTPUT; pinModekecmtr1,OUTPUT; pinModekecmtr2,OUTPUT; } void loop { digitalWritetrigPin1, LOW; delayMicroseconds2; digitalWritetrigPin1, HIGH; delayMicroseconds10; digitalWritetrigPin1,LOW; duration1 = pulseInechoPin1, HIGH; distance1 = duration1/2 / digitalWritetrigPin2,LOW; delayMicroseconds2; digitalWritetrigPin2,HIGH; delayMicroseconds10; digitalWritetrigPin2,LOW; duration2 = pulseInechoPin2,HIGH; distance2 = duration2/2 / digitalWritetrigPin3,LOW; delayMicroseconds2; digitalWritetrigPin3,HIGH; delayMicroseconds10; digitalWritetrigPin3,LOW; duration3 = pulseInechoPin3,HIGH; distance3 = duration3/2 / β; β; if distance1 > 20&&distance2 > 20&&distance3 > 20 { analogWritekecmtr1,250; digitalWritemtrkanan1,HIGH; digitalWritemtrkanan2,LOW; analogWritekecmtr2,250; digitalWritemtrkiri1,LOW; digitalWritemtrkiri2,HIGH; } if distance1 > 20&&distance2 20 { analogWritekecmtr1,250; digitalWritemtrkanan1,LOW; digitalWritemtrkanan2,HIGH; analogWritekecmtr2,250; digitalWritemtrkiri1,LOW; digitalWritemtrkiri2,HIGH; } if distance1 20 { analogWritekecmtr1,250; digitalWritemtrkanan1,HIGH; digitalWritemtrkanan2,LOW; analogWritekecmtr2,250; digitalWritemtrkiri1,HIGH; digitalWritemtrkiri2,LOW; } if distance1 > 20&&distance2 20&&distance3 > 20 { analogWritekecmtr1,250; digitalWritemtrkanan1,HIGH; digitalWritemtrkanan2,LOW; analogWritekecmtr2,250; digitalWritemtrkiri1,HIGH; digitalWritemtrkiri2,LOW; } if distance1 > 20&&distance2 > 20&&distance3 < 20 { analogWritekecmtr1,250; digitalWritemtrkanan1,LOW; digitalWritemtrkanan2,HIGH; analogWritekecmtr2,250; digitalWritemtrkiri1,LOW; digitalWritemtrkiri2,HIGH; } } f. VIDEO HASILNYA
Introduction Build an Autonomous Wall-E Robot Hi! After a kabillion requests, here you go! This robot is running the EZ-B available at First a little introduction, watch the vide I started off with the toy titled "Interactive Wall-E". Available at toys'r'us current price $ I am a robot hobbiest and have a lot of expierence with the programming and design to give robots expression and life. The first bit advice I can lend is to be confident. Second advice is to be creative. Together, you're mind will figure out the rest for you There are plenty of peices available to you. My workshop is nothing special. I keep a supply of parts that are low cost. I usually collect items from disassembling other toys . Sadly, servos are the most expensive parts of the bunch. For fasteners I use Zip Ties and an arragement of small screws, bolts and nuts. All are available in cheap combo kits at your local hardware store. To modify the casings, i use a speed adjustable dremel and sometimes my soldering iron to melt plastic. For dremeling, please keep a vacumn nearby. *Warning For melting, keep a window open with a fan!! Also, if you choose to melt plastic peices, use a seperate bit on your soldering iron. The plastic will burn to the tip and make soldering a pain in the butt! Now for the programming part... This is actually very easy. I do my programming for my robots using the EZ-Robot Project and the EZ-B Robot Controller. It does not require any programming. You can just plug in your servo motors and control the robot from your PC. It also contains voice recognition and a bunch of other neat features. You can get it here Here's a video of Wall-e in action... Here's a cute video of Wall-e falling over while chasing his ball Step 1 PartsStep 2 Take the Toy ApartUsing your screw driver set, you'll want to disassemble the entire toy. Keep track of how it came apart, because the goal is to re-assemble .. *Note It is not neccessary to take apart the Eye Encloser. The wires from the Eye Encloser can be connected to your micro. Step 3 ArmsYou'll need to mount the servos onto the top part of the toy's case. This is going to be your first modification to the body. Hold the two mid sized servos to where the original arm mechanism was and notice how to fit them. The photo on this step shows a mounted servo, and the original mechanism. You'll of course want to have both servos mounted, one for each arm. Use the dremel to cut away the plastic on the ends to fit the servos. Make sure you use a low speed on the dremel. Drill Style cutting bits work best. - I used the glue gun to create a nice tight fit for the servos. - I then melted two tiny holes in the plastic to fit small screws for additional support. Mounting the arms to the servos is a little tricky. I don't have a clear photo of how i did it, but be creative. The servo packs come with a variety of bits and extensions. Be creative with those extensions. I took a 4 arm extension and trimmed it down to fit within the arm. No glue or screws were neccessary. Also, once you figured out how to mount the arm to the servo, make sure the servo and arm are both in the centered position. Becuase remember, the servo doesn't spin 360 degrees. It has a Start and Stop position! So for full movement, you're not going to want the arm mounted at bottom of the servo's positioning, or it will only be able to go up from that point Step 4 Mounting the Head/neckThe neck will mount to the GWS Standard servo. This will allow it to move left and right. *Note Like the arms, the servo needs to be centered ; I used a combination of the dremel and soldering iron to flatten the neck adapter. I then melted 3 small holes to fit screws onto the circular servo accessory. To fit the servo and mounted head bracket, you'll need to dremel the hole larger. Also remove and break off any plastic peices that prevent the servo from sitting flush againt the plastic. Recycling some of the wall-e screws and mounting locations, you'll be able to mount the servo. When I mounted the head to the neck bracket, I used a zip tie temporarily. I later replaced it with a bolt and 5 Drivetrain - Part 1Now let's give wall-e some wheels! So the toy doesn't have any motors or drivetrain. It's a push toy. So you'll need to be very confident and creative here. Twist and turn the wheels until the metal axel breaks loose. It's quite a struggle! I ended up using a dremel and cutting most of the pastic away that attached the axel to the wheels. You're going to want the inside of the wheels flat anyway, so don't worry Now we're going to simply pry out the center cap on the wheels. This will expose a philips head screw. Remove that screw and the wheels will come apart. Using the 4 arm accessory of the Parallex Modified servos, melt corresponding holes into the inside of the wheels. Use small screws and attach the 4 arm accessory to wheel. Trim off any part of the servo accessory that sticks out using the dremel. Do both sides the same.. Look at the pics Step 6 Drivetrain - Part 2Okay now we're going to mount the drivetrain to the case. This is exciting becuase it's a lot of dremeling! Take a good look at the pictures and see how much to cut away. It's best to take this part slow. I use a marker to outline where to cut. ... I cut a little, then measure, cut a little, then measure. Etc... Once the servos fit flush and the mounting bracket fits to the case, then you must be close! Sweet! To mount the servos, i first used a bead of hot glue gun to hold the servo in place. Glue guns are great because they'll provide a temporary mount, but not permenant by any means! To securely mount the servos, i used zip ties! I used the nice fat zip tie, and a pair of plyers to tighten it up solid. Yay next step!Step 7 Distance Sensor & AssemblyI supposed you'll want your wall-e to see. So did i! So I used one of the sharp distance sensors mounted on his neck. I had to dremel a bit of the sensor housing to make it fit flush. Maybe melt/drill a little hole through the top plastic of the box to push the wires through. The wires that come with the sharp sensor are very small and easily break from fatigue. I replaced the wires with the Servo wire/plug combo that is listed in the parts. I use those servo wire/plug combos for everything.. LCD's, Speakers, LED's, etc... Tuck all the wires through their holes when you assemble the unit. Step 8 Head TiltNothing makes Wall-e come more alive then his eye tilting. It adds a lot of character to his personality. The eyes of the toy is tiltable by hand, but not automated. I put a drop of Krazy Glue to hold both parts of the eyes together. That way, the servo moves both eyes. You may want to not Krazy Glue the eyes together for an even funnier expression. I mounted the smallest servo of the parts list to the neck. Of course I used a yellow zip tie and some hot glue gun ; Then use a peice of hard wire from the servo arm to the head. Also, the electrical wires from the servo are very short. I used the servo wire/plug combo to extend the wires. And covered up the solder joints with shrink wrap. *NOTE Do not attempt to move this tiny servo arm by hand! You will break the plastic gears inside. Trust me, I broke one by trying. If the peice isn't lined up, simply remove the arm and attach it in line. DO NOT TRY TO MOVE 9 Circuit and ProgrammingStep 10 Your Robot!In autonomous mode, my Wall-e creates a 2 dimensional map of objects around him. This prevents him from getting stuck or backing into objects. The theory and logic behind this technique is difficult and the implementation can be very challenging. In addition to his enviromental awareness, his personality is also complex. His actions, movements and modes are not entirely random. He collects points and begins to favour successful actions. Much like you would expect a pet. It's taken years of observing, programming and pulling my own hair to figure a lot of this out. Start slow, and be creative. Figure out ways to add personality quirks to your robots that bring them to life!Step 11 Battery.. POWER!Because my wall-e does have 6 servos and a microcontroller, his power consumption is high. Due to size constraints, i was limited to a small battery. My choise was a 2000mha LION cell. LION batteries don't like to be drained, so be prepared for a low life expentency. The 2000mhz battery gives my wall-e about 60 minutes of life between charges. You can purcahse your battery at any Battery Depot or similar 12 Enjoy!I hope you enjoy your new robot. For more information about my projects and robots, please feel free to visit my website at Bye bye! DJ
cara membuat robot wall e