Search found 59 matches

by jomas
Sun Apr 05, 2020 4:54 pm
Forum: ESP8266 boards
Topic: New uasyncio breaks code (websocketserver)
Replies: 5
Views: 3399

New uasyncio breaks code (websocketserver)

The new uasyncio breaks the code of the websocket server example from micropython-lib Here the code that shows the problem. I adapted the function 'echo' a bit to show the problem: import uasyncio import uhashlib, ubinascii import websocket def make_respkey(webkey): d = uhashlib.sha1(webkey) d.updat...
by jomas
Sat Jan 11, 2020 2:42 pm
Forum: ESP8266 boards
Topic: BUG in activating network interfaces
Replies: 0
Views: 1936

BUG in activating network interfaces

I think there is a bug in activating sta/ap interfaces. When running the script below, ap_if.active() wil continuously print False. However the bug will only appear with sta_if configured with SSID and pasword for your modem/router and with ap_active deactivated on start of the script. If ap_if.acti...
by jomas
Sun Jan 05, 2020 1:12 pm
Forum: General Discussion and Questions
Topic: OTA Firmware update with pure uPy script possible?
Replies: 10
Views: 6413

Re: OTA Firmware update with pure uPy script possible?

Think that is a ESP32 only feature... Arduino has OTA updates on ESP8266: https://arduino-esp8266.readthedocs.io/en/latest/ota_updates/readme.html But I don't know if that will replace the complete firmware or only the user code? The ESP8266 has FOTA (Firmware Over The Air) build in since day one. ...
by jomas
Tue Dec 31, 2019 11:57 am
Forum: ESP8266 boards
Topic: Build how to?!?
Replies: 13
Views: 6805

Re: Build how to?!?

I think the whole build procedure with 'open-esp-sdk' for the esp8266 should be updated. 1. It uses SDK-2.1.0 which is from 2017, so almost 3 years old. Even the latest version 3.0.0 will not be updated anymore. Espressif will only supply bugfixes for 3.0.0. 2. Also Espressif advise to use the 'ESP8...
by jomas
Tue Dec 31, 2019 10:55 am
Forum: General Discussion and Questions
Topic: How to move from pyboard to PCB ?
Replies: 3
Views: 2057

Re: How to move from pyboard to PCB ?

Have a look at KiCad https://kicad-pcb.org/

With KiCad you can make a schematic diagram and convert it to a PCB.
Some manufacturers can use the kicad file directly otherwise you have to export it as a Gerber file.
There are plenty of youtube examples how to use KiCad
by jomas
Thu Oct 17, 2019 4:34 pm
Forum: ESP8266 boards
Topic: Can build and flash, doesn't boot
Replies: 9
Views: 6076

Re: Can build and flash, doesn't boot

I had the same error when I tried to flash a esp-07 which had 1Mbyte flash while I expected that is was a 4Mbyte device like most esp12-F's.
by jomas
Thu Oct 17, 2019 4:31 pm
Forum: ESP8266 boards
Topic: Working with ESP8266 (ESP-07S)
Replies: 3
Views: 3398

Re: Working with ESP8266 (ESP-07S)

This is the Micropython forum. Your code is C.

But your problem is that you should use the GPIOxx names as pin and not the physical pins of the board.
by jomas
Fri Oct 11, 2019 7:59 pm
Forum: ESP32 boards
Topic: Newbie problem - WebREPL unaccessable
Replies: 6
Views: 4692

Re: Newbie problem - WebREPL unaccessable

For android there is an apk to use WebRepl

https://microcontrollerelectronics.com/ ... n-android/

I tried it and it works.