Facebot A Cute 8x8 LED Robot 3 September 2023 1 minute read By Kevin McAleer Share this article on Table of Contents Bill of MaterialsMicroPython CodeIcon MakerWiringSTL FilesConstruction Tags MicroPython Facebot Display 8x8 LED Matrix Code Repo View Code Repository on GitHub
Facebot is a cute desktop robot that features a small 8x8 LED Display matrix. It is powered by a Raspberry Pi Pico W, which means we can control this robot using Wifi and/or Bluetooth. The 8x8 LED Matrix I2C display is useful for scrolling text, and displaying fun icons and simple animations. Bill of Materials Item Description Qty Price Pico Raspberry Pi Pico / Pico W (either will do) 1 £6.50 HT16K33 Display KeyStudio 8x8 LED Matrix Display with driver 1 £9.00 Wire Red, Black, Green, Blue Dupont cable 1 £0.50 2x M5 Screws 2 M5 Screws 2 £0.10 Total £16.20 MicroPython Code The code for Facebot is available in the Pico SMARS 2 library: https://www.github.com/kevinmcaleer/picosmars2 The library contains the icon images as well as a 5x5 font named ‘Jonny Five’. Icon Maker A useful tool for creating your own icons is available with this library - a program called icon_maker.py will help you create icons for displaying on your 8x8 Matrix LED screen. To use the icon maker you will need to setup a virtual environment with the tk library installed: From the command line type: python3 -m venv venv Activate the virtual environment: source venv/bin/activate Install tk: pip install tk Run icon_maker: python3 icon_maker.py Wiring STL Files Facebot is made up of 3 parts: body.stl - The main Body left_leg.stl - The left leg right_leg.stl - The right leg Construction