ba7598c750
This can be useful for using the same icon with a different color to indicate various states |
||
---|---|---|
CAD | ||
Cases/Minimalist_Case | ||
FIRMWARE | ||
PCB | ||
pixoTester | ||
PYTHON | ||
.gitignore | ||
LICENSE | ||
README.md |
The PIXO Pixel
PIXO Pixel is a 16 x 16 RGB LED display that runs off of an ESP32.
This project is open source!
If you want to build this yourself, you can find the Bill of Materials here on FindChips.
I have submitted a pull request to the Arduino-ESP32 github: https://github.com/espressif/arduino-esp32 to have the PIXO Pixel have its own board file. This will ensure the pinout that was used will match the pin declartion on the board. In the meantime, please use the "Adafruit Feather ESP32" in the board manager, as the pinout is the same.
Flashing Firmware Instructions
- You need to have the current version of the Arduino IDE installed
- Ensure that you have the Arduino ESP32 Boards installed (This library is currently broken, a workaround has been found Here)
- Various other libraries are required for the example firmware; they are listed below under "Libraries used in Example Firmware"
- Connect your pixo pixel to your computer and start Arduino
- Under the "Tools" menu, select "Board->Adafruit ESP32 Feather"; Leave Flash frequency and Upload speed the default
- Under Port, select the device your pixo is communicating over
- Compile and upload
- When the Arduino console says "Connecting....", press and hold both the boot and reset buttons simultaniously for 1 second; then release both buttons
- You should start to see output about flashing
- When the flash is complete, press the reset button on the pixo to start your new firmware
Here is a video of Sean going into detail demonstrating some of the examples
Libraries used in Example Firmware
Install these to your sketchbook's libraries
folder, usually located in YOUR HOME/Documents/Arduino
Note Arduino IDE was complaining about i2cdevlib being invalid as the installation instructions are a bit unclear. It seems that the ESP32 is not officially supported for use with these libraries, and I had to apply a patch (#367) to get no compile errors.
Patching I2Cdev and MPU6050 Libraries
- Download i2cdevlib and extract the zip file
- Inside the i2cdevlib/Arduino folder, copy
I2Cdev
andMPU6050
folders to yourlibraries
folder - Edit
libraries/I2Cdev/I2Cdev.cpp
, and immedietly under#include "I2Cdev.h"
, add the following
#ifdef ARDUINO_ARCH_ESP32
#define BUFFER_LENGTH I2C_BUFFER_LENGTH
#endif
- Edit
libraries/MPU6050/MPU6050_6Axis_MotionApps20.h
and add the following right above theDEBUG
section
#ifndef ARDUINO_ARCH_ESP32
typedef void prog_void;
typedef char prog_char;
typedef unsigned char prog_uchar;
typedef int8_t prog_int8_t;
typedef uint8_t prog_uint8_t;
typedef int16_t prog_int16_t;
typedef uint16_t prog_uint16_t;
typedef int32_t prog_int32_t;
typedef uint32_t prog_uint32_t;
#endif
- Restart Arduino
There's a whole bunch of other commits in here, but this seems mostly to be a mix of: feature adding, bug fixing, and various other changes that may or may not be related. Feel free to experiment with these at your own discretion.
Kickstarter - Success
This was a Make100 Kickstarter that was recently fulfilled