Search found 4914 matches
- Thu Feb 11, 2021 2:35 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Resilient MQTT for the Pico
- Replies: 0
- Views: 132
Resilient MQTT for the Pico
The most obvious limitation of the Pico is the absence of WiFi. Long before the Pyboard D I developed a means of bringing MQTT to the Pyboard 1.1. This has now been updated and ported to the Pico. The concept is an ESP8266 running a fixed firmware build and linked to the Pico via five GPIO lines, wh...
- Thu Feb 11, 2021 2:15 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Wifi bridge for RPI Pico
- Replies: 27
- Views: 1669
Re: Wifi bridge for RPI Pico
Interesting. You've evidently been busy. I can't claim to fully understand it but it looks promising. I'm not sure what to say about performance. In many applications (e.g. logging outside temperatures or air pressure) it really doesn't matter. I'm also doubtful about talking to a remote broker, esp...
- Wed Feb 10, 2021 1:27 pm
- Forum: Programs, Libraries and Tools
- Topic: Fast crc8
- Replies: 49
- Views: 1025
Re: Fast crc8
I was going to point you at a faster way to bit reverse until I noticed you don't actually use the function 

- Wed Feb 10, 2021 6:13 am
- Forum: General Discussion and Questions
- Topic: Improving RAM usage with initialisation code
- Replies: 4
- Views: 131
Re: Improving RAM usage with initialisation code
I don't think there is anything to be gained by putting code in boot.py and it is generally deprecated unless you are doing it for a very specific reason. I import modules at the start of their containing module, but ensure that any large buffers get created as early as possible in the start process...
- Wed Feb 10, 2021 5:56 am
- Forum: Hardware Projects
- Topic: ATE-NIC project using Pyboard D-series and 20+ I2C
- Replies: 10
- Views: 309
Re: ATE-NIC project using Pyboard D-series and 20+ I2C
Mulled over that one for a while as Pyboard RTC is not battery backed. Simplest/cheapest option for me was to go for I2C device with battery ... SparkFun Real Time Clock Module - RV-8803 It is. See this doc . Supply 1.65-3.6V on Vbat. I haven't tested this on a Pyboard D but I have four Pyboard 1.0...
- Tue Feb 09, 2021 7:12 pm
- Forum: Programs, Libraries and Tools
- Topic: is there a Protobuf module
- Replies: 3
- Views: 88
Re: is there a Protobuf module
I tested the protobuf implementation and had some discussions with its author to help him make it sure it played nicely with MicroPython. It struck me as very useful.
- Tue Feb 09, 2021 7:04 pm
- Forum: Pyboard D-series
- Topic: Cause of complaints about hard resets being delayed by hours?
- Replies: 3
- Views: 165
Re: Cause of complaints about hard resets being delayed by hours?
My view is that MSC mode is the spawn of the devil . Sooner or later it will bite you :( It shouldn't be necessary to unplug a Pyboard to reboot it. If you can get to a REPL with ctrl-c you can issue import pyb pyb.hard_reset() Your terminal emulator will probably kick you out, but you should be abl...
- Tue Feb 09, 2021 1:40 pm
- Forum: General Discussion and Questions
- Topic: Improving RAM usage with initialisation code
- Replies: 4
- Views: 131
Re: Improving RAM usage with initialisation code
Take a contrived example of instantiating a large buffer. The point is that writing your main module buf = bytearray(10_000) import module1 ... import module10 puts the compiler at a disadvantage compared to import module1 ... import module10 # RAM used by the compiler may now be freed. I usually do...
- Tue Feb 09, 2021 1:30 pm
- Forum: Hardware Projects
- Topic: ATE-NIC project using Pyboard D-series and 20+ I2C
- Replies: 10
- Views: 309
Re: ATE-NIC project using Pyboard D-series and 20+ I2C
Impressive, that looks like a major project.
- Mon Feb 08, 2021 6:07 am
- Forum: Pyboard D-series
- Topic: Elegant Physical Config for Pyboard D
- Replies: 17
- Views: 1337
Re: Elegant Physical Config for Pyboard D
That's very nice. I've always been amazed that it's possible to align the wbus connectors with the required degree of precision. I don't know a way to connect without soldering. Robert's adaptor works very well for my purposes, but I was happy soldering to one of my Pyboards. I plan to get some more...