Search found 197 matches

by HermannSW
Fri Dec 03, 2021 11:35 am
Forum: ESP8266 boards
Topic: ESP8285 board ESP-1 / solderless flashing
Replies: 0
Views: 4928

ESP8285 board ESP-1 / solderless flashing

The ESP-1 looks nearly identical to ESP8266 ESP-01 board, has same 4x2 pins. I ordered it because the pins were not soldered. I have two applications for (1MB) ESP8266/ESP8285 boards, needing RX/TX connection for MicroPython only once: flash ESP8266 MicroPython on it, for wireless use via WebREPL (m...
by HermannSW
Tue Nov 30, 2021 12:07 am
Forum: ESP8266 boards
Topic: ESP8285 ESP-01M
Replies: 5
Views: 12332

Re: ESP8285 ESP-01M

Today I resolved all my issues with flashing firmware correctly onto ESP8285 modules: https://forums.raspberrypi.com/viewtopic.php?p=1945072#p1945049 I will use the tiny ESP8285 modules instead of "big" ESP-01 on my tiny MicroPython robots, the robot in animation is controlled by ESP-01 only via wir...
by HermannSW
Sun Nov 28, 2021 8:11 am
Forum: Hardware Projects
Topic: Tiny MicroPython robots (the PCB IS the robot platform)
Replies: 5
Views: 64288

Re: Tiny MicroPython robots (the PCB IS the robot platform)

Toycarbot is completed (right). I learned to solder with 0.2mm diameter enameled copper wire — will use that always from now on for tiny robots: https://forums.raspberrypi.com/viewtopic.php?t=323194&p=1944140#p1941696 https://forums.raspberrypi.com/download/file.php?id=50796 It is controlled by ESP-...
by HermannSW
Sat Nov 20, 2021 8:08 pm
Forum: ESP8266 boards
Topic: Howto: 4 PWM channels for ESP-01
Replies: 2
Views: 10326

Howto: 4 PWM channels for ESP-01

On ESP-01 module, with MicroPython PWM is supported on pins 0 and 2 only. Trying to use PWM with pin 1 results in this error message: ValueError: PWM not supported on pin 1 I played with Arduino IDE, and with that "analogWrite()" did work on all 4 ESP-01 pins 0-3. I found reason for pins 1 and 3 not...
by HermannSW
Thu Nov 18, 2021 12:55 pm
Forum: Hardware Projects
Topic: Tiny MicroPython robots (the PCB IS the robot platform)
Replies: 5
Views: 64288

Tiny MicroPython robots (the PCB IS the robot platform)

Recently I started to work on Raspberry Pico and Pimoroni Tiny2040 based tiniy robots. Last night I completed my Tiny2040bot (15.6g in total, 37×29×31mm (l×w×h) small), and my Picobot: https://forums.raspberrypi.com/viewtopic.php?t=323194&sid=7558bd2c8c8ad21bc69869dd2fd41e7a&start=25#p1940066 202111...
by HermannSW
Sun Nov 14, 2021 7:19 pm
Forum: Raspberry Pi microcontroller boards
Topic: Wireless Pico Micropython REPL
Replies: 3
Views: 10619

Re: Wireless Pico Micropython REPL

I learned today that the problem cause is telnet running in linemode by default. Needed is character mode. Sequence is telnet esp8266IPaddress ENTER CTRL+ALT+] "mode character"+ENTER (this ends in REPL raw mode) CTRL-B After that WifiToSerial.ino on ESP8266 does what it should, with working cursor k...
by HermannSW
Tue May 25, 2021 6:20 pm
Forum: General Discussion and Questions
Topic: Is there a way to encrypt MicroPython codes?
Replies: 11
Views: 6630

Re: Is there a way to encrypt MicroPython codes?

There is a way to make .uf2 run on exactly one (Raspberry Pico) by encrypting the image with Pico's unique flash ID ...
https://www.raspberrypi.org/forums/view ... 3#p1862153
The .uf2 image can contain MicroPython code builtin as others have described.
by HermannSW
Wed May 12, 2021 8:23 am
Forum: Raspberry Pi microcontroller boards
Topic: builtin µs timing code made platform independent (Python[23] / Pico MicroPython)
Replies: 0
Views: 2374

builtin µs timing code made platform independent (Python[23] / Pico MicroPython)

See here for details: https://www.raspberrypi.org/forums/viewtopic.php?f=146&t=311669&p=1863938#p1863938 Summary at end: This is first time that I eliminated platform dependency for using builtin functions from different platforms without performance loss, hopefully this technique will be useful for...
by HermannSW
Mon May 03, 2021 11:01 am
Forum: Raspberry Pi microcontroller boards
Topic: Wireless Pico Micropython REPL
Replies: 3
Views: 10619

Re: Wireless Pico Micropython REPL

There was a problem with the solution, at the time I posted the up/down keys for accessing MicroPython history did not seem to work. I have Pi4B and Pico here in hospital, but no ESP[01]. So I looked for another network to serial code that could be run on Pi4B for testing. I did find that code (to b...
by HermannSW
Sun May 02, 2021 7:47 pm
Forum: Programs, Libraries and Tools
Topic: Is there a working FSM library for micropython
Replies: 3
Views: 3581

Re: Is there a working FSM library for micropython

Raspberry Pico microcontroller micropython supports (8) hardware state machines.