Davide Gironi writes: Driving that IC is pretty simple, expecially if you have a dedicated SPI hardware interface, like many microchip has. The ATmega8, used in this example has a dedicated SPI Control Register (SPSR) that one can use to setup the SPI interface. This library can drive more then one MCP49XX of the same […]
Category Archives: library
Use a MCP4728 DAC with AVR ATmega
AVR ATmega MCP4728 DAC library: The MCP4728 device is a quad channel, 12bit voltage output DAC. It also has EEPROM embedded. The DAC is driven using the I2C interface. This library implements an ATmega driver for this IC. More details on Davide Gironi’s blog. Check out the video after the break.
HX711 load cell amplifier library for AVR ATmega
A HX711 load cell library for AVR ATmega: HX711 is a precision 24bit ADC IC designed for weigh scales and industrial control applications to interface directly with a bridge sensor. A load cell is a transducer that is used to create an electrical signal whose magnitude is directly proportional to the force being measured. The […]
SerialDebug Library for Arduino
Rui Santos over at Random Nerd Tutorials wrote a series of three posts on how to use the SerialDebug library created by João Lopes with Arduino IDE (programming Arduino, ESP32, ESP8266): After programming the ESP32 using ESP-IDF, João noticed that debug for Arduino IDE needed some improvement. So, he created the SerialDebug library to bring […]
Game audio for the ESP32
ESP32 game audio at Buildlog.Net blog: I have been working on some games for the ESP32 and needed some decent quality audio with a minimum number of additional components. I was bouncing between using the DAC and using the I2S bus. The DAC requires less external parts, so I went that way. I ended up […]
An AVR Atmega library for multiple HD44780 based LCD connected through i2c
Davide Gironi has posted an I2C multiple HD44780 AVR Atmega library: This library implements a driver for HD44780 lcd connected through PCF8574 port expander. Data is transmitted using only 2 wire over i2c with the PCF8574. This library can drive up to 8 LCD concurrently. Lcd driver is based upon Peter Fleury’s lcd driver HD44780 […]
ESP8266: SSD1306 OLED library release
Daniel Eichhorn writes: The “ESP8266 OLED SSD1306″ is an open source library which allows you to control those pretty OLED modules from our beloved ESP8266 module. Fabrice Weinberg cleaned up all the ugly pieces of code which I initially wrote caused by my near C/C++ illiteracy. He also added support for Pasko’s BRZO I2C library […]
Atmega16u2 virtual serial example using LUFA Library
Shane of Wattnotions has published a new build, an Atmega16u2 virtual serial LUFA board: What I wanted the LUFA library to do was pretty specific – the atmega16u2 should show up as a virtual serial port so that the computer can connect and read data from it like any other serial port. All of the other […]
ZFM-20 fingerprint capture library
Dilshan Jayakody writes: This ZFM-20 fingerprint library is developed to capture and retrieve fingerprint images from the above sensor module. The main purpose of this library is to use ZFM-20 sensor with PC as low cost fingerprint capture unit and because of that, in-module fingerprint processing and verification functions are not implemented in this library. […]
RFM69_ATC: Automatic Transmission Control
Felix of LowPowerLab writes: There is now a new extension to the RFM69 library. It’s called RFM69_ATC aka Automatic Transmission Control. Many thanks to Tom Studwell who implemented this and shared it in the forum. The basic idea behind this extension is to allow your nodes to dial down transmission power based on the received […]
DPA library for MCU
Ondřej Karas writes: A few months ago, I published post about DPA .NET Class. This article describes simple, but effective library used for DPA handling by MCU (UART interface). Published library is independent on the MCU family, but it was written for 32-bit ARM processors with Cortex-M3 core and GNU C compiler. Library consists of […]
MCP2221 HID Library
Zak Kemble writes, “This is a library for interfacing with the HID features of the MCP2221 USB to UART and I2C/SMBus serial converter from Microchip. The converter includes 4 GPIO pins, 3x 10-bit ADCs, 1x 5-bit DAC and more. Microchip does provide a library for interfacing with the chip, however it is supplied as proprietary DLLs. […]
USB Host Library 3.0-Alpha
Oleg over at Circuits@Home writes: The alpha of the third revision of USB Host library has been posted on GitHub. The code has been extensively re-organized to make it modular and generic; as a result, it is now possible to run it on more Arduino compatibles and also use native USB Host hardware on some […]
Teensy audio library gets S/PDIF support
Paul over at DorkbotPDX has written an article on Teensy Audio Library with S/PDIF support: Thanks to the amazing effort of Frank Boesing, the Teensy Audio Library now has native S/PDIF output. Using a $1 TOSLINK connector, or just a red LED, you can get optical S/PDIF digital audio output.
XORLib, an open source game library for PIC32s
Shaos shared his game library for PIC32s in the project log forum: XORLib is a simple multiplatform game library that is licensed under MIT-license and developed at least for two platforms: PIC32 with NTSC and PAL TV DOS with CGA/EGA/VGA PIC32 code based on “NTSC TV interface” examples from hackaday.io/project/2032-pic32-oscilloscope by Bruce Land (Cornell University) that […]
Drive a stepper motor with acceleration and deceleration using an Allegro driver on ATmega8
Davide Gironi writes: This library drive a stepper motor using the Allegro A3967 (EasyDriver) on ATmega8. It will also work on the Allegro a4988, and other type of motor driver controlled by the number of pulse received. It features: direction changing speed changing acceleration and deceleration multiple motor driving stop spinning after number of step, […]
Simple I2C SSD1306 driver for AVR
Jean THOMAS of TiBounise writes: I wrote a small SSD1306 library for AVR, with a framebuffer. It even features a small simulator to let you have a preview of what it’ll look like on the OLED screen without having to upload again and again code to your development board. The library is released under a very […]
A Xively logger library for Spark Core
Davide Gironi writes: Xively (formerly Cosm and before that Pachube) is an on-line database service allowing developers to connect sensor-derived data (e.g. energy and environment data from objects, devices & buildings) to the Web and to build their own applications based on that data. This library is a modular and configurable Xively data logger, built […]
Arduino Library for Freescale’s MMA7361 3 axis accelerometer
Rohit Gupta wrote a basic library for using MMA7361 3axis Accelerometer with Arduino, that is available at Github: This library helps you to easily play with the almost universal 3 axis accelerometer available in most Hobby markets that is based on Freescale’s MMA7361. In order to get in working you have to pull-up the sleep […]
ArTICL: Arduino TI Calculator Linking Library
KermMartian over at Cemetech writes: The ArTICL library (pronounced “article”) lets Arduino programs send and receive TI link protocol-formatted packets at a low level. In addition, it includes a CBL2 class that lets the calculator emulate either a CBL2 device or a calculator speaking the CBL2 protocol (thanks to Cemetech member CVSoft for helping to make […]
