I did built up this little robot (see image below). Mainly for testing whether the motors and the ESP8266 did not disturb each other. I did also started to do some of the HTML coding for simple webpage to control the robot. Driving forward does also work already. But I am not familiar with HTML and java script . I hope this will change during further progress on this project.
As you can see its one of my #ESP8266 (ESP-07/12) Dev Board (rev2.0) With a LIPo. The #DRV8836 Breakout wired up at the top.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
The plan sounds pretty... sound. I wonder, do you plan to have some sort of a three-state switch for the UART, so that you can change between esp8266, arduino and none (with esp8266 connected to arduino then)?
In Tote-HAD I worked around that problem by using I²C for communication, which leaves both UARTs free for programming and debugging.
Are you sure? yes | no
Thanks.
I was planing to use pin headers and Jumpers for rewiring the UART lines. It should be so possible to program both via the robot's USB connector. In a later version I am thinking on programming the ESP over the air. And the Arduino over the ESP acting as wifi to UART bridge. Therefore I will also connect the Arduino's reset pin to one IO of the ESP to enter boot mode.
For debug informations I will use the 2nd UART of the ESP and/or a web server on the ESP. Also the Arduino could sent debug information via UART to the ESP and the ESP would process it.
The plan is to use i2c only for sensors.
Are you sure? yes | no
I see, that sounds good. I think the second UART on the ESP is quite limited, and I vaguely remember there were some problems using them both at once, but that might be resolved already. You plan to program it in C++? There is this new shiny micropython firmware coming...
Are you sure? yes | no
To be honest I did never used the 2nd UART yet (should do that). All I know is that it only have TX, no RX. But that's ok for debug information.
I am planing to program it with C++ and the Arduino IDE. There are some very good and powerful libraries available.
This python could be also nice. but I did never done something with Python and I am familiar to C/C++. With HTMl and java script for the webpage hosted on the ESP I think there is already enough new languages for me in this project.
Are you sure? yes | no