Search found 5067 matches
- Mon Apr 12, 2021 5:07 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Wifi bridge for RPI Pico
- Replies: 32
- Views: 2708
Re: Wifi bridge for RPI Pico
My understanding of @frustr8dlec's question was to ask whether it was possible to re-flash an ESP-01 with code for the WiFi MQTT bridge. Using the ESP-01 as designed is a given - but supporting MQTT that way would be, er, difficult.
- Mon Apr 12, 2021 7:10 am
- Forum: Programs, Libraries and Tools
- Topic: machine.RTC documentation
- Replies: 3
- Views: 105
Re: machine.RTC documentation
My advice is to use the pyb library for the Pyboard's RTC. Its documentation is correct, unlike that of machine.rtc.
All Pyboards are compatible with pyb.
All Pyboards are compatible with pyb.
- Mon Apr 12, 2021 7:04 am
- Forum: MicroPython pyboard
- Topic: Reading multiples waves files in the same time
- Replies: 3
- Views: 133
Re: Reading multiples waves files in the same time
My comment was based on experience developing this library which can play MP3 and FLAC files via an external decoder chip. Handling a single audio stream from a file on an SD card was near the limit of what could be achieved, even with the number crunching of decoding the stream offloaded to externa...
- Mon Apr 12, 2021 6:55 am
- Forum: Drivers for External Components
- Topic: Receive and transmit IR remote codes
- Replies: 17
- Views: 4173
Re: Receive and transmit IR remote codes
Given that you know you have a Sony 12 bit remote you should be able to run from ir_rx.test import test test(2) # The specific test for Sony 12 bit Then make a record of the data and address value associated with each button that is of interest. Transmitting using those values using the ir_tx SONY_1...
- Mon Apr 12, 2021 6:39 am
- Forum: Raspberry Pi microcontroller boards
- Topic: nano-gui working on rp2
- Replies: 2
- Views: 433
Re: nano-gui working on rp2
It isn't on PyPi. PyPi isn't much help for targets with no network interface.
Installation is done by cloning the repo to your PC and copying files to the filesystem, preserving the directory structure. Instructions may be found here.
Installation is done by cloning the repo to your PC and copying files to the filesystem, preserving the directory structure. Instructions may be found here.
- Sun Apr 11, 2021 12:58 pm
- Forum: MicroPython pyboard
- Topic: Reading multiples waves files in the same time
- Replies: 3
- Views: 133
Re: Reading multiples waves files in the same time
I think this is beyond the scope of microcontroller hardware for a variety of reasons.
I would consider using something like a Raspberry Pi hosting a full version of Linux. I'd ask for advice in a suitable forum: Linux has a variety of audio applications which can probably do what you are after.
I would consider using something like a Raspberry Pi hosting a full version of Linux. I'd ask for advice in a suitable forum: Linux has a variety of audio applications which can probably do what you are after.
- Sun Apr 11, 2021 10:41 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Wifi bridge for RPI Pico
- Replies: 32
- Views: 2708
Re: Wifi bridge for RPI Pico
... Peter is there any possibility that you would be able to clarify if an ESP-01 module would be useable with your MQTT system, ... I have no ESP-01 hardware or experience. The underlying mqtt_as library has been extensively tested with the reference board (Adafruit Feather Huzzah) and with the We...
- Sun Apr 11, 2021 9:27 am
- Forum: Drivers for External Components
- Topic: Update to font_to_py for tiny fonts
- Replies: 5
- Views: 463
Incompatible font files
I've had a look at that driver. It works in a different way from mine. In some ways it is more efficient: my drivers inherit from framebuf which has a cost in RAM. One upside of my approach is compatibility with nano-gui. The second is that the display objects inherit the framebuf graphics primitive...
- Sat Apr 10, 2021 1:18 pm
- Forum: ESP32 boards
- Topic: waveshare eInk display is stuck powering on with BUSY pin on high
- Replies: 3
- Views: 163
Re: waveshare eInk display is stuck powering on with BUSY pin on high
As a general comment, having ported several display drivers to MicroPython, the way forward is to sit down with the hardware, the datasheet, and the code for the similar display. Check the code line by line against the datasheet. That said, my limited experience with Waveshare boards was bad. Maybe ...
- Sat Apr 10, 2021 1:06 pm
- Forum: MicroPython pyboard
- Topic: How to trigger delayed callback from interrupt
- Replies: 3
- Views: 155
Re: How to trigger delayed callback from interrupt
Another approach if you don't want to use my Delay_ms class is something like this: import uasyncio as asyncio from machine import Pin from pyb import LED led = LED(1) async def my_app(): tsf = asyncio.ThreadSafeFlag() def irq_han(_): led.on() tsf.set() # Trigger the thread safe flag pin = Pin('X1',...