Тёмный

Bluetooth & IR Remote - Elegoo Arduino Smart Robot Car Part 2 

DroneBot Workshop
Подписаться 601 тыс.
Просмотров 96 тыс.
50% 1

In the second part of the series on the Elegoo Smart Robot Car, I’ll show you how to use both the Bluetooth and IR remote control features.
Smart Robot Car Kit from Elegoo - www.elegoo.com/product/arduin...
Full article at dronebotworkshop.com/elegoo-s...
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
If you need to know how to put the car together please see the first video.
The Elegoo Smart Robot Car Kit has several features, including Line Following, Collision Avoidance, Bluetooth Remote, and Infrared Remote. Today we will examine the Bluetooth and Infrared remote controls. Both will allow you to drive the car using a remote control
The Bluetooth remote makes use of the popular HC-08 Bluetooth module, which is attached to the Arduino Uno that forms the basis of the robot car design. To facilitate using the module Elegoo has provided an app for both Android and IOS devices, I’ll be showing you how to set up and configure the Android version.
The infrared (IR) remote control uses a popular IR remote that is included in the Elegoo kit. The custom Arduino shield on the robot car has an IR receiver module.
Elegoo has provided sketches to use both remote controls. I’ll go over the code with you, including a fix I needed to apply to get the car working properly.
Here is what you will learn in this video:
00:00 - Introduction
01:44 - Understanding Bluetooth
06:36 - Elegoo Bluetooth App
08:44 - Defining keys
12:22 - Bluetooth Blink Sketch
15:04 - Bluetooth Car Sketch
21:44 - Fix for turning problem
22:25 - IR Remote Intro
26:34 - IR Blink Sketch
31:56 - Controlling the Car with IR Remote
39:50 - Comparison of both remote control methods
Even if you don’t own the Elegoo kit you can still benefit from the video and the accompanying article, as what is shown here will apply to almost any Arduino-based robot car design. But if you are starting from scratch I do recommend the Elegoo Smart Robot Car Kit, it’s a great value and it makes building your first robot car both easy and fun.
Please subscribe to the channel so you can be among the first to know when I release the third video in this series where I will work with the Collision Avoidance and Line Following features of this robot car.

Хобби

Опубликовано:

 

