Search found 33 matches

by cgglzpy
Thu Dec 05, 2019 4:42 pm
Forum: General Discussion and Questions
Topic: OTA Firmware Updates ?!?
Replies: 11
Views: 976

Re: OTA Firmware Updates ?!?

Hi and yes
This is also not really enduser friendly. But what the hell :mrgreen:
I think starting the OTA from the command line is not "really enduser friendly" as you were asking for.

To make it really enduser friendly the "OTA updater" should have a GUI I guess... :roll:
by cgglzpy
Thu Dec 05, 2019 2:49 pm
Forum: Programs, Libraries and Tools
Topic: Announcing MPyControl - control MicroPhython with your own code
Replies: 11
Views: 940

Re: Announcing MPyControl - control MicroPhython with your own code

Hi, I'm glad someone else is working on this :) see https://forum.micropython.org/viewtopic.php?f=15&t=7120#p40515 and this https://forum.micropython.org/viewtopic.php?f=15&t=6808 I like the fact that the serial interface requires just Pyserial (I use Picocom also, but sadly the latest version is no...
by cgglzpy
Tue Nov 26, 2019 6:14 pm
Forum: General Discussion and Questions
Topic: OTA Firmware Updates ?!?
Replies: 11
Views: 976

Re: OTA Firmware Updates ?!?

They used https://github.com/pfalcon/yaota8266 but this project seems to be unmaintained: last commit is 3 years old :( Yes I know, but maybe it could be a starting point :roll: WebREPL file transfer has known issues on ESP8266: https://github.com/micropython/webrepl# ... e-transfer So far I've bee...
by cgglzpy
Tue Nov 26, 2019 5:33 pm
Forum: General Discussion and Questions
Topic: ESP32 Network Behavior
Replies: 24
Views: 1527

Re: ESP32 Network Behavior

Hi, I've been doing some speed test lately to see the what is the maximum it can achieve. (Using TCP sockets and "plain" MicroPython at least) These are the results: Setup: HOST and DEVICE (esp32) connected to local wifi. RSSI: - HOST : -77 - DEVICE : -72 PING: round-trip min/avg/max/stddev = 35.512...
by cgglzpy
Tue Nov 26, 2019 3:44 pm
Forum: General Discussion and Questions
Topic: OTA Firmware Updates ?!?
Replies: 11
Views: 976

Re: OTA Firmware Updates ?!?

Hi jedie, To update script files there are some alternatives (as far as I know): - FTP Server (from @Roberthh): https://github.com/robert-hh/FTP-Server-for-ESP8266-ESP32-and-PYBD - uPyLoader (from @Beta_Ravener): https://github.com/BetaRavener/uPyLoader/ - webrepl_cli.py (from micropython/webrepl re...
by cgglzpy
Mon Oct 28, 2019 5:00 pm
Forum: Programs, Libraries and Tools
Topic: uPydevice - Python library to interface with Micropython devices (WebREPL or Serial connection)
Replies: 1
Views: 615

Re: uPydevice - Python library to interface with Micropython devices (WebREPL or Serial connection)

Hi, the documentation is now in the GitHub repo DOCS Also I've introduced some decorators that allow to do something like this: # In MicroPython do: from pyb import LED # In Python3 do: from upydevice import PYBOARD, upy_cmd_c pyboard = PYBOARD('/dev/tty.usbmodem3370377430372') class LED: def __init...
by cgglzpy
Sun Oct 27, 2019 8:51 pm
Forum: ESP32 boards
Topic: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32
Replies: 8
Views: 1044

Re: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32

Hi, there is a 'debug' option class PN532: """Driver for the PN532 connected over SPI. Pass in a hardware or bitbang SPI device & chip select digitalInOut pin. Optional IRQ pin (not used), reset pin and debugging output.""" def __init__(self, spi, cs_pin, irq=None, reset=None, debug=False): It may h...
by cgglzpy
Sun Oct 27, 2019 5:36 pm
Forum: ESP32 boards
Topic: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32
Replies: 8
Views: 1044

Re: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32

Hi, I've actually done this (option 2) but I forgot to post that to the drivers forum section.

Here is the repo: https://github.com/Carglglz/NFC_PN532_SPI

:)
by cgglzpy
Mon Oct 21, 2019 4:22 pm
Forum: Programs, Libraries and Tools
Topic: uPydevice - Python library to interface with Micropython devices (WebREPL or Serial connection)
Replies: 1
Views: 615

uPydevice - Python library to interface with Micropython devices (WebREPL or Serial connection)

Hi, I've been working on a simple python library based on my previous work uPydev (see https://forum.micropython.org/viewtopic.php?f=15&t=6808). This library 'uPydevice' is basically a couple of python classes that defines a MicroPython based device (wireless or serial), so it is possible to send co...
by cgglzpy
Sun Oct 20, 2019 5:59 pm
Forum: Pyboard D-series
Topic: WebREPL tutorial
Replies: 8
Views: 942

Re: WebREPL tutorial

webrepl does not work on the PYBD. The _webrepl module is missing, and also when including it, I get an error: Traceback (most recent call last): File "webrepl.py", line 47, in accept_conn AttributeError: 'module' object has no attribute 'dupterm_notify' So there is more to do. I use my ftp server ...