Otto IoT

After lots of tests and contributions from many of you, we finally have a functional Arduino code / blocks and prototype for Otto using ESP8266 and coming soon with the help of @Nicolas  ESP32

Just collecting all initiatives here in one place and how you can get started into the world of IoT with Otto Blockly, oh and the plus of no memory limitation issues as with nano.

Using ESP8266 or WeMos

@Bill SCHONFELDER you are gonna like this board + shield combo i found on amazon

ESP8266 NodeMCU CP2102 ESP-12E 

+Shield Module for NodeMCU ESP-12E ESP8266  it comes with L293D + DC Motor Driver!

Fritzing of L293D ESP-12E Motor Shield for Otto
Fritzing of L293D ESP-12E Motor Shield for Otto

Input Power:

  • Motor power (VM): 4.5~36V, can be powered separately.
  • Control power (VIN): 4.5V~9V(10V MAX), can be powered separately.
  • Provides a shortcut connector (short by VM and VIN), thus can use one power source (must be 4.5V~9V) to complete the drive and control for motor at a time.
  • Logic working current Iss:<=60mA (Vi=L), <=(Vi=H).
  • Driven working current Io: <=1.2A.
  • Max of dissipation power: 4W(T=90℃).
  • Control signal input voltage: 2.3V<=VIH<=VIN (high), -0.3V<=VIL<=1.5V (low).
  • Working temperature:* -25℃-+125℃.
  • Driven model: double ways large power H bridge driven.
  • ESP-12E Dev Kit control port: D1, D3 (motor A); D2, D4 (motor B).

INTERFACE AND FUNCTION

When you place your NodeMCU V3.0 on the L293D shield, it will use a few pins to control the motor(s). In the table below you can see which of the pins are used by the shield and which are free and what there function is.

This shield board has many pins, such as VIN, 3.3V, DIO, AIO, SDIO, UART, SPI, RST, and EN, thus can conveniently connect all kinds of sensors (e.g., temperature and humidity, buzzer, light, relay sensor, etc.).The board has an integrated power switch, to control the on-off of power conveniently.

I am pretty sure many of you saw them but here as you I made the wiring and 3D design for the head compatible with Otto (.stl file attached)  so you only need to 3d print this new head, follow the connections to give a try .

And we also have plenty example codes in the new Otto Blockly 1.4.2 just make sure to select "Otto IoT" instead of Arduino nano

make sure to select Otto IoT, IFTTT example
make sure to select Otto IoT, IFTTT example

This is a simple example with IFTTT  endless possibilities, we are adjusting the blocks more intuitive but so far they are quite complex by nature but ideas are welcome.

Have you tried Python on these @Piers Kennedy ?

Using ESP32 similar to Ottoky

For ESP32 we need to find a similar shield here there is a post about it  

and we will be updating as it progress like this OLED update