31 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 73   
@b.h.7661
@b.h.7661 5 лет назад
Thanks for this video. Been trying to pair our little robot to phone for days. A few useful nuggets from your video and we are now in business! Wonderful :)
@OsoPolarClone
@OsoPolarClone 5 лет назад
I am enjoying your videos. Great job and appreciate the effort you put into them. They are very helpful for learning.
@ollieb9875
@ollieb9875 5 лет назад
I really appreciate your succinct annunciation. I like the slow pace. Thank you for making these videos.
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
You're very welcome Ollie, glad you enjoy them!
@winterrose241
@winterrose241 3 года назад
Thanks for the great video series.
@TheIanmurphy
@TheIanmurphy 4 года назад
Your videos are great. Really looking forward to a dedicated video on Bluetooth / using Bluetooth modules with arduinos. Hope that it’s still the plan to make a video on that topic!
@amlfty
@amlfty 2 года назад
Many thanks for these valuable and detailed videos
@saeedsobhani4213
@saeedsobhani4213 2 года назад
Amazing, thanks teacher, I always wanted to know how to build a robot.
@hafizmohammadnasirjamshaid3819
You're doing really great big fan of yours..... And the same question each time when will you start work on LIDAR A1M8 for a autonomous wheel chair
@matchxgaming9338
@matchxgaming9338 2 месяца назад
Thank you sir
@nick0703
@nick0703 4 года назад
God I wish you were my lecturer instead of the waste of space that I currently have - great job thanks
@marcdraco2189
@marcdraco2189 3 года назад
Feel that mate. I was lucky to have some great lecturers but Bill even puts them to shame. It's great that he's doing this for a new generation, I hope they appreciate him,
@BenalRida
@BenalRida 4 года назад
Great workshop. Is it possible to program the car to only go in a straight line and very slow as for dolly camera work? I would like to attach the Osmo Pocket on top of it? Would it be also possible to make the car go in large circle around a product which I am going to show like a motorcycle? Thanks.
@electronic7979
@electronic7979 5 лет назад
Excellent project 👍
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
Yes it's a very nice build, I was impressed by the quality of the kit.
@zyghom
@zyghom 3 года назад
I am not sure what made me happier while watching this: how to remotely control the things or the fact, that I learned about the Danish King called.... Harald Bluetooth - omg ;-) Even the logo of BT is after him... ;-)
@kirillbataev7544
@kirillbataev7544 2 года назад
thankyou now my robot didnt go to waste :D
@jumbo999614
@jumbo999614 3 года назад
I got the same "FFFFFFFF" hex code for repeat sequence for any button pressed. So I can't use "UNKNOWN" variables. If I don't include the UNKNOWN in switch/case statement, will it still work?
@brianjohnson2059
@brianjohnson2059 5 лет назад
Thank you for these videos. They help me tons.Have you ever thought of making a real robot. I mean like a Segway, with alternators for motors, wiper motors for the shoulders. with voice recognition. I have been working on this for over a year and I am burnt out on it.
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
Hi Brian. I have indeed thought about making a "real robot" and plan to do exactly that this year. Of course I'll document everything in my articles and videos. But I hadn't thought of using car parts for it, was thinking more along the lines of larger stepper motors and some efficient DC motors. Whatever I decide to use I want the parts to be commonly available and reasonably inexpensive so that other people can build it as well. It obviously wil take several videos and articles to describe it. If things go to plan I should have something together by the summer.
@krishpatel114
@krishpatel114 2 года назад
Thanks for the video, But I need to find the codes to the ardunio pro mini for the same car, do you think you can help me? Thanks.
@SushilHatkar
@SushilHatkar 4 года назад
Can i add a camera. if so is there a video that is available for this. Thank you.
@GeometryDash-nl9tn
@GeometryDash-nl9tn 3 года назад
Where is the link to download the programing software
@Marva123
@Marva123 5 лет назад
I'm reading that the HC-08 supplied with the robot car is a fake technology based on the HM-10 module. I'm having trouble pairing with my android phone and I'm thinking of switching to the HC-05 bluetooth module I dont know if that will work since BLE and bluetooth are not the same protocols. Maybe just switching to the HM-10 module will work? Any suggestions?
@TheRicoco2011
@TheRicoco2011 5 лет назад
Hello, I have an issue with the IR part. First of all, the code available on the elegoo site is different from the one that you show. There are no define UNKNOWN_Values on the elegoo version. Secondly, and the most problematic is that on my IR remote, all the key seem to send the same key when I keep a key down. They all send me 4294967295 or 2747854299 :( Do you have an idea why? Thx in advance! Edit: I copy/paste your code from your website and it's working fine. But I don't understand why when I use the serial monitor, all keys send me 4294967295 when they are keep down. Any idea?
@jeffthomas3359
@jeffthomas3359 Год назад
I have a Keyes studio robot car very similar to the elegoo. Might you have info/ video on that as well? Or do you have info on using iOS instead of Android thanks see
@Joel4JC
@Joel4JC 4 года назад
Which Tablet are you using? The specific app you are using on your tablet is no longer available in the Play Store.
@mr.berlingo8211
@mr.berlingo8211 3 года назад
My Smart Robot Car v.3.0 Plus came with a BT16 Bluetooth module, which uses Bluetooth 4.0 BLE. To avoid the need to unplug the module for programming, I modified it to put a switch in the Tx and Rx lines (like the Elegoo PenguinBot, which has a blutooth/upload switch). Unfortunately, I couldn't get the Bluetooth module to work, either I damaged it when fitting the switch or it was already faulty (the indicator light was very dim). I purchased a HC06 bluetooth module as a replacement, but this would not work with the Elegoo BLE app. It would, however work with an alternative app, "Arduino Bluetooth Controller" (Guimig Apps). I now have a BT16-a module on order which is identical to that provided by ELEgoo so should work with the Elegoo BLE app. This module is not easy to obtain. The module HM10 might also work as it also uses BLE 4.0.
@dabberd6203
@dabberd6203 5 лет назад
Hi Bill. Once again, you've put together a great video. One question about the Bluetooth / USB conflict. I note on the Mega there are 4 Tx/Rx channels so I assume that you could avoid this conflict but how would you attach the Bluetooth module to avoid the conflict?
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
Hi Dabberd. Yes, the Mega 250 has multiple RX channels so you can avoid the conflict. You would use the Arduino Serial function and specify another serial port( I.e. Serial1). Actually, you can also avoid the Uno if you make use of the Arduino Software Serial library, which allows you to use the standard I/O pins as serial ports (at somewhat reduced baud rate). I suspect the designers at Elegoo didn't do that as they have used up most of the I/O ports already for the other peripherals on the robot car. I will be doing another video that focuses on the Bluetooth module and using it with the Arduino as I really only scratched the surface on the subject in this one.
@OUMLILKIDZ
@OUMLILKIDZ 11 месяцев назад
hi need your help, I have mounted the KS0470 exactly according to the instructions but whenever turn it on the two left side wheels start running no stop
@debraperretta6610
@debraperretta6610 4 года назад
Wondering if you can explain why the Rocker Control would not work on the App...DIY works fine...IR works fine too...I have been able to get everything else to work and have even been able to manipulate the code
@ivanz9324
@ivanz9324 6 месяцев назад
How to create remote control for this car based on WT32-sc01 plus board? Is it possible? (With or without video streaming?)
@Happymz
@Happymz 3 года назад
Where do you find the code
@kasparneuenschwander9291
@kasparneuenschwander9291 3 года назад
Hi Bill, I love your videos! How do you set the baud rate for the Bluetooth Device?
@pippaknuckle
@pippaknuckle 3 года назад
Wasn't it using the baud rate you set the serial monitor at in the sketch?
@DancesWithRobots
@DancesWithRobots 5 лет назад
Bluetooth Serial Controller by Next Prototypes on the Play Store is a great Bluetooth controller app. It's programmable, has lots of buttons and you can receive Serial.Print() messages from the Arduino in TERMINAL LOG mode. No affiliation I just really like it.
@gsdguitar024
@gsdguitar024 4 года назад
I am having trouble controlling my car with the app. LED goes on after i upload the "bluetooth car" file to uno board. However, I have absolutely no control over the car once in the app on android. The app also states to "go to the elgoo website and download the latest tutorial" I am having trouble on that part as well.
@emroy2961
@emroy2961 4 года назад
I have that issue too
@animesh_bhatt
@animesh_bhatt 3 года назад
@@emroy2961 any solution? please tell
@KhaosOfficialYT
@KhaosOfficialYT 3 года назад
Does anyone know how to reenable rocker mode and remove any program?
@edsonquispe2212
@edsonquispe2212 2 года назад
the module is in master or slave, I would like that help! and thanks
@subaehaitham
@subaehaitham 5 лет назад
Can you please show us how to use pixy2 cam in an obstacle avoiding car?
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
That sounds like a great idea Subae, I wil certainly consider it.
@mahmoudhamdan1499
@mahmoudhamdan1499 2 года назад
How can I replace the IR remote control with ESP to control the car
@lucascerri7293
@lucascerri7293 4 года назад
hi the application i think is not available is there another application pls
@nurealahisagor3317
@nurealahisagor3317 5 лет назад
can u provide this code pls?...i downloaded from the site...bt didnt work..no response
@SebastianTEC
@SebastianTEC 4 года назад
At about 12:53 you declare 'char getstr' as a global variable, even though it is only used in the 'loop()' function and it's value is assigned and never changed inside the scope of that function. Typically, for something like this, common practice is to use a local function variable rather than a global, since it is not globally assigned or important outside of that function. I was wondering if there is an underlying reason for this with Arduino Uno? Hardware optimization? Memory Allocation? Or is this just the way that you like to do things?
@karelhofman9848
@karelhofman9848 Год назад
arduino does not support local functions
@satan5677
@satan5677 3 года назад
how do i connect the bluetooth?
@Mexthemen
@Mexthemen 4 года назад
is it possible to switch the bluetooth to a strong long range bluetooth
@goku445
@goku445 3 года назад
bluetooth IS short range. You want to use wifi or other RF for longer range. Search LoRa for example.
@syedhyder5630
@syedhyder5630 3 года назад
Someone please share the link for the app
@lanha3385
@lanha3385 9 месяцев назад
I am trying to change the car to move only when the button is pressed. How do you suggest to do it?
@lanha3385
@lanha3385 9 месяцев назад
for zeus car from Sunfounder. Remote control
@sldr4christ01
@sldr4christ01 Год назад
How easily can this robot be controlled with a PS3 controller? I would love to do that with my high school students!
@stern8888
@stern8888 5 лет назад
Please make a video on gesture controle car using nrf24
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
I have done a video using the nrf24 Bira but I hadn't thought of using it for gesture control.
@stern8888
@stern8888 5 лет назад
So can you please make one with mpu6050 or just provide me the source code i have all the libralies
@stern8888
@stern8888 5 лет назад
Please i realy need your help all the parts are working individually but they are not communicating with each other i have used many source code from internet but not working
@passibharat
@passibharat 5 лет назад
Sir Voltmeter reading fluctuate on LCD please suggest idea to avoid
@SpeccyMan
@SpeccyMan 5 лет назад
Sample and average. Take several readings, sum them then divide by the number of readings you took.
@passibharat
@passibharat 5 лет назад
@@SpeccyMan please suggest syntax
@DoctorUsher
@DoctorUsher 5 лет назад
Can you send program codes wirelessly? I am tired of connecting USB
@GeometryDash-nl9tn
@GeometryDash-nl9tn 3 года назад
I cant upload my project because there is an error saying RECV_PIN was not defined
@lilasarkany3381
@lilasarkany3381 5 лет назад
I have an hc-05 Bluetooth module. It mostly Works fine, it connects to phone but if i send data to the arduino from the phone it don't do anything. I tested it with software serial but if I send letter for example 'a' i just get strange question marks and squares. Can anyone help me how to fix this, or why it is thoing this?
@Marva123
@Marva123 5 лет назад
Your need to change your baud rate on the serial monitor
@lilasarkany3381
@lilasarkany3381 5 лет назад
@@Marva123 I've alredy found the solution. There was everywhere to set baud rate to 11400 or something. But my module Works on 9600. It took me a while to figure this out, but thanks!
@Marva123
@Marva123 5 лет назад
@@lilasarkany3381 I'm glad you solved the solution yourself. You can also change the baud rate to other standard rates by using the 'AT + commands' in the Arduino serial monitor. I'm trying to change this robot so it can follow walls of a room. Bye for now.
@denielleompod7612
@denielleompod7612 Год назад
Cant connect to bluetooth due to incorrect passkey can you help me.
@stern8888
@stern8888 5 лет назад
Thanks for your repliy but can you help me in getting the source code i am using nrf24,mpu6050,arduino nano in transmitter and nrf24,arduino nano,h bridge moter driver in car pls help
@toddboni9313
@toddboni9313 4 года назад
Who would you recommend to teach me arduino who is much less intelligent than yourself. I'm a 46 year old idiot when it comes to computers.
Далее
кукинг с Даниилом 🥸
01:00
Просмотров 1,6 млн
вернуть Врискаса 📗 | WICSUR #shorts
00:54
Using IR Remote Controls with the Arduino
35:28
Просмотров 930 тыс.
Controlling Elegoo Robot Smart Car with ASIO and C++
30:16
RC Robot Car - RC Controls and Arduino
47:53
Просмотров 208 тыс.
Arduino Smart Car Robot Kit
8:32
Просмотров 32 тыс.
Reading PWM Values from an RC Receiver using Arduino
4:06
ОБЛИЛА водой на ТАТУ СЕАНСЕ
0:29
World’s Largest Jello Pool
1:00
Просмотров 93 млн