{"id":14231,"date":"2023-09-28T10:41:18","date_gmt":"2023-09-28T15:41:18","guid":{"rendered":"https:\/\/blinkingrobots.com\/technoblogy-lisp-badge-le\/"},"modified":"2023-09-28T10:41:18","modified_gmt":"2023-09-28T15:41:18","slug":"technoblogy-lisp-badge-le","status":"publish","type":"post","link":"https:\/\/blinkingrobots.com\/technoblogy-lisp-badge-le\/","title":{"rendered":"Technoblogy – Lisp Badge LE"},"content":{"rendered":"\n2023-09-27 17:27:11 <\/p>\n
twenty seventh September 2023<\/p>\n
It is a self-contained low-power laptop with its personal show and keyboard you can program in uLisp, a model of the high-level language Lisp for microcontrollers:<\/p>\n
<\/p>\n
The Lisp Badge LE, a low-power laptop programmed in Lisp It is primarily based on an AVR128DB48 which offers 128K bytes of flash reminiscence, and 16K bytes of RAM. There’s an built-in 45-key keyboard optimised for Lisp, utilizing reverse-mounted buttons giving room for giant key legends on the PCB.<\/p>\n It has a low-power monochrome show, readable in daylight with no backlight, so it is preferrred for programming within the backyard or on the seashore! This offers 10 traces of 41 characters, or graphics with a decision of 250×122 pixels, supported by a number of graphics instructions.<\/p>\n You should use it to run packages that interface to parts akin to LEDs and push-buttons through the I\/O pins, learn the analogue inputs, and function exterior units through the I2C and SPI interfaces.<\/p>\n A number of years in the past I designed the Lisp Badge<\/a>, a self-contained laptop with its personal show and keyboard, primarily based on an ATmega1284, that you may program in Lisp. Since then I have been fascinated with how I may enhance it, and made a listing of options I might like so as to add.<\/p>\n On the one hand I wished it to have a greater keyboard, and be low energy, powered from a button cell, with an eInk show that you may see in daylight. However I wished it to have a color TFT graphics show, and use a quick 32-bit ARM processor, with help for floating-point arithmetic.<\/p>\n I quickly realised that these necessities are incompatible in a single design, and so set about designing two completely different Lisp Badges to satisfy the 2 units of necessities. This Lisp Badge LE (low power) is the primary of these designs, and has the next new options:<\/p>\n It\u2019s primarily based on an AVR128DB48 (or AVR128DA48) operating at 24MHz, and offers 2800 Lisp objects, about the identical as the unique Lisp Badge. It can save you all the workspace to flash.<\/p>\n The Lisp Badge LE attracts solely 6mA from its CR2032 button cell, and so ought to have a lifetime of about 40 hours. There\u2019s a bodily on\/off swap too for lengthy durations of inactivity.<\/p>\n The Lisp Badge LE runs the AVR model of uLisp which offers 16-bit integer arithmetic, arbitrary size symbols and strings, lists, multi-dimensional arrays, Arduino interface capabilities, debugging options, and built-in documentation.<\/p>\n The show is a low-power monochrome graphics show\u00a0[1]<\/a><\/sup> which I explored in an earlier article; see Monochrome Low-Power Display Library<\/a>. It has\u00a0a decision of 250×122 pixels, and a textual content decision of 10 traces of 41 characters per line. It helps studying again from the show, which makes it potential to help a full vary of graphics capabilities, together with plotting factors,\u00a0drawing traces, drawing define and crammed rectangles circles or triangles, and plotting characters and textual content at regular measurement or enlarged by any integer scale issue.<\/p>\n The keyboard takes benefit of push buttons that mount on the reverse of the board, with the button caps protruding by holes within the PCB. This makes it a lot simpler to make use of than on the unique Lisp Badge as a result of it is simpler to press the keys, and there is house for bigger key legends. The push buttons can be found from Adafruit\u00a0[2]<\/a><\/sup>. or The Pi Hut within the UK\u00a0[3]<\/a><\/sup>.<\/p>\n It makes use of the identical\u00a045-key format as the unique Lisp badge, with higher and lower-case characters, digits, and the symbols required by uLisp. Nonetheless, it now offers an addition\u00a0META<\/strong>\u00a0modifier key along with SHIFT<\/strong>, permitting you to enter characters that do not have a devoted key on the keyboard.<\/p>\n There\u2019s a big piezo speaker that helps enjoying notes, and a reverse-mounting LED that shines by a gap on the entrance of the board.<\/p>\n Here is the complete specification:<\/p>\n Dimension:<\/strong> 107mm x 61mm (4.2″ x 2.4″).<\/p>\n Show<\/strong>: 41 characters x 10 traces, or 250 x 122 pixels.<\/p>\n Keyboard:<\/strong>\u00a0Built-in 45-key keyboard offering higher and lower-case characters, digits, and the symbols required by uLisp.<\/p>\n The META<\/strong> key pressed together with one other key provides entry to the next characters not accessible from the primary keyboard:<\/p>\n
with a self-contained keyboard and show.<\/em><\/p>\nIntroduction<\/h3>\n
Processor and reminiscence<\/h4>\n
Present consumption<\/h4>\n
Lisp language<\/h4>\n
Show<\/h4>\n
Keyboard<\/h4>\n
Peripherals<\/h4>\n
Lisp Badge \u2013 Specification<\/h3>\n