Search found 1348 matches

by deshipu
Tue Oct 01, 2019 8:30 pm
Forum: Programs, Libraries and Tools
Topic: Reading GIF files
Replies: 0
Views: 106

Reading GIF files

We usually use BMP (or worse) images for our microcontroller projects, because with no compression they are relatively easy to read and stream directly from the flash memory. However, they come with their downsides, large size being just one of them. So I looked around at how GIF files are parsed by...
by deshipu
Sun Aug 04, 2019 10:21 am
Forum: Programs, Libraries and Tools
Topic: Stage — a tile and sprite engine for making games
Replies: 3
Views: 429

Stage — a tile and sprite engine for making games

Hello everyone, it's me again. It's been a while since I last posted here, but I came back just for a moment to tell you about my library. Ever since I started my work on the µGame console, I had my game library working both in MicroPython and CircuitPython, but since CircuitPython was better for be...
by deshipu
Mon May 20, 2019 1:30 pm
Forum: Programs, Libraries and Tools
Topic: font454.py — a tiny 4x5 pixel antialiased font for low-resolution displays
Replies: 10
Views: 3193

Re: Using your font on a Nokia 5110 PCD8544 84x48 LCD

could you explain better what are the 4 colors for and if they are needed on a monochromatic display? It can be used for anti-aliasing when your display has more than 2 colors/shades available, and for making the font look heavier/lighter when it only has 1-bit display. Basically, if you make it 0-...
by deshipu
Sun May 05, 2019 3:57 pm
Forum: ESP32 boards
Topic: ILI9225 TFT display driver
Replies: 8
Views: 1089

Re: ILI9225 TFT display driver

Just take one of the existing drivers, take the datasheet, and make it. It's not rocket surgery. You will probably only need to make small modification to the initialization commands, everything else should be exactly the same. Do you know where I can look at some examples of how to adapt libraries...
by deshipu
Tue Mar 26, 2019 11:24 am
Forum: micro:bit boards
Topic: Neopixel RGBW
Replies: 21
Views: 1332

Re: Neopixel RGBW

The online editor is ancient, and updating it involves a lot of red tape and jumping trough hoops.

Best use the Mu editor, as it includes a recent version of MicroPython, and lets you work without Internet connection.
by deshipu
Fri Feb 08, 2019 10:51 am
Forum: ESP8266 boards
Topic: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi
Replies: 8
Views: 3732

Re: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi

Neither the ESP8266 chip itself, not the ESP8266 modules, have a 3.3V voltage regulator. There is usually a voltage regulator on the development boards, but it varies between the board make and version, so there is no single answer to that.
by deshipu
Sat Jan 12, 2019 5:04 pm
Forum: micro:bit boards
Topic: Receiving radio packets with NRF24L01
Replies: 6
Views: 4266

Re: Receiving radio packets with NRF24L01

Nordic Semiconductors is pretty much the only reputable brand of NRF24L01 chips ;-)
by deshipu
Fri Jan 11, 2019 4:25 pm
Forum: Other Boards
Topic: Looking for a board with 16 ADC channels and WiFi
Replies: 8
Views: 922

Re: Looking for a board with 16 ADC channels and WiFi

Just use your NodeMCU and add an external ADC chip. For example, here is a library for ads1015, which has a lot of cheap breakouts available: https://bitbucket.org/thesheep/micropython-ads1015/
by deshipu
Tue Jan 08, 2019 6:00 pm
Forum: micro:bit boards
Topic: Radio communication (Nordic Gazell)
Replies: 1
Views: 355

Re: Radio communication (Nordic Gazell)

In theory, the "radio" module uses exactly the same protocol as NRF24 does, and it should be possible to have them communicate out of the box. In practice, I've spent several weeks trying to get that working, and failed — I only managed to receive about 1 in 1000 packets on the NRF24 side, and mangl...