Search found 63 matches

by philwilkinson40
Sun May 23, 2021 5:00 am
Forum: General Discussion and Questions
Topic: checking a value across lots of Constants
Replies: 3
Views: 2427

Re: checking a value across lots of Constants

Thanks for responding @Spotlightkid I had hoped to try and keep the config file independent of the functions and also wanted to avoid repeating the Constants within a list or dict. However, perhaps I can't ! so I will progress with your approach and create a dict with keys corresponding with the Con...
by philwilkinson40
Sat May 22, 2021 11:55 am
Forum: General Discussion and Questions
Topic: checking a value across lots of Constants
Replies: 3
Views: 2427

checking a value across lots of Constants

I am trying to solve a problem, which probably has a very simple answer. The use case is a set of remote microcontrollers sending data to a central 'broker' microcontroller using the excellent ESP-Now module written by @Glenn20. Each remote microcontroller and the broker contain a config file contai...
by philwilkinson40
Thu Nov 26, 2020 11:53 pm
Forum: General Discussion and Questions
Topic: rshell no micropython boards connected
Replies: 2
Views: 3021

Re: rshell no micropython boards connected

Damn!
I must have got so used to using the pyboard I forgot how to connect a ESP!
Apologies
by philwilkinson40
Wed Nov 25, 2020 11:48 pm
Forum: General Discussion and Questions
Topic: rshell no micropython boards connected
Replies: 2
Views: 3021

rshell no micropython boards connected

I have been using rshell for years on Ubuntu and it is a great tool. However, I have recently attempted to use rshell it on a Raspberry Pi connected by a USB serial to an ESP32. The raspberry pi uses the latest version of Raspberry Pi OS Lite I have flashed the latest stable version of ESP32 (1.13) ...
by philwilkinson40
Sun Mar 10, 2019 12:59 am
Forum: General Discussion and Questions
Topic: size of object
Replies: 1
Views: 2326

size of object

Is there an equivalent of sys.getsizeof() in micropython? I am looking to check the size of various objects prior to sending data across a LPWAN from a remote IOT device. If the size is too large I may split the data or save to a local SD card. If this is not implemented, is there a way I can obtain...
by philwilkinson40
Fri Feb 15, 2019 4:30 am
Forum: ESP8266 boards
Topic: [Solved] NodeMCU boot loop after fresh install
Replies: 8
Views: 7754

Re: NodeMCU boot loop after fresh install

Not sure, it appears it is the boot that will not work if the dual I/O option is not selected during flash.
Did it work in the end?
by philwilkinson40
Thu Feb 14, 2019 12:44 pm
Forum: ESP8266 boards
Topic: [Solved] NodeMCU boot loop after fresh install
Replies: 8
Views: 7754

Re: NodeMCU boot loop after fresh install

try

Code: Select all

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dio 0 esp8266-20190125-v1.10.bin
note the additional -fm dio option on esptool
this is mentioned in the getting started tutorial
I just tried this on my Node MCU and it flashed and started fine.
by philwilkinson40
Fri Feb 08, 2019 1:55 pm
Forum: Programs, Libraries and Tools
Topic: rshell 0.0.17 released
Replies: 3
Views: 3168

Re: rshell 0.0.17 released

no more defining buffer sizes on the esp8266, just define the port and it just starts!
Great tool Dave,
many, many thanks for starting and maintaining this.
by philwilkinson40
Thu Jan 17, 2019 4:32 pm
Forum: ESP8266 boards
Topic: howto: Control passive buzzer
Replies: 6
Views: 15517

Re: howto: Control passive buzzer

PWM. This tutorial should give you a helping hand if you have an esp board. Esp boards do have a lower frequency limit, if you need higher try the pyboard.
https://micropython-on-wemos-d1-mini.re ... ml#beepers
by philwilkinson40
Thu Jan 03, 2019 12:28 pm
Forum: General Discussion and Questions
Topic: Pyboard D - demo
Replies: 3
Views: 3688

Re: Pyboard D - demo

the specs at 25' on the video may give you an answer

10uA during deepsleep. Try running a pi zero on batteries for a while and see how long you last.