Arduino Nano + HC-05 4WD Rover?

Can anyone tell me how can I make a 4WD or 2WD Rover using Arduino Nano and HC-05 by Blynk.

I want that Rover to be controlled by blynk over Bluetooth via HC-05, can anyone provide me the code as I don’t have sufficient knowledge about it.
Please I want the code and the Schematics to control it, I’m having a L298N Motor Drive H-Bridge.

Please tell me

You will need your own coding knowledge to do this.

This is a support forum for Blynk. Someone here might want to help based on their own experience but no gaurantees they’ll pop their head in.

You’re best to go and do some playing around, starting with Google “how to install and setup Arduino IDE” then “How to make an led blink with arduino”.

Blynk should only be conceieved as a control interface and not the heart of your project and is advanced if you have zero coding experience.
The heart should be the bespoke code you write yourself.

1 Like

@TechDroidROOt,
Have a look here:
Robot with Esp8266 Shield and Arduino Nano

It could be interesting for your project.
Nowadays I would do the code totally different but it is what it is…

This is probably a better way to go. It’s a motor controller board that mates to an Arduino Mega. I did that before I started messing with smaller more powerful microcontrollers.

But asking for someone else for code and schematic is hardly conducive to you learning. There are plenty of projects out there for the individual components. As well as lots of how-to videos to get you started.

I’m just wondering why you would want to do this and yet someone else do the work? Just asking. Look around on the Arduino forums and Youtube.

I can help steer you in the right direction. But you will have a lot more fun learning to do simple things first like turning on a led etc. Then build up on that.

This is using a HC-05 and built an app to control it from my phone. I was going to do voice control too but off on too many other projects. I was using Mit App Inventor to build the Android app.

Michael

It’s a cool project, but I don’t have an ESP8266, I’m only having HC-05. Please can you tell me how to do it…

I am also having a doubt, if I use Blynk-Blink(Getting Started) Sketch, it does not define any pin. If I connect LED to pin 2,3 or 4 any other than pin 13 and make a button corresponding to that pin, will the led turn on???

like here on this page, he hasn’t defined any pin in script and his project works…

@psoro if I use a ESP8266 will I be able to control it from outside of my home WiFi, using a 3G/4G connection on mobile, and Arduino and ESP8266-01 at home

That is because the App is using direct pin control… as in you setup a widget to use the digital pin of choice

image

However, you get MUCH better control and flexibility using Virtual pins and some code…

image

Read up about that here:

http://help.blynk.cc/getting-started-library-auth-token-code-examples/blynk-basics/what-is-virtual-pins

Can I control Servos or motors with Virtual Pins, if yes, How?

Can you please tell how did you make the interface and can you please tell me how to make it work with HC-05…

Start by spending some time reading all the available documentation and help guides… this forum is here to assist with questions about commands, etc… it is NOT here to do it for you, or hold your hand step by step.

All those previously mentioned and supplied links are available at the upper right of this page. For example the Sketch Builder has examples that can get you started…

Controlling a servo with a Slider Widget on a Nano connected via BT (Note: BT does not work on IOS phones, only Android)…

You can use control your ESP from outside using your smartphone as Hotspot.
If you want to prepare your ESP to be connected to several routers, there’re several ways to achieve it, using Blynk Provisioning, WifiManager or wifiMulti, see below for wifiMulti option:

@psoro I am saying that if the bot is at my home and I’m somewhere else, will I be able to control it from other place in my home?

Yes, using the Esp you can control all your devices remotely. That’s the magic of Blynk.

@psoro Can i just put a simple code of Bluetooth Blynk example and connect to HC-05, put pins of L298N IN1,IN2,IN3,IN4 ON 2,3,4,5 pins of Arduino and add buttons on the Blynk app to make them High, will the servos on other side work?

As done here - https://www.google.co.in/amp/www.instructables.com/id/Controlling-Buzzer-and-Led-From-Android-Using-Blyn/%3Famp_page=true

@TechDroidROOT… don’t get me wrong but… I guess this is your project, not mine… I can provide some tips in order to help a little bit as I did, but… you are asking me for the whole project :confused:
Please, search in this forum, there’s enough information for you to achieve your project by yourself.

Regards

First… you don’t seem to have the required understanding between a H-bridge - controlling DC motors, and Servo Motors… totaly different items.

While you could manually toggle ON and OFF the INx pins on an H-Bridge… if you turn on the wrong ones at the same time you could create a dead short and could damage the H-Bridge, your power supply and who knows what else.

Please spend some time researching what you want to make… Google is your friend :slight_smile:

http://www.modularcircuits.com/blog/articles/h-bridge-secrets/h-bridges-the-basics/

OP. I recently built a LEGO crawler with a Bluetooth controller using Blynk and a Bluno Beetle + HBridge. I’ll also be adding servos for steering soon. Check out my blog posting about BTBox here: www.plastibots.com

As others have said, you dont use an H-bridge to control servos. Just a PWM digital pin and the Servo library.