---
title: "rp2040_circuitpython_733_mqttclock"
url: "https://maker.wiznet.io/scarlet/projects/rp2040-circuitpython-733-mqttclock/"
markdown_url: "https://maker.wiznet.io/scarlet/projects/rp2040-circuitpython-733-mqttclock/md"
type: "UCC: User Created Content"
author: "KHome"
author_url: "https://github.com/KHome/rp2040_circuitpython_733_mqttclock"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "KHome"
original_url: "https://github.com/KHome/rp2040_circuitpython_733_mqttclock"
published: "2023-04-04"
language: "en"
hardware: ["WIZnet W5500"]
likes: 0
views: 138
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# rp2040_circuitpython_733_mqttclock

> Raspberry Pico with Circuitpython 7.3.3. as a Mulit-Sensor MQTT Neopixel Hex-Clock

Original author: KHome (source: https://github.com/KHome/rp2040_circuitpython_733_mqttclock)

## Components

- **WIZnet W5500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))

WIZnet parts: W5500 ([Datasheet](https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet?utm_source=maker&utm_medium=project&utm_campaign=w5500), [product hub](https://maker.wiznet.io/products/w5500/))

## Article

## rp2040_circuitpython_733_mqttclock

Raspberry Pico with Circuitpython 7.3.3. as a Mulit-Sensor MQTT Neopixel Hex-Clock

HW used:

- Raspberry Pico W with µC: RP2040 & WLAN

- W5500: SPI Interface for LAN

- DS3231: I2C for Realtime Clock incl. Buffer-Battery

- ADPS9960: Gesture Sensor for Human-Machine-Interface (HMI)

- TSL2561: Light Sensor to control Display and Neopixel Brightness

- BME280: Pressure, Temperature, Humidity Sensor for room feedback

- HT16K33 7-Segment I2C: Display

- SDD1309, [2,42" OLED Yellow Display,](https://www.diymore.cc/collections/hot-sale/products/2-42-inch-12864-oled-display-module-iic-i2c-spi-serial-for-arduino-c51-stm32-green-white-blue-yellow) modified for I2C

- SD-Card Reader incl. SD-Card with MP3-files

- MAX98357: Audio-Amplifier with I2S Interface

- Small Loudspeaker connected to Audio-Amp.

- Neopixel WS2811 (RP2040 PIO driven)

- 5V Main Power Supply

MD used:

- Thingiverse: [HexMatrix Slim](https://www.thingiverse.com/thing:4848896)

FIrmware used:

- Circuitpython 7.3.3

SW used:

- Asyncio control of main loop

## SW controls

## MQTT Commands

### Display 7 Segment

- Enable Display-7-Segment

- Control content -- Brightness -- Alarm show -- Clock show -- Blink rate

---

Source: https://maker.wiznet.io/scarlet/projects/rp2040-circuitpython-733-mqttclock/
