Search found 97 matches

by HermannSW
Sun Dec 23, 2018 8:26 pm
Forum: General Discussion
Topic: How to connect USB keyboard to ESP32?
Replies: 11
Views: 55382

Re: How to connect USB keyboard to ESP32?

It is so simple to drive ESP32 (MicroPython) from Arduino Due. Due has 4 hardware serial interfaces, I used Serial1 and connected Pin 18 TX1 to ESP32 RX (and GND/3V). This sketch just triggers several MicroPython calculations: void setup() { int a,b,c; Serial1.begin(115200); for(a=2; a<=5; ++a) for(...
by HermannSW
Tue Dec 18, 2018 8:59 am
Forum: General Discussion
Topic: How to connect USB keyboard to ESP32?
Replies: 11
Views: 55382

Re: How to connect USB keyboard to ESP32?

I found a way to use wireless USB keyboard with ESP32, just use Arduino Due with its USBHost library: https://www.arduino.cc/en/Reference/USBHost https://stamm-wilbrandt.de/en/forum/IMG_181218_093906.jpg I ordered two <4$ "USB host mini shield" for Arduino Pro Minis I have for much smaller (and chea...
by HermannSW
Wed Nov 14, 2018 9:04 am
Forum: ESP-IDF
Topic: Getting the uptime
Replies: 9
Views: 41122

Re: Getting the uptime

Interesting. I looked into ESP32 (and ESP8266) overflow for MicroPython utime module ticks_ms() and ticks_us() functions: https://forum.micropython.org/viewtopic.php?f=2&t=5528&p=31855#p31855 Both do return uint32_t, so overflow after 71 minutes / 49 days. Interestingly ESP8266 MicroPython implement...
by HermannSW
Wed Oct 03, 2018 9:44 pm
Forum: General Discussion
Topic: How to connect USB keyboard to ESP32?
Replies: 11
Views: 55382

Re: How to connect USB keyboard to ESP32?

> Can you confirm it is ble keyboard on that picture? > It is not, it has USB dongle, so it is a USB keyboard. I was fine with no keyboard for ESP32. Until I just now was able to use boochow's gist for 128x64 Oled console and redirecting MicroPython REPL to it. https://forum.micropython.org/viewtopi...
by HermannSW
Mon Sep 24, 2018 6:43 pm
Forum: General Discussion
Topic: Micropython as debug shell for ESP32 (and its OLED)
Replies: 13
Views: 36468

Re: Micropython as debug shell for ESP32 (and its OLED)

These are the steps to get MicroPython with OLED setup with just WebREPL and WebREPL tools: https://github.com/Hermann-SW/webrepl flash any ESP32 MicroPython to module with esptool.py https://micropython.org/download#esp32 open screen session screen /dev/ttyUSB0 115200 do "import webrepl_setup", ena...
by HermannSW
Mon Sep 24, 2018 4:54 pm
Forum: General Discussion
Topic: Micropython as debug shell for ESP32 (and its OLED)
Replies: 13
Views: 36468

Re: Micropython as debug shell for ESP32 (and its OLED)

A year is gone, and lately I worked a lot with ESP-01s modules (the 1MB new version of ESP-01) running MicroPython. Reason for ESP-01s instead of ESP32 is ESP-01s module 1.5g weight. It is part of remote servo bomb drop mechanism and will be attached to flying drone. The ESP-01s MicroPython will be ...
by HermannSW
Sat Sep 08, 2018 1:11 pm
Forum: General Discussion
Topic: How to connect USB keyboard to ESP32?
Replies: 11
Views: 55382

Re: How to connect USB keyboard to ESP32?

Because you can't connect USB keyboard that doesn't mean you can't use keyboard at all. True. You can use 4x4 matrix keypad I thought about that, and using its "#" key as "E" and "*" key as "F" I could enter one ASCII character for ESP32 MicroPython console with two key presses hexadecimally. But t...
by HermannSW
Fri Sep 07, 2018 7:13 am
Forum: General Discussion
Topic: How to connect USB keyboard to ESP32?
Replies: 11
Views: 55382

Re: How to connect USB keyboard to ESP32?

Thanks for confirming that adding keyboard is not easy.the Pi ZeroW I do have some 4x4 matrix keyboards, and found MicroPython code to deal with: https://github.com/BrendanSimon/micropython_experiments/tree/master/keypad The problem for my application is that the MicroPython I have flashed on my ESP...
by HermannSW
Wed Sep 05, 2018 10:16 pm
Forum: General Discussion
Topic: How to connect USB keyboard to ESP32?
Replies: 11
Views: 55382

How to connect USB keyboard to ESP32?

I have a ESP32 module with OLED display.
I want to connect USB keyboard to ESP32 and use MicroPyhon repl with that display and keyboard.
How can USB keyboard be connected to ESP32 module and utilized?
Image
by HermannSW
Fri Mar 02, 2018 6:14 pm
Forum: General Discussion
Topic: Micropython as debug shell for ESP32 (and its OLED)
Replies: 13
Views: 36468

Re: Micropython as debug shell for ESP32 (and its OLED)

Of course you need to adapt network ssid and password to your AP.
For conveniance I attach my latest complete "boot.py" here.