Arduino Nano 2wd robot car


#1

Hi. I’m a teacher with a class waiting to make their robots go, but I’m don’t know if I can use mblock. The simple robot cars have just 2 DC motors (2WD), a motor drive L298n , and Arduino Nano. How can I make the wheels go forwards in mblock? I cant see any ‘motor’ blocks like I do when I switch to an Mbot robot device. Its a very basic project for junior students. Should I use Arduino IDE? Can I use Mblock? Please help.


#2

Hi kydaka1,

Sorry for the delay.
Though the mBlock 5 software support the arduino nano board, but we don’t have this board. We may only provid limited support.

When you program the arduino nano board using mBlock program block, I think you need be familiar with the circuit schematic as well as the pin logic of the nano board. Then you can control the motors or other external devices by controlling the corresponding pin. The automatically converted arduino code on mBlock5 software may help you.


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.