Home IoT Lisp Badge LE Is a Low-Energy Programmable Badge That Operates on a CR2032 Coin Cell

Lisp Badge LE Is a Low-Energy Programmable Badge That Operates on a CR2032 Coin Cell

0
Lisp Badge LE Is a Low-Energy Programmable Badge That Operates on a CR2032 Coin Cell

[ad_1]

A brand new challenge from David Johnson-Davies of Technoblogy brings a brand new approach to program Lisp whereas providing an replace to a previous challenge. The Lisp Badge LE runs uLisp for as much as 40 hours on a single coin cell battery.

Lisp Badge LE’s printed circuit board measures 107 x 61mm with holes on both facet on the high for attaching a lanyard. This dimension PCB is similar Johnson-Davies used within the earlier Lisp Badge. A monochrome LCD sits on the entrance. Whereas the keycaps poke by the highest facet, they’re mounted on the again of the PCB with the remainder of the elements.

An AVR128DB microcontroller (MCU) working at 24 MHz powers the badge. Prior to now, Johnson-Davies used this Microchip half in an op-amp lab package. The MCU runs a variant of Lisp referred to as uLisp. With 128 kilobytes of flash reminiscence and 16 kilobytes of RAM, there’s sufficient house for 2800 Lisp objects.

The LE a part of this badge identify stands for Low Vitality. Amazingly, the whole badge runs from a single CR2032 coin cell with an estimated lifetime of about 40 hours!

uLisp is a microcontroller-friendly model of the Lisp programming language. It will possibly run on microcontrollers just like the Arduino Uno’s ATmega328P, Teensy 4.0’s Arm Cortex-M7, and RISC-V cores.

You may entry 196 Lisp capabilities and 37 key phrases for issues like Arduino constants. For instance, there’s a key phrase named “:led_built-in” for Lisp Badge LE’s onboard LED. Johnson-Davies additionally added a graphics library to plot on to the 250×122 pixel show.

Programming extensions allow you to entry further {hardware} just like the piezo buzzer for producing sound or the AVR128DB’s peripherals. For instance, there are hooks for the serial (I2C, SPI, UART) buses, eight analog inputs, and two analog outputs.

The 45-key keyboard makes it straightforward to enter packages into Lisp Badge LE. The character set consists of higher and decrease case letters, digits, and the symbols required for uLisp syntax. There are Meta and Shift modifiers to permit for extra character entry.

Though the main focus for this badge is uLisp, there’s a further built-in programming possibility. You may also write and assemble AVR meeting code, which incorporates extensions to Lisp Badge LE’s further {hardware}!

Sooner or later, Johnson-Davies might supply an alternate model of this badge with a 32-bit processor. However, for now, you may get the Eagle design information and Arduino IDE code from this GitHub repo. Then take a look at the Lisp Badge LE put up on Technoblogy for detailed directions on programming the firmware.

[ad_2]