Search found 4 matches

by nickehallgren
Wed Aug 24, 2022 8:16 am
Forum: Raspberry Pi microcontroller boards
Topic: MQTT SSL problems on Wiznet W5100S-EVB-Pico [SOLVED]
Replies: 2
Views: 5765

Re: MQTT SSL problems on Wiznet W5100S-EVB-Pico

Ok, so I managed to fix my problem. It seems that the firmware Wiznet provided did not work when using SSL (don't know why). But I compiled my own version of micropython with the W5100 driver and now MQTT with SSL work perfectly. This is what I did: git clone -b master https://github.com/micropython...
by nickehallgren
Mon Aug 22, 2022 4:38 pm
Forum: Raspberry Pi microcontroller boards
Topic: MQTT SSL problems on Wiznet W5100S-EVB-Pico [SOLVED]
Replies: 2
Views: 5765

MQTT SSL problems on Wiznet W5100S-EVB-Pico [SOLVED]

Hi, I'm trying the same code (that works on a ESP32) on a Pico clone with ethernet but I get no luck with using SSL, without SSL it works (but only if using qos=0 in publish otherwise (using 1) I'll get a OSError: [Errno 22] EINVAL from the publish function). Both qos=1 and ssl works on the ESP32 bu...
by nickehallgren
Mon May 30, 2022 8:11 am
Forum: Programs, Libraries and Tools
Topic: MAX7313 library available?
Replies: 1
Views: 3267

MAX7313 library available?

Hi, I tried to google but didn't find what I'm looking for so I thought I try here too. Is there a library for the MAX7313? I'm working on a project that will have 10 buttons (with RGB leds using PWM) and I would like to use I2C for everything. The program will run on a W5100S-EVB-Pico as I also nee...
by nickehallgren
Thu Nov 07, 2019 8:12 am
Forum: Programs, Libraries and Tools
Topic: Understanding uasyncio and mqtt_as
Replies: 1
Views: 1901

Understanding uasyncio and mqtt_as

Hi, I've been playing around with a ESP32 and the mqtt_as library (had a lot of stability problems with the umqtttsimple). I want to turn on/off a led with a mqtt message. Then publish a message that confirms the state of the led. The code below works but is this the right way to do it? # Subscripti...