The mcp4822 module provides the MCP4822 class for non-blocking audio playback through the Microchip MCP4822 dual-channel 12-bit SPI DAC using PIO and DMA. It allows users to output audio by configuring clock, MOSI, and chip select pins with adjustable gain settings.
* Non-blocking playback for audiocore samples such as RawSamples or WaveFiles
* Support for sine wave generation via array manipulation
* Methods for controlling playback including play, stop, pause, and resume
* Monitoring of real-time playback status through the playing property
This guide explores using a gas sensor to detect milk freshness as an alternative to the traditional sniffing method. By combining an Adafruit CLUE microcontroller with an SGP30 Air Quality Sensor, users can build a digital nose device capable of identifying spoiled milk through chemical detection. The project is designed as a beginner-friendly science experiment that requires no soldering.
Key components and topics:
Using the SGP30 gas sensor for VOC and eCO2 detection
Integrating Adafruit CLUE with CircuitPython
Building a digital freshness checker device
Conducting experiments to detect spoiled milk gases
This week in Python on Microcontrollers, we have the CircuitPython 10.1.0 release candidate, a new guide for AI on microcontrollers, and more!
This Python code demonstrates a neural network application on a CircuitPython board, utilizing a camera (OV7670) for image capture, preprocessing, and inference using a digit classifier. It includes image conversion, auto-cropping, and normalization steps.
Train your neural network in TensorFlow or PyTorch, and run it inside CircuitPython using a single line of Python code.
The Adafruit Feather Bluefruit Sense takes the popular Feather nRF52840 Express and adds a comprehensive set of sensors, making it an excellent wireless sensor platform with Bluetooth Low Energy, native USB support, and Arduino/CircuitPython compatibility. It features environmental and motion sensing capabilities including 9-DoF motion sensors, proximity/light/color/gesture sensor, PDM microphone, humidity sensor, and barometric pressure sensor.
This document provides a developer guide for the Tiny Code Reader from Useful Sensors, a small, low-cost hardware module that reads QR codes. It covers connecting, mounting, powering up, reading data, configuration, sensor characteristics, example code, privacy considerations, and an appendix with data formats and CAD files.
Explore the powerful wireless capabilities of the Seeed Studio XIAO nRF52840 series, equipped with Nordic nRF52840 MCU, Bluetooth 5.0 connectivity, and options for embedded ML and advanced sensor integration.
This desktop gadget, based on ESP32 C3, is a mini-TV and unique design artwork. It features a 1.44-inch LCD screen, WiFi connectivity for displaying weather and time, and a portable pendant design.
The Spotpear ESP32C3 LCD 1.44 is a desktop gadget with a 1.44-inch LCD screen that can display videos and connect to WiFi for weather and time updates.