mBot and Omega
Hi @Alexander-Soto, that's an interesting proposal! Unfortunately, we are not very familiar with the mBot, but if you can describe the way you program the mBot as well if it has method of communicating with other boards (i.e. through I2C or SPI, etc), then we'll be able to help you come up with a way to use the Omega to control it. Also, currently how are you controlling the mBot?
Hello! @Boken-Lin thank you for your response! I just received the mBot so I am playing with it now. The mBot can be programmed though their graphical programming environment mBlock (modified version of Scratch) and also the Arduino IDE. I found the Makeblock-Library
The mBot comes with a micro controller mCore (based on Arduino Uno) and electronic modules that were included. While I don't think the microcontroller mCore, can work with Omega, I have another idea.
I believe this would then allow me to use the Omega in combination with the Arduino Dock to use the UNO Shield, which would then allow me to use the makeblock electronic modules.
@Boken-Lin, is the idea I mention above possible?
@Alexander-Soto Ah, if you can program the mBot with the Arduino IDE, you should be able to connect the Omega with the mBot via I2C. This might even be easier than using the UNO Shield. The Makeblock library seems to provide an API that allows you to tell the Makeblock where to go, how to turn, etc. You simply need to create a simple sketch on the mBot that listen to I2C commands from the Omega, and act accordingly. I2C commands can be sent as bytes. For example, you might be able to send a
0x01byte from the Omega, and whenever you receive
0x01on the mBot, you would use the library to tell the mBot to move forward. You can then program the mBot to respond to other commands to perform other actions.
Please let me know if this makes sense.
I understand what you are saying to an extent, I am an unsure about how I would do the process with the Omega and mBot and the specifics of I2C of how to send the byes.
I'm running Debian and I'm trying to connect the mBot with the Arduino IDE but running into some problems with gcc-avr.
I'll do my best to understand all of this and see what I can do.
@Boken-Lin, Thank you for all of support and help. I'm glad I supported you guys on Kickstarter also great that you guys are from Boston too :)
@Alexander-Soto Ok. Try to get basic functions of the mBot working with the Arduino IDE, and we'll help you to connect it to the Omega :)