WiFi (esp8266) robot


#1

Hi!

Has anyone tried to connect a typical ESP8266 module in the bluetooth socket of makeblock? I suppose that properly supplying the ESP8266 module you can use the same Tx and Rx pins of bluetooth makeblock socket, right?

Regards

Javi


Sending MBot sensed values to host
#2

Here is a link where shows the circuit schematic of Makeblock Me Wifi module. You may check if the info helps to your application.


#3

Thanks, but I was wondering if it’s possible to connect a third-party ESP8266 (http://benlo.com/esp8266/ESP8266-ESP01.jpg) in the makeblock Bluetooth socket (not in sensor sockets), just manually wiring TX, RX, Vcc and GND connections of ESP8266.

(I edit: I’m using the basic mbot)

Thanks!

Javi


#4

I saw online that the Bluetooth socket of mcore is directly connected to serial communication, so would it be possible doing a connection like this?

Thanks!


#5

For this kind personal DIY application, we may don’t have enough ability to support.
Maybe some one who has similar project can share it.

BR


#6

Finally I went ahead and tried to connect a third party ESP8266 directly to RX/TX pins in the board…

Now I have an IoT controlled robot :robot:!


#7

I have similar project to work with… have you been able to send command from esp8266 to mcore and vice versa?


#8

Yes, the RX/TX pins are directly connected to mcore, so you can connect a serial device and communicate them.

In mcore you must use: SoftwareSerial mySerial(0, 1); // RX, TX

You must disconnect serial devices when uploading code!

https://forum.arduino.cc/index.php?topic=412164.0

Javi


#9

Javi, did you you the wiring as in the diagram above?


#10

Yes, in my case I used a Wemos D1 mini. So I just connected:
Wemos Rx --> mcore Tx
Wemos Tx --> mcore Rx
Wemos 5V --> mcore 5V
Wemos GND --> mcore GND


#11

Thank you… i will try it hopefully it works


#12

I tried to code the program using arduino ide but mcore doesn’t accept programs from arduino ide, I have to program it from mblock but there’s limitation I can’t include some functions such as SoftwareSerial x(0,1) …, how did you upload it??


#13

What version of Arduino IDE are you using? mcore is detected as Arduino UNO, so you select corresponding usb port and upload code


#14

i’m using 1.6.12 but there’s no option for arduino uno board


#15

I have both Arduino IDE 1.6 and 1.8 and I have the option of Arduino UNO, check in tools, boards


#16

can you share your sample sb2 or ino file?


#17