Search found 322 matches

by jimmo
Fri Jul 19, 2019 8:21 am
Forum: General Discussion and Questions
Topic: Neo pixel
Replies: 5
Views: 72

Re: Neo pixel

Oh yeah, completely agree!! Definitely go with the ESP32 (or Pyboard D, if you're using DotStars). Most of my experience with this was before before the ESP32 was widely available.

Also I'm a really big believer in the sunk cost fallacy and have a drawer full of ESP8266s :p
by jimmo
Fri Jul 19, 2019 7:07 am
Forum: ESP8266 boards
Topic: Corrupt file stops boot
Replies: 2
Views: 50

Re: Corrupt file stops boot

Does your code write to the filesystem during normal operation? Was there possibly a power outage (or if it's battery powered, a low battery state) that coincides with the corruption?
by jimmo
Fri Jul 19, 2019 2:16 am
Forum: Programs, Libraries and Tools
Topic: LCD Problems
Replies: 4
Views: 129

Re: LCD Problems

I don't understand the initialization sequence. The external reset is low, then high, then low? Or the other way around? For how long? This is a fairly typical "active low" reset line. You can use it from software to force the device into a known state. The RST line is "active low" which means it w...
by jimmo
Thu Jul 18, 2019 9:57 pm
Forum: General Discussion and Questions
Topic: Neo pixel
Replies: 5
Views: 72

Re: Neo pixel

In addition to the ESP32, the ESP8266 and micro:bit have built-in neopixel drivers. I strongly prefer DotStars leds instead (APA102) because they don't require a driver, as long as your board supports SPI you can use them. (Which is every board). Also you can transmit data to them at a higher rate (...
by jimmo
Thu Jul 18, 2019 9:28 pm
Forum: MicroPython pyboard
Topic: ADC measure negative voltage??
Replies: 23
Views: 587

Re: ADC measure negative voltage??

If the filesystem isn't suitable, then you might find this uesful

viewtopic.php?f=12&t=6679
by jimmo
Thu Jul 18, 2019 1:14 am
Forum: General Discussion and Questions
Topic: keep wifi and umqttsimple "alive"? (beginner question)
Replies: 7
Views: 120

Re: keep wifi and umqttsimple "alive"? (beginner question)

Hi, Sorry I don't have a great answer to your main question. The topic of ensuring that the WiFi stays connected has been discussed a bit in the forum before, but I think it remains a bit of a tricky problem. I haven't looked in any detail myself though. One thing that might be worth checking out is...
by jimmo
Wed Jul 17, 2019 11:55 am
Forum: MicroPython pyboard
Topic: NeoPixel Library
Replies: 3
Views: 3854

Re: NeoPixel Library

Possibly https://github.com/JanBednarik/micropython-ws2812 or https://github.com/nickovs/ws2812-SPI Both of these generate the WS2812 data signal using SPI (by oversampling each bit into several SPI bits). If you feel like building your own firmware, I have a neopixel driver written in C for pyboard...
by jimmo
Wed Jul 17, 2019 11:38 am
Forum: Other Boards
Topic: [STM32L471] Port for STM32 without USB connectivity
Replies: 4
Views: 94

Re: [STM32L471] Port for STM32 without USB connectivity

I already tried to get rid of the many USB references within the source files ... I'm unsure why you had to remove any references other than in mpconfigboard.h (I assume you already set MICROPY_HW_ENABLE_USB to zero (in addition to MICROPY_HW_USB_FS), which should cover everything). I started from ...
by jimmo
Wed Jul 17, 2019 9:06 am
Forum: Other Boards
Topic: DEVEBOX STM32F407 mini
Replies: 8
Views: 129

Re: DEVEBOX STM32F407 mini

If this was working before (like a few months ago) then you possibly had pyusb installed for python2, but now the MicroPython makefiles use python3 by default.
by jimmo
Wed Jul 17, 2019 9:04 am
Forum: Other Boards
Topic: DEVEBOX STM32F407 mini
Replies: 8
Views: 129

Re: DEVEBOX STM32F407 mini

Sounds like you need to install pyusb?