Friday, 29 January 2021

Lego Spike or Robot-Inventor connected to esp8266 controlling 8 power functions motors with infrared.



Python code for lego c code for esp8266 You will also need this library https://github.com/jurriaan/Arduino-PowerFunctions

2 comments:

  1. Why do you have the start sent on serial from ESP to the Hub?
    Serial.begin(74880);
    Serial.print("start");
    Is 74880bps the default serial speed? From what I've seen on the net, there is an initial communication at 2400bps and after they switch to 115200bps in a data mode.

    ReplyDelete
    Replies
    1. Because I communicate with esp, I can define any baud rate that I want as long as it's same as defined in esp code. also this is normal serial communication without any special lego protocol.

      Delete