Search found 197 matches

by HermannSW
Thu Jul 07, 2022 8:06 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico-W Access Point static file webserver
Replies: 2
Views: 2765

Re: Pico-W Access Point static file webserver

Thanks for that hint ! I implemented it, and for those small files I host it works. I did ampy put a 229283 bytes file and request that via "http://192.168.4.1/Peek_2022-07-07_02-56.gif" with wget. Seldom I got the whole size, most times a little less. That is because "cl.close()" seems not to wait ...
by HermannSW
Wed Jul 06, 2022 10:20 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico-W Access Point static file webserver
Replies: 2
Views: 2765

Pico-W Access Point static file webserver

I implemented a static file webserver for the Pico-W with Pico-W MicroPython firmware: https://forums.raspberrypi.com/viewtopic.php?t=336998#p2017461 https://github.com/Hermann-SW/pico-w Main demo serves my planar_graph_playground (index.html, 7 .js files and new Pico-W favicon.ico): pico_w_ap.plana...
by HermannSW
Mon Dec 27, 2021 12:32 pm
Forum: ESP32 boards
Topic: ESP32-C3-(01M|M1) boards for tiny robot wireless MicroPython REPL
Replies: 3
Views: 9281

Re: ESP32-C3-(01M|M1) boards for tiny robot wireless MicroPython REPL

I completely forgot about my own "webrepl_client.py" work from 3 years ago: https://github.com/Hermann-SW/webrepl#webrepl-shell After cloning the repo, and these pip3 installs: sudo pip3 install websocket sudo pip3 install websocket_client No browser is needed for accessing the ESP32-C3-01M webrepl ...
by HermannSW
Sun Dec 26, 2021 8:59 pm
Forum: ESP32 boards
Topic: ESP32-C3-(01M|M1) boards for tiny robot wireless MicroPython REPL
Replies: 3
Views: 9281

ESP32-C3-(01M|M1) boards for tiny robot wireless MicroPython REPL

For some time I am building tiny robots (8 sofar): "Tiny MicroPython robots (the PCB IS the robot platform)" https://forum.micropython.org/viewtopic.php?f=5&t=11454 https://stamm-wilbrandt.de/en/forum/Tiny2040bot_new_design_control_over_wireless_Micropython_REPL.gif For one the motor+controller base...
by HermannSW
Wed Dec 15, 2021 8:26 pm
Forum: ESP8266 boards
Topic: Howto: 4 PWM channels for ESP-01
Replies: 2
Views: 10046

Re: Howto: 4 PWM channels for ESP-01

I had ESP8266 modules with and without the I01+I03 PWM patch. Too bad I was not able to query the module whether it was patched or not. So I used hexedit again to patch two more locations. For the next 78 years we will live in 21st century, starting with "20..". I modified that redundant information...
by HermannSW
Sat Dec 11, 2021 7:12 am
Forum: Hardware Projects
Topic: Tiny MicroPython robots (the PCB IS the robot platform)
Replies: 5
Views: 62960

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

Tinier2040bot is soldered now, and first MicroPython testing of motors was successful: https://forums.raspberrypi.com/viewtopic.php?t=324698&start=25#p1949133 https://forums.raspberrypi.com/download/file.php?id=51259 I did build even smaller robot motor+controller base, with my 1st 3D printed robot ...
by HermannSW
Tue Dec 07, 2021 12:01 am
Forum: Hardware Projects
Topic: Tiny MicroPython robots (the PCB IS the robot platform)
Replies: 5
Views: 62960

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

Pico4MLcbot is complete now, with ESP8285 board ESP-1 for wireless Pico4ML MicroPython REPL: https://forums.raspberrypi.com/viewtopic.php?t=323194&start=50#p1947310 20211205_211412.part.20%.jpg Only when driving backwards, the borders between 50x50cm hardboards make robot completely loose driving di...
by HermannSW
Sun Dec 05, 2021 9:55 pm
Forum: Raspberry Pi microcontroller boards
Topic: Wireless Pico Micropython REPL
Replies: 3
Views: 10470

Re: Wireless Pico Micropython REPL

I have built more bots, top from left: Tiny2040bot, Picobot, Toycarbot bottom from left: Pico4MLcbot, Tinier2040bot (not completed, will be 19.7×14.8×18.6mm w×l×h): 20211205_220712.15%.jpg Tiny2040bot and Picobot have ESP8266 model ESP-01 with WifiToSerial.ino example for wireless RP2040 MCU MicroPy...
by HermannSW
Fri Dec 03, 2021 3:54 pm
Forum: Raspberry Pi microcontroller boards
Topic: Where in Pico MP sources gets default PWM frequency set to 1907Hz?
Replies: 5
Views: 9167

Re: Where in Pico MP sources gets default PWM frequency set to 1907Hz?

Thanks, 1907Hz seems to be the default setting from Pico poweron then. I would expect there is an explanation for this frequency when looking up RP2040 datasheet. It is same 1907Hz PWM frequency and duty 0 for all pins: >>> MPY: soft reboot MicroPython v1.17 on 2021-09-02; Raspberry Pi Pico with RP2...
by HermannSW
Fri Dec 03, 2021 2:15 pm
Forum: Raspberry Pi microcontroller boards
Topic: Where in Pico MP sources gets default PWM frequency set to 1907Hz?
Replies: 5
Views: 9167

Where in Pico MP sources gets default PWM frequency set to 1907Hz?

https://github.com/micropython/micropython/tree/master/ports/rp2 >>> MPY: soft reboot MicroPython v1.17-140-g0be3b91f1-dirty on 2021-11-12; Raspberry Pi Pico with RP0 Type "help()" for more information. >>> from machine import Pin,PWM >>> p=PWM(Pin(18)) >>> p.freq() 1907 >>>