I don't understand anything. Je ne comprends rien


#1

Hello,

I haven’t bought a makeblock robot yet.
Can someone explain me how does it work :slightly_frowning_face::relaxed:
I don’t understand if

  • at the beginning there is a program in the robot and it run’s stand alone
  • at the beginning ther is a program and it can understand orders given by bluetooth (phone ? PC ?)
  • The bluetooth connexion can be used to send a new programm in the robot
  • This program in the robot can work like Master/slave (interact with the pc) with another program in the pc that gives it orders depending on what the robot send. (
    the robot can send information according to its sensors) and receive orders for example.

I’m sorry for my poor english. I hope you can understand.


#2

Read the info on this page, especially the guide.pdf
http://learn.makeblock.com/en/getting-started-programming-with-mblock/


#3

Salut Ernst_Blofeld,

Quel produit regardes-tu ? Est-ce le mBot ? Sinon, tous les robots fonctionnent sensiblement de la même façon.

Le mBot …

  • … inclus un programme par défaut et une télécommande. Très utile lorsque tu UPLOADER un mauvais programme. Il est très facile à réinitialiser et tout redevient fonctionnel.

  • … est autonome, car l’on peut UPLOADER son programme dans la mémoire du robot. Lorsqu’on ferme le robot et le rouvre à nouveau, le programme est toujours présent et fonctionnel.

  • … inclus différentes façons de communiquer (USB, Bluetooth, WIFI selon le modèle). Moi, j’UPDLOAD avec l’USB directement à partir du logiciel mBlock 4.04

  • … inclus avec plusieurs tutoriels très faciles sur tablette. Le tutoriel est progressif et bien fait. Sinon, il y a des PDF disponibles sur le site.

  • … inclus une télécommande à partir d’une tablette intelligente.

  • … inclus l’application mblock pour la programmation à partir d’une tablette (qui est proche en fonctionnalité de la version PC).

  • Les capteurs dépendent du robot, mais ils sont plutôt faciles à utiliser.

  • Oui, il est possible de communiquer avec le PC (Scratch, mblock, et même des librairies de programmation). Sinon entre robots, en envoyer des messages.

J’espère que cela d’aidera un peu. Je reste disponible.


#4

The mBot robot is based on the AT328P microcontroller. A microcontroller differs from the CPU in your computer because it has a fixed amount of limited memory which is split between variable storage (SRAM) and program memory (PRGMEM). In the case of the AT328P, you have 2K of RAM for variables and 32K RAM for program instructions.

The mBot comes with a default program loaded into its memory. The Upgrade Firmware and Reset Default Program options from within mBlock overwrite anything that is currently in memory. You can only load programs via the USB cable at this time because the onboard programmer that loads the program into the microcontroller’s memory can’t be accessed by Bluetooth or WiFi at this time.

The mBot can operate in autonomous mode and tethered mode. Tethered mode is usually used for some sort of tele-operation (remote control) via the USB cable, a WiFi connection via the WiFi dongle, or via Bluetooth if you have the Bluetooth module. The mBot has a single socket set for either the WiFi module or the Bluetooth module. In any case, these are serial connections that allows an external device (computer, phone, etc.) to communicate with the mBot.

The mBlock environment is essentially the Scratch 2.0 offline editor with robot extensions, a code generator, and hooks into the Arduino development environment. When running a program within the mBlock environment, the environment sends operation codes over the serial connection. This type of operation usually requires the mBot to have the default program installed so that it can interpret the codes and take the appropriate actions. The mBlock environment will also allow you to create and upload programs that allow the mBot to be autonomous although I want to note that the autonomous programs can interact with other external devices, such as the IR Remote control, with proper programming and the right set of modules.

I hope this explanation helps.

Chuck


#5

Oui ! Merci beaucoup j’y vois plus clair. Je regarde les différents robots mais en effet le mbot semble très bien. Ca me semble assez complet en effet. Content d’avoir une réponse en français en plus

Bye et merci encore


#6

Thank you for answer. Yes i understand and it helps.
I often find tutos and url for how to this or this, what is programming, what is scratch, … but i had’nt overview of possibilities.
Programming even in C isn’t a problem, but understand what the kit allows to do was.

Thank you again
Ernst


#7

Tu dis qu’on peut aussi faire un programme sur android (tablette) qu’on peut ensuite uploader dans le bot ?


#8

Salut Ernst_Blofeld,

J’ai un iPad… mais je peux tester la version mBlock sous Android ce jeudi en soirée.
Mon objectif est toujours que mon robot soit autonome au finale et si je me trompe alors je réinitialise la petit bête.

C, Scratch, Application tablette, Manettes Bluetooth, c’est assez complet comme petit robot. Au Canada, le mBot a fini premier ou deuxième parmi le classement du magasine Protégez-Vous de Noël comme kit robotique éducatif. Égale ou en avant de Lego MindStrom, probablement à cause du prix mais aussi à cause du matériel disponible.

Voilà


#9

Selon mes testes, la réponse est non.

La tablette envoie les commandes au mBot mais ne charge pas le programme dans le mBot.
Il faut utiliser le PC.

Peut-être que le support à une solution ? Il faudrait poser la question en anglais.


#10

Ok merci


#11

The onboard programmer (avrdude) is not accessible via Bluetooth or WiFi to the best of my knowledge. aI’ve read of others using a separate Bluetooth module to establish a connection via the USB port, but I have no direct experience doing this. As far as I am aware, the Android (and iOS) app simply send the commands over the Bluetooth connection in the same fashion that mBlock does with the actual program running on the computer or tablet.


#12