Added base files

This commit is contained in:
asdrea 2019-08-16 13:35:51 +02:00
parent de9f5b9c5e
commit a3eda9c173
17 changed files with 8687 additions and 0 deletions

265
firmware/charset.h Normal file
View file

@ -0,0 +1,265 @@
#ifndef _CHARSET_H
#define _CHARSET_H
#include <stdint.h>
const uint8_t PROGMEM CHARSET[256][5] = {
{ 0b0000000, 0b0000000, 0b0000000, 0b0000000, 0b0000000 },
{ 0b0010011, 0b0001100, 0b0010000, 0b0010011, 0b0001100 },
{ 0b0011110, 0b0000001, 0b0000001, 0b0000010, 0b0011111 },
{ 0b0011000, 0b0000110, 0b0000001, 0b0000110, 0b0011000 },
{ 0b0011110, 0b0000001, 0b0000110, 0b0000001, 0b0011110 },
{ 0b0000000, 0b0111110, 0b0011100, 0b0001000, 0b0000000 },
{ 0b0010000, 0b0111100, 0b1111100, 0b0111100, 0b0010000 },
{ 0b0000100, 0b0011110, 0b0011111, 0b0011110, 0b0000100 },
{ 0b0000010, 0b0000001, 0b0111110, 0b1000000, 0b0100000 },
{ 0b0100010, 0b0010100, 0b0001000, 0b0010100, 0b0100010 },
{ 0b0000000, 0b0001110, 0b0001010, 0b0001110, 0b0000000 },
{ 0b0000000, 0b0000100, 0b0001110, 0b0000100, 0b0000000 },
{ 0b0000000, 0b0000000, 0b0000100, 0b0000000, 0b0000000 },
{ 0b0001000, 0b0001111, 0b0001000, 0b0000000, 0b0000000 },
{ 0b0000000, 0b1010100, 0b1010100, 0b0101000, 0b0000000 },
{ 0b1111111, 0b1111111, 0b1001000, 0b1001000, 0b1000000 },
{ 0b0000100, 0b0000010, 0b1111111, 0b1000000, 0b1000000 },
{ 0b0010000, 0b0010000, 0b0000000, 0b1000000, 0b1111100 },
{ 0b0000000, 0b1001100, 0b1010100, 0b0100100, 0b0000000 },
{ 0b0000001, 0b0000011, 0b0000101, 0b0001001, 0b0010001 },
{ 0b0110000, 0b1001000, 0b1001000, 0b0110000, 0b0000000 },
{ 0b1111000, 0b0100000, 0b1000000, 0b1000000, 0b0000000 },
{ 0b0000000, 0b1000000, 0b1111100, 0b1000000, 0b0000000 },
{ 0b0010001, 0b0010001, 0b0101001, 0b0101001, 0b1000101 },
{ 0b0010100, 0b0010111, 0b0011100, 0b1110100, 0b0010100 },
{ 0b1000101, 0b0101001, 0b0101001, 0b0010001, 0b0010001 },
{ 0b0000000, 0b0000000, 0b0010000, 0b0010000, 0b0010000 },
{ 0b0000000, 0b0011111, 0b0010101, 0b0010101, 0b0010001 },
{ 0b0001000, 0b0001000, 0b0101010, 0b0011100, 0b0001000 },
{ 0b0011111, 0b0000000, 0b0011111, 0b0010001, 0b0011111 },
{ 0b0010000, 0b0100000, 0b1111111, 0b0100000, 0b0010000 },
{ 0b0000100, 0b0000010, 0b1111111, 0b0000010, 0b0000100 },
{ 0b0000000, 0b0000000, 0b0000000, 0b0000000, 0b0000000 },
{ 0b0000000, 0b0000000, 0b1111011, 0b0000000, 0b0000000 },
{ 0b0000000, 0b1110000, 0b0000000, 0b1110000, 0b0000000 },
{ 0b0010100, 0b1111111, 0b0010100, 0b1111111, 0b0010100 },
{ 0b0000000, 0b0111010, 0b1101011, 0b0101110, 0b0000000 },
{ 0b1100010, 0b1100100, 0b0001000, 0b0010011, 0b0100011 },
{ 0b0110110, 0b1001001, 0b0110101, 0b0000010, 0b0000101 },
{ 0b0000000, 0b0000000, 0b1110000, 0b0000000, 0b0000000 },
{ 0b0000000, 0b0011100, 0b0100010, 0b1000001, 0b0000000 },
{ 0b0000000, 0b1000001, 0b0100010, 0b0011100, 0b0000000 },
{ 0b0010100, 0b0001000, 0b0111110, 0b0001000, 0b0010100 },
{ 0b0001000, 0b0001000, 0b0111110, 0b0001000, 0b0001000 },
{ 0b0000000, 0b0000101, 0b0000110, 0b0000000, 0b0000000 },
{ 0b0001000, 0b0001000, 0b0001000, 0b0001000, 0b0001000 },
{ 0b0000000, 0b0000011, 0b0000011, 0b0000000, 0b0000000 },
{ 0b0000010, 0b0000100, 0b0001000, 0b0010000, 0b0100000 },
{ 0b0111110, 0b1000101, 0b1001001, 0b1010001, 0b0111110 },
{ 0b0000000, 0b0100001, 0b1111111, 0b0000001, 0b0000000 },
{ 0b0100001, 0b1000011, 0b1000101, 0b1001001, 0b0110001 },
{ 0b1000010, 0b1000001, 0b1010001, 0b1101001, 0b1000110 },
{ 0b0001100, 0b0010100, 0b0100100, 0b1111111, 0b0000100 },
{ 0b1110010, 0b1010001, 0b1010001, 0b1010001, 0b1001110 },
{ 0b0011110, 0b0101001, 0b1001001, 0b1001001, 0b0000110 },
{ 0b1000000, 0b1000111, 0b1001000, 0b1010000, 0b1100000 },
{ 0b0110110, 0b1001001, 0b1001001, 0b1001001, 0b0110110 },
{ 0b0110000, 0b1001001, 0b1001001, 0b1001010, 0b0111100 },
{ 0b0000000, 0b0110110, 0b0110110, 0b0000000, 0b0000000 },
{ 0b0000000, 0b0110101, 0b0110110, 0b0000000, 0b0000000 },
{ 0b0001000, 0b0010100, 0b0100010, 0b1000001, 0b0000000 },
{ 0b0010100, 0b0010100, 0b0010100, 0b0010100, 0b0010100 },
{ 0b0000000, 0b1000001, 0b0100010, 0b0010100, 0b0001000 },
{ 0b0100000, 0b1000000, 0b1000101, 0b1001000, 0b0110000 },
{ 0b0111110, 0b1000001, 0b1011101, 0b1001001, 0b0111001 },
{ 0b0111111, 0b1001000, 0b1001000, 0b1001000, 0b0111111 },
{ 0b1111111, 0b1001001, 0b1001001, 0b1001001, 0b0110110 },
{ 0b0111110, 0b1000001, 0b1000001, 0b1000001, 0b0100010 },
{ 0b1111111, 0b1000001, 0b1000001, 0b1000001, 0b0111110 },
{ 0b1111111, 0b1001001, 0b1001001, 0b1001001, 0b1000001 },
{ 0b1111111, 0b1001000, 0b1001000, 0b1001000, 0b1000000 },
{ 0b0111110, 0b1000001, 0b1001001, 0b1001001, 0b0101111 },
{ 0b1111111, 0b0001000, 0b0001000, 0b0001000, 0b1111111 },
{ 0b0000000, 0b1000001, 0b1111111, 0b1000001, 0b0000000 },
{ 0b0000010, 0b0000001, 0b1000001, 0b1111110, 0b1000000 },
{ 0b1111111, 0b0001000, 0b0010100, 0b0100010, 0b1000001 },
{ 0b1111111, 0b0000001, 0b0000001, 0b0000001, 0b0000001 },
{ 0b1111111, 0b0100000, 0b0011000, 0b0100000, 0b1111111 },
{ 0b1111111, 0b0010000, 0b0001000, 0b0000100, 0b1111111 },
{ 0b0111110, 0b1000001, 0b1000001, 0b1000001, 0b0111110 },
{ 0b1111111, 0b1001000, 0b1001000, 0b1001000, 0b0110000 },
{ 0b0111110, 0b1000001, 0b1000101, 0b1000010, 0b0111101 },
{ 0b1111111, 0b1001100, 0b1001110, 0b1001011, 0b1111001 },
{ 0b0110001, 0b1001001, 0b1001001, 0b1001001, 0b1000110 },
{ 0b1000000, 0b1000000, 0b1111111, 0b1000000, 0b1000000 },
{ 0b1111110, 0b0000001, 0b0000001, 0b0000001, 0b1111110 },
{ 0b1111000, 0b0000110, 0b0000001, 0b0000110, 0b1111000 },
{ 0b1111110, 0b0000001, 0b0001110, 0b0000001, 0b1111110 },
{ 0b1100011, 0b0010100, 0b0001000, 0b0010100, 0b1100011 },
{ 0b1110000, 0b0001000, 0b0000111, 0b0001000, 0b1110000 },
{ 0b1000011, 0b1000101, 0b1001001, 0b1010001, 0b1100001 },
{ 0b0011110, 0b0101001, 0b1001001, 0b1001010, 0b0111100 },
{ 0b0100000, 0b0010000, 0b0001000, 0b0000100, 0b0000010 },
{ 0b0000000, 0b1000001, 0b1111111, 0b0000000, 0b0000000 },
{ 0b0010000, 0b0100000, 0b1000000, 0b0100000, 0b0010000 },
{ 0b0000001, 0b0000001, 0b0000001, 0b0000001, 0b0000001 },
{ 0b0000000, 0b0000000, 0b1100000, 0b0010000, 0b0000000 },
{ 0b0000010, 0b0010101, 0b0010101, 0b0010101, 0b0001111 },
{ 0b1111111, 0b0001001, 0b0010001, 0b0010001, 0b0001110 },
{ 0b0001110, 0b0010001, 0b0010001, 0b0010001, 0b0000010 },
{ 0b0001110, 0b0010001, 0b0010001, 0b0001001, 0b1111111 },
{ 0b0001110, 0b0010101, 0b0010101, 0b0010101, 0b0001100 },
{ 0b0001000, 0b0111111, 0b1001000, 0b1000000, 0b0100000 },
{ 0b0011000, 0b0100101, 0b0100101, 0b0100101, 0b0111110 },
{ 0b1111111, 0b0001000, 0b0010000, 0b0010000, 0b0001111 },
{ 0b0000000, 0b0010001, 0b1011111, 0b0000001, 0b0000000 },
{ 0b0000010, 0b0000001, 0b0010001, 0b1011110, 0b0000000 },
{ 0b0000000, 0b1111111, 0b0000100, 0b0001010, 0b0010001 },
{ 0b0000000, 0b1000001, 0b1111111, 0b0000001, 0b0000000 },
{ 0b0011111, 0b0010000, 0b0001100, 0b0010000, 0b0001111 },
{ 0b0011111, 0b0001000, 0b0010000, 0b0010000, 0b0001111 },
{ 0b0001110, 0b0010001, 0b0010001, 0b0010001, 0b0001110 },
{ 0b0011111, 0b0010100, 0b0010100, 0b0010100, 0b0001000 },
{ 0b0001000, 0b0010100, 0b0010100, 0b0001100, 0b0011111 },
{ 0b0011111, 0b0001000, 0b0010000, 0b0010000, 0b0001000 },
{ 0b0001001, 0b0010101, 0b0010101, 0b0010101, 0b0000010 },
{ 0b0010000, 0b1111110, 0b0010001, 0b0000001, 0b0000010 },
{ 0b0011110, 0b0000001, 0b0000001, 0b0000010, 0b0011111 },
{ 0b0011100, 0b0000010, 0b0000001, 0b0000010, 0b0011100 },
{ 0b0011110, 0b0000001, 0b0000110, 0b0000001, 0b0011110 },
{ 0b0010001, 0b0001010, 0b0000100, 0b0001010, 0b0010001 },
{ 0b0011000, 0b0000101, 0b0000101, 0b0000101, 0b0011110 },
{ 0b0010001, 0b0010011, 0b0010101, 0b0011001, 0b0010001 },
{ 0b0000000, 0b0001000, 0b0110110, 0b1000001, 0b1000001 },
{ 0b0000000, 0b0000000, 0b1111111, 0b0000000, 0b0000000 },
{ 0b1000001, 0b1000001, 0b0110110, 0b0001000, 0b0000000 },
{ 0b0010000, 0b0100000, 0b0010000, 0b0001000, 0b0010000 },
{ 0b1111111, 0b1101011, 0b1101011, 0b1101011, 0b1111111 },
{ 0b0000000, 0b0011111, 0b0010001, 0b0011111, 0b0000000 },
{ 0b0000000, 0b0001000, 0b0011111, 0b0000000, 0b0000000 },
{ 0b0000000, 0b0010011, 0b0010101, 0b0001001, 0b0000000 },
{ 0b0000000, 0b0010001, 0b0010101, 0b0001010, 0b0000000 },
{ 0b0000000, 0b0011100, 0b0000100, 0b0001111, 0b0000000 },
{ 0b0000000, 0b0011101, 0b0010101, 0b0010010, 0b0000000 },
{ 0b0000000, 0b0001111, 0b0010101, 0b0010111, 0b0000000 },
{ 0b0000000, 0b0010011, 0b0010100, 0b0011000, 0b0000000 },
{ 0b0000000, 0b0011111, 0b0010101, 0b0011111, 0b0000000 },
{ 0b0000000, 0b0011101, 0b0010101, 0b0011110, 0b0000000 },
{ 0b0001111, 0b0010010, 0b0110010, 0b1010010, 0b0001111 },
{ 0b0001111, 0b1010010, 0b0110010, 0b0010010, 0b0001111 },
{ 0b0000111, 0b0101010, 0b1001010, 0b0101010, 0b0000111 },
{ 0b0001111, 0b1010010, 0b0010010, 0b1010010, 0b0001111 },
{ 0b0000010, 0b0010101, 0b0110101, 0b1010101, 0b0001111 },
{ 0b0000010, 0b1010101, 0b0110101, 0b0010101, 0b0001111 },
{ 0b0000010, 0b0110101, 0b1010101, 0b0110101, 0b0001111 },
{ 0b0000010, 0b1010101, 0b0010101, 0b1010101, 0b0001111 },
{ 0b0011111, 0b0010101, 0b0110101, 0b1010101, 0b0010001 },
{ 0b0011111, 0b1010101, 0b0110101, 0b0010101, 0b0010001 },
{ 0b0011111, 0b0110101, 0b1010101, 0b0110101, 0b0010001 },
{ 0b0011111, 0b1010101, 0b0010101, 0b1010101, 0b0010001 },
{ 0b0001110, 0b0010101, 0b0110101, 0b1010101, 0b0001100 },
{ 0b0001110, 0b1010101, 0b0110101, 0b0010101, 0b0001100 },
{ 0b0001110, 0b0110101, 0b1010101, 0b0110101, 0b0001100 },
{ 0b0001110, 0b1010101, 0b0010101, 0b1010101, 0b0001100 },
{ 0b0000000, 0b0010001, 0b0111111, 0b1010001, 0b0000000 },
{ 0b0000000, 0b1010001, 0b0111111, 0b0010001, 0b0000000 },
{ 0b0000000, 0b0110001, 0b1011111, 0b0110001, 0b0000000 },
{ 0b0000000, 0b1010001, 0b0011111, 0b1010001, 0b0000000 },
{ 0b0000000, 0b0001001, 0b0101111, 0b1000001, 0b0000000 },
{ 0b0000000, 0b1001001, 0b0101111, 0b0000001, 0b0000000 },
{ 0b0000000, 0b0101001, 0b1001111, 0b0100001, 0b0000000 },
{ 0b0000000, 0b1001001, 0b0001111, 0b1000001, 0b0000000 },
{ 0b0001110, 0b0010001, 0b0110001, 0b1010001, 0b0001110 },
{ 0b0001110, 0b1010001, 0b0110001, 0b0010001, 0b0001110 },
{ 0b0001110, 0b0110001, 0b1010001, 0b0110001, 0b0001110 },
{ 0b0001110, 0b1010001, 0b0010001, 0b1010001, 0b0001110 },
{ 0b0000110, 0b0001001, 0b0101001, 0b1001001, 0b0000110 },
{ 0b0000110, 0b1001001, 0b0101001, 0b0001001, 0b0000110 },
{ 0b0000110, 0b0101001, 0b1001001, 0b0101001, 0b0000110 },
{ 0b0000110, 0b1001001, 0b0001001, 0b1001001, 0b0000110 },
{ 0b0011110, 0b0000001, 0b0100001, 0b1000001, 0b0011110 },
{ 0b0011110, 0b1000001, 0b0100001, 0b0000001, 0b0011110 },
{ 0b0001110, 0b0100001, 0b1000001, 0b0100001, 0b0001110 },
{ 0b0011110, 0b1000001, 0b0000001, 0b1000001, 0b0011110 },
{ 0b0011110, 0b0000001, 0b0100001, 0b1000010, 0b0011111 },
{ 0b0011110, 0b1000001, 0b0100001, 0b0000010, 0b0011111 },
{ 0b0001110, 0b0100001, 0b1000001, 0b0100010, 0b0001111 },
{ 0b0011110, 0b1000001, 0b0000001, 0b1000010, 0b0011111 },
{ 0b0111001, 0b1000101, 0b1000111, 0b1000100, 0b0101000 },
{ 0b0001101, 0b0010011, 0b0010011, 0b0010010, 0b0000100 },
{ 0b0011111, 0b0101000, 0b1000100, 0b0100010, 0b1011111 },
{ 0b0001111, 0b0100100, 0b1001000, 0b0101000, 0b1000111 },
{ 0b0000000, 0b0000000, 0b0010000, 0b0100000, 0b1000000 },
{ 0b1000000, 0b0100000, 0b0010000, 0b0000000, 0b0000000 },
{ 0b0000000, 0b0100000, 0b0000000, 0b0100000, 0b0000000 },
{ 0b0000110, 0b0001001, 0b1010001, 0b0000001, 0b0000010 },
{ 0b0000000, 0b0000000, 0b1101111, 0b0000000, 0b0000000 },
{ 0b0001110, 0b0010001, 0b0010001, 0b0001110, 0b0010001 },
{ 0b0000001, 0b0111110, 0b1001001, 0b1001001, 0b0110110 },
{ 0b0001000, 0b0010000, 0b0001000, 0b0000111, 0b0011000 },
{ 0b0000011, 0b0000101, 0b0001001, 0b0000101, 0b0000011 },
{ 0b0000010, 0b0100101, 0b1010101, 0b1001101, 0b0000110 },
{ 0b0001110, 0b0010101, 0b0010101, 0b0010101, 0b0000000 },
{ 0b0000000, 0b0000000, 0b1111111, 0b1000001, 0b0000000 },
{ 0b0000001, 0b0100010, 0b0010100, 0b0001100, 0b0000011 },
{ 0b0011111, 0b0000010, 0b0000010, 0b0011100, 0b0000010 },
{ 0b0010001, 0b0011110, 0b0010000, 0b0011111, 0b0010001 },
{ 0b0000001, 0b0011110, 0b0100100, 0b0100100, 0b0011000 },
{ 0b1000001, 0b1100011, 0b1010101, 0b1001001, 0b1000001 },
{ 0b0001110, 0b0010001, 0b0010001, 0b0011110, 0b0010000 },
{ 0b0001000, 0b0010000, 0b0011110, 0b0010001, 0b0010010 },
{ 0b0001000, 0b0010100, 0b1111111, 0b0010100, 0b0001000 },
{ 0b0111001, 0b1000111, 0b1000000, 0b1000111, 0b0111001 },
{ 0b1010001, 0b1001010, 0b1000100, 0b1001010, 0b1010001 },
{ 0b1011000, 0b1000101, 0b1000101, 0b1000101, 0b1011110 },
{ 0b0000000, 0b0000000, 0b1010000, 0b0100000, 0b1010000 },
{ 0b0000001, 0b0000000, 0b0000001, 0b0000000, 0b0000001 },
{ 0b0000000, 0b0001000, 0b0011100, 0b0111110, 0b0000000 },
{ 0b0011100, 0b0011100, 0b0011100, 0b0000000, 0b0000000 },
{ 0b0000000, 0b0000111, 0b0001000, 0b1110000, 0b0000000 },
{ 0b0000000, 0b0001000, 0b0001000, 0b0001000, 0b0000000 },
{ 0b0000000, 0b1011100, 0b1010100, 0b1110100, 0b0000000 },
{ 0b0000000, 0b1110000, 0b1010000, 0b1110000, 0b0000000 },
{ 0b0000000, 0b1000100, 0b1010100, 0b0101000, 0b0000000 },
{ 0b0000000, 0b0000000, 0b0000000, 0b0000000, 0b0000000 },
{ 0b0010000, 0b1011110, 0b0000001, 0b0000010, 0b0000000 },
{ 0b0011111, 0b0110100, 0b1010100, 0b0110100, 0b0001000 },
{ 0b1000010, 0b0110100, 0b0001000, 0b0010110, 0b0100001 },
{ 0b1111111, 0b1001000, 0b1011100, 0b1000000, 0b1100000 },
{ 0b0001110, 0b0010101, 0b0010101, 0b0010100, 0b0001000 },
{ 0b0000000, 0b0000000, 0b0011111, 0b0000001, 0b0000001 },
{ 0b1111111, 0b0111000, 0b0011100, 0b0001110, 0b1111111 },
{ 0b1000001, 0b0100010, 0b1011101, 0b0100010, 0b0011100 },
{ 0b0011100, 0b0111110, 0b0011100, 0b0001000, 0b0000000 },
{ 0b1111111, 0b1111111, 0b1111111, 0b1111111, 0b1111111 },
{ 0b1110111, 0b1101111, 0b1000000, 0b1101111, 0b1110111 },
{ 0b1111111, 0b1100001, 0b1010111, 0b1100001, 0b1111111 },
{ 0b1111111, 0b1111011, 0b1010101, 0b1100001, 0b1111111 },
{ 0b0000001, 0b0000001, 0b0000001, 0b0000001, 0b0000001 },
{ 0b0010001, 0b0100001, 0b1111101, 0b0100001, 0b0010001 },
{ 0b0000001, 0b0111101, 0b1010001, 0b0111101, 0b0000001 },
{ 0b0000001, 0b0001001, 0b1010101, 0b0111101, 0b0000001 },
{ 0b0000000, 0b0010000, 0b0001000, 0b0000100, 0b0000010 },
{ 0b1100000, 0b1110000, 0b0111000, 0b0011100, 0b0001110 },
{ 0b1000000, 0b1100000, 0b1110000, 0b1111000, 0b1111100 },
{ 0b0011111, 0b0001111, 0b0000111, 0b0000011, 0b0000001 },
{ 0b0001000, 0b0001000, 0b0011100, 0b0100010, 0b0011100 },
{ 0b0000000, 0b0011100, 0b0100010, 0b0011100, 0b0000000 },
{ 0b0100000, 0b0000000, 0b0001000, 0b0000000, 0b0000010 },
{ 0b0010000, 0b0111110, 0b1111110, 0b0111110, 0b0010000 },
{ 0b0000100, 0b0111110, 0b0111111, 0b0111110, 0b0000100 },
{ 0b1010101, 0b0101010, 0b1010101, 0b0101010, 0b1010101 },
{ 0b0010010, 0b0101010, 0b1111111, 0b0101010, 0b0100100 },
{ 0b0010000, 0b0111100, 0b1111100, 0b0111100, 0b0010000 },
{ 0b0111111, 0b1000000, 0b1001001, 0b0111001, 0b0000110 },
{ 0b0000111, 0b0000001, 0b0000001, 0b0000001, 0b0000111 },
{ 0b0000011, 0b0000110, 0b0001100, 0b0011000, 0b0110000 },
{ 0b1010101, 0b0000000, 0b1000001, 0b0000000, 0b1010101 },
{ 0b0111000, 0b0111100, 0b0011110, 0b0111100, 0b0111000 },
{ 0b0011110, 0b0110100, 0b0111110, 0b0110100, 0b0011110 },
{ 0b0000000, 0b0000110, 0b0111001, 0b1000001, 0b1100010 },
{ 0b1000001, 0b0111001, 0b0000110, 0b0000000, 0b0000000 },
{ 0b0111110, 0b1000001, 0b0000000, 0b0111110, 0b1010001 },
{ 0b1010001, 0b0111110, 0b0000000, 0b1000001, 0b0111110 },
{ 0b0000000, 0b0000000, 0b0000000, 0b0000000, 0b0000000 },
{ 0b0000000, 0b0000000, 0b0000000, 0b0000000, 0b0000000 }
};
#endif // _CHARSET_H

BIN
firmware/charset.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
firmware/charset.xcf Normal file

Binary file not shown.

21
firmware/gen_charset.py Executable file
View file

@ -0,0 +1,21 @@
#!/usr/bin/env python3
import cv2
import numpy as np
HEADER = """\
#ifndef _CHARSET_H
#define _CHARSET_H
#include <stdint.h>
%s
#endif // _CHARSET_H\
"""
if __name__ == '__main__':
im = cv2.imread('charset.png')[:, :, 0]
rows = [ '{ %s }' % ', '.join([ '0b%s' % ''.join(map(str, x)) for x in ((im[i*7:(i+1)*7, j*5:(j+1)*5] == 0) * 1).T]) for i in range(16) for j in range(16) ]
charset = 'const uint8_t PROGMEM CHARSET[256][5] = {\n %s\n};' % ',\n '.join(rows)
print(HEADER % charset)

161
firmware/ledbar.cpp Normal file
View file

@ -0,0 +1,161 @@
/* 7 rows LED bar firmware / library
* Copyright (C) 2019 asdrea
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <SPI.h>
#include <string.h>
#include "charset.h"
#include "ledbar.h"
static SPISettings spi_settings(1000000, LSBFIRST, SPI_MODE2);
// Double buffer ROWSxCOLS bits
static uint8_t ledbar_framebuf[2][LEDBAR_ROWS][LEDBAR_COLS >> 3];
static volatile uint8_t cur_buf = 0, swap_buf = 0;
static inline uint8_t getbuf(ledbar_buf_t b) { return (b == LEDBAR_FRONTBUF ? cur_buf : (1 - cur_buf)); }
void ledbar_init(void)
{
uint8_t i;
for(i = 0; i < LEDBAR_ROWS; ++i) {
pinMode(LEDBAR_PIN_ROWS[i], OUTPUT);
digitalWrite(LEDBAR_PIN_ROWS[i], LOW);
}
pinMode(LEDBAR_PIN_STROBE, OUTPUT);
digitalWrite(LEDBAR_PIN_STROBE, LOW);
SPI.begin();
memset(ledbar_framebuf, 0, 2 * LEDBAR_ROWS * (LEDBAR_COLS >> 3));
// Set timer1 interrupt at ~350Hz
cli();
TCCR1A = 0;
TCCR1B = 0;
TCNT1 = 0;
OCR1A = 44; // = 16e6 / (350 * 1024) - 1 (must be <65536)
TCCR1B |= (1 << WGM12); // turn on CTC mode
TCCR1B |= (1 << CS12) | (1 << CS10); // Set CS10 and CS12 bits for 1024 prescaler
TIMSK1 |= (1 << OCIE1A); // Enable timer compare interrupt
sei();
}
void ledbar_wait_vsync(void)
{
while(swap_buf);
}
void ledbar_swap_buf(void)
{
swap_buf = 1;
}
void ledbar_clear(ledbar_buf_t buf)
{
memset(ledbar_framebuf[getbuf(buf)], 0, LEDBAR_ROWS * (LEDBAR_COLS >> 3));
}
#define _LEDBAR_SETCHAR_SETCOL(X) \
if(b < (8 - X)) { \
c0 |= ((chbuf[X] >> k) & 0x1) << ((7 - X) - b); \
} \
else { \
c1 |= ((chbuf[X] >> k) & 0x1) << ((15 - X) - b); \
}
void ledbar_setchar(ledbar_buf_t buf, int16_t col, uint8_t ch)
{
uint8_t i, k, *p;
uint8_t chbuf[5];
uint8_t c0 = 0, c1 = 0;
int8_t block = (col >> 3);
int8_t b = col - (block << 3);
uint8_t buf_id = getbuf(buf);
if(block < -1 || block >= (LEDBAR_COLS >> 3))
return;
memcpy_P(chbuf, CHARSET[ch] + i, 5);
for(i = 0; i < LEDBAR_ROWS; ++i) {
p = ledbar_framebuf[buf_id][i] + block;
if(block >= 0)
c0 = p[0];
if(block < ((LEDBAR_COLS >> 3) - 1))
c1 = p[1];
k = LEDBAR_ROWS - i - 1;
// Optimize this shit?
_LEDBAR_SETCHAR_SETCOL(4);
_LEDBAR_SETCHAR_SETCOL(3);
_LEDBAR_SETCHAR_SETCOL(2);
_LEDBAR_SETCHAR_SETCOL(1);
c0 |= ((chbuf[0] >> k) & 0x1) << (7 - b); // == _LEDBAR_SETCHAR_SETCOL(0)
if(block >= 0)
p[0] = c0;
if(block < ((LEDBAR_COLS >> 3) - 1))
p[1] = c1;
}
}
void ledbar_settext(ledbar_buf_t buf, int16_t col, const char* text, uint8_t spacing)
{
uint16_t i;
for(i = 0; text[i]; ++i) {
ledbar_setchar(buf, col, text[i]);
col += 5 + spacing;
}
}
ISR(TIMER1_COMPA_vect)
{
static uint8_t cur_row = LEDBAR_ROWS - 1;
uint8_t i, rowbuf[LEDBAR_COLS >> 3];
// Power-off previous row
digitalWrite(LEDBAR_PIN_ROWS[cur_row++], LOW);
if(cur_row >= LEDBAR_ROWS) {
cur_row = 0;
if(swap_buf) {
// Swap buffers only on the first row (i.e. sync @50Hz)
cur_buf = 1 - cur_buf;
swap_buf = 0;
}
}
// Buffer column data (SPI.transfer() modify the content)
for(i = 0; i < (LEDBAR_COLS >> 3); ++i)
rowbuf[i] = ledbar_framebuf[cur_buf][cur_row][(LEDBAR_COLS >> 3) - i - 1];
// Write column data
SPI.beginTransaction(spi_settings);
SPI.transfer(rowbuf, LEDBAR_COLS >> 3);
SPI.endTransaction();
// Strobe
digitalWrite(LEDBAR_PIN_STROBE, HIGH);
digitalWrite(LEDBAR_PIN_STROBE, LOW);
// Need a delay here? Glitchy?
// Power-on current row
digitalWrite(LEDBAR_PIN_ROWS[cur_row], HIGH);
}

24
firmware/ledbar.h Normal file
View file

@ -0,0 +1,24 @@
#ifndef _LEDBAR_H
#define _LEDBAR_H
#include <stdint.h>
#define LEDBAR_ROWS 7
#define LEDBAR_COLS 128
const uint8_t LEDBAR_PIN_ROWS[LEDBAR_ROWS] = { 8, 7, 6, 5, 4, 3, 2 };
const uint8_t LEDBAR_PIN_STROBE = 9;
typedef enum {
LEDBAR_FRONTBUF,
LEDBAR_BACKBUF
} ledbar_buf_t;
void ledbar_init(void);
void ledbar_wait_vsync(void);
void ledbar_swap_buf(void);
void ledbar_clear(ledbar_buf_t buf);
void ledbar_setchar(ledbar_buf_t buf, int16_t col, uint8_t ch);
void ledbar_settext(ledbar_buf_t buf, int16_t col, const char* text, uint8_t spacing = 1);
#endif // _LEDBAR_H

136
firmware/ledbar.ino Normal file
View file

@ -0,0 +1,136 @@
/* 7 rows LED bar firmware / main program for Arduino Nano
* Copyright (C) 2019 asdrea
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ledbar.h"
enum {
CMD_NOSCROLL,
CMD_HSCROLL,
CMD_VSCROLL,
CMD_SPACING
};
enum {
ALIGN_LEFT,
ALIGN_RIGHT,
ALIGN_CENTER
};
static String text;
static int16_t text_pos = 0; // q11.5
static int8_t scroll_speed = 0, scroll_mode = CMD_NOSCROLL, text_align = ALIGN_LEFT;
static uint8_t text_spacing = 1;
static uint8_t cmd_mode = 0;
void setup()
{
Serial.begin(9600);
ledbar_init();
}
void loop()
{
int16_t p;
while(Serial.available() > 0) {
uint8_t c = Serial.read();
if(cmd_mode) {
switch(c >> 6) {
case CMD_NOSCROLL:
scroll_mode = CMD_NOSCROLL;
text_align = c & 0x3f;
text_pos = 0;
break;
case CMD_VSCROLL:
scroll_mode = CMD_VSCROLL;
scroll_speed = (c & 0x3f) << 2;
break;
case CMD_HSCROLL:
scroll_mode = CMD_HSCROLL;
scroll_speed = (c & 0x3f) << 2;
break;
case CMD_SPACING:
text_spacing = c & 0x3f;
break;
}
cmd_mode = 0;
continue;
}
if(c == '\0') {
cmd_mode = 1;
continue;
}
//Serial.write(c);
if(c == '\n' || c == '\r') {
text = "";
}
else if(c == 8 || c == 127) {
if(text.length() > 0)
text = text.substring(0, text.length() - 1);
}
else
text += (char)c;
}
switch(scroll_mode) {
default:
case CMD_NOSCROLL:
switch(text_align) {
default:
case ALIGN_LEFT:
p = 0;
break;
case ALIGN_RIGHT:
p = (5 + text_spacing) * (LEDBAR_COLS - (int16_t)text.length());
break;
case ALIGN_CENTER:
p = LEDBAR_COLS / 2 - (5 + text_spacing) * ((int16_t)text.length() / 2);
break;
}
break;
case CMD_HSCROLL:
text_pos += scroll_speed;
p = text_pos / 32;
if(scroll_speed < 0) {
if(p < (-(5 + text_spacing) * (int16_t)text.length())) {
p = LEDBAR_COLS;
text_pos = p * 32;
}
}
else {
if(p > LEDBAR_COLS) {
p = -(5 + text_spacing) * (int16_t)text.length();
text_pos = p * 32;
}
}
break;
case CMD_VSCROLL:
// Implement me please :'(
break;
}
ledbar_wait_vsync();
ledbar_clear(LEDBAR_BACKBUF);
ledbar_settext(LEDBAR_BACKBUF, p, text.c_str(), text_spacing);
ledbar_swap_buf();
}

33
firmware/test.sh Executable file
View file

@ -0,0 +1,33 @@
#!/bin/bash
if [ "$1" == "" ]; then
tty=/dev/ttyUSB0
else
tty=$1
fi
stty -F $tty cs8 raw speed 9600 >/dev/null
printf "\n\000\000\000\170\000\301" >$tty
printf " " >$tty
printf "Io sono divano-bot 1.0" >$tty
printf " ____/\/\/\/\/\/\/\/\/\____ " >$tty
printf " Porco dio " >$tty
printf " ____/\/\/\/\/\/\/\/\/\____ " >$tty
sleep 20
printf "\n\000\002" >$tty
for i in {1..3}; do
printf "JIGEN MERDA!" >$tty
sleep 1
printf "\n" >$tty
sleep 1
done
printf "\000\174\000\301" >$tty
printf " " >$tty
printf "\370\370\370\370\370\370\370\370\370" >$tty
sleep 8
printf "\n\000\002" >$tty
printf "XM24 RESISTE." >$tty

15
fp-info-cache Normal file
View file

@ -0,0 +1,15 @@
3130391849618
ledbar
PanelConnector
0
15
15
ledbar
PowerConnector
0
2
2

3
fp-lib-table Normal file
View file

@ -0,0 +1,3 @@
(fp_lib_table
(lib (name ledbar)(type KiCad)(uri ${KIPRJMOD}/ledbar.pretty)(options "")(descr ""))
)

2672
ledbar.kicad_pcb Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,27 @@
(module PanelConnector (layer F.Cu) (tedit 5D4AFFAC)
(fp_text reference REF** (at 0 33) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value PanelConnector (at 0 35) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -5.5 -29) (end 5.5 -29) (layer F.SilkS) (width 0.12))
(fp_line (start 5.5 -29) (end 5.5 29) (layer F.SilkS) (width 0.12))
(fp_line (start 5.5 29) (end -5.5 29) (layer F.SilkS) (width 0.12))
(fp_line (start -5.5 29) (end -5.5 -29) (layer F.SilkS) (width 0.12))
(pad 1 thru_hole circle (at 0 -28) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 0 -24) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 3 thru_hole circle (at 0 -20) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 4 thru_hole circle (at 0 -16) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 5 thru_hole circle (at 0 -12) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 6 thru_hole circle (at 0 -8) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 7 thru_hole circle (at 0 -4) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 8 thru_hole circle (at 0 0) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 9 thru_hole circle (at 0 4) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 10 thru_hole circle (at 0 8) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 11 thru_hole circle (at 0 12) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 12 thru_hole circle (at 0 16) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 13 thru_hole circle (at 0 20) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 14 thru_hole circle (at 0 24) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 15 thru_hole circle (at 0 28) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
)

View file

@ -0,0 +1,14 @@
(module PowerConnector (layer F.Cu) (tedit 5D4AFD46)
(fp_text reference REF** (at 0 7) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value PowerConnector (at 0 8.5) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -4 -5.5) (end 4 -5.5) (layer F.SilkS) (width 0.12))
(fp_line (start 4 -5.5) (end 4 5.5) (layer F.SilkS) (width 0.12))
(fp_line (start 4 5.5) (end -4 5.5) (layer F.SilkS) (width 0.12))
(fp_line (start -4 5.5) (end -4 -5.5) (layer F.SilkS) (width 0.12))
(pad 1 thru_hole circle (at 0 -2.5) (size 2 2) (drill 1) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 0 2.5) (size 2 2) (drill 1) (layers *.Cu *.Mask))
)

62
ledbar.pro Normal file
View file

@ -0,0 +1,62 @@
update=gio 08 ago 2019 09:42:46 CEST
last_client=kicad
[general]
version=1
[pcbnew]
version=1
PageLayoutDescrFile=
LastNetListRead=ledbar.net
CopperLayerCount=2
BoardThickness=1.6
AllowMicroVias=0
AllowBlindVias=0
RequireCourtyardDefinitions=0
ProhibitOverlappingCourtyards=1
MinTrackWidth=0.2
MinViaDiameter=0.4
MinViaDrill=0.3
MinMicroViaDiameter=0.2
MinMicroViaDrill=0.09999999999999999
MinHoleToHole=0.25
TrackWidth1=0.4
ViaDiameter1=1.6
ViaDrill1=0.8
dPairWidth1=0.2
dPairGap1=0.25
dPairViaGap1=0.25
SilkLineWidth=0.12
SilkTextSizeV=1
SilkTextSizeH=1
SilkTextSizeThickness=0.15
SilkTextItalic=0
SilkTextUpright=1
CopperLineWidth=0.2
CopperTextSizeV=1.5
CopperTextSizeH=1.5
CopperTextThickness=0.3
CopperTextItalic=0
CopperTextUpright=1
EdgeCutLineWidth=0.05
CourtyardLineWidth=0.05
OthersLineWidth=0.12
OthersTextSizeV=1
OthersTextSizeH=1
OthersTextSizeThickness=0.15
OthersTextItalic=0
OthersTextUpright=1
SolderMaskClearance=0.051
SolderMaskMinWidth=0.25
SolderPasteClearance=0
SolderPasteRatio=-0
[pcbnew/Netclasses]
[pcbnew/Netclasses/1]
Name=Power
Clearance=0.3
TrackWidth=0.75
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
dPairViaGap=0.25

938
ledbar.sch Normal file
View file

@ -0,0 +1,938 @@
EESchema Schematic File Version 4
LIBS:ledbar-cache
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "Ledbar"
Date "2019-08-16"
Rev "1"
Comp "asdrea"
Comment1 "Power P-channel MOSFET row driver @350Hz "
Comment2 "Data column SPI driving 4094 shift registers @1MHz"
Comment3 ""
Comment4 "7 column LED display driver module"
$EndDescr
$Comp
L Connector:Conn_01x15_Female J3
U 1 1 5D4B6DB5
P 4450 2500
F 0 "J3" H 4300 1700 50 0000 L CNN
F 1 "Conn_01x15_Female" H 4478 2435 50 0001 L CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x15_P2.54mm_Vertical" H 4450 2500 50 0001 C CNN
F 3 "~" H 4450 2500 50 0001 C CNN
1 4450 2500
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x15_Female J4
U 1 1 5D4B875D
P 5000 2500
F 0 "J4" H 4900 1700 50 0000 C CNN
F 1 "Conn_01x15_Female" H 4892 3294 50 0001 C CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x15_P2.54mm_Vertical" H 5000 2500 50 0001 C CNN
F 3 "~" H 5000 2500 50 0001 C CNN
1 5000 2500
-1 0 0 -1
$EndComp
Text GLabel 4150 2200 0 39 Input ~ 0
D1
Text GLabel 1000 5400 0 39 Input ~ 0
D1
Wire Wire Line
1000 5400 1050 5400
Text GLabel 2350 5450 2 39 Input ~ 0
L1
Text GLabel 7400 2600 0 39 Input ~ 0
L1
Wire Wire Line
7400 2600 7500 2600
$Comp
L Transistor_BJT:2N3904 Q3
U 1 1 5D4CDD6A
P 3500 5450
F 0 "Q3" H 3690 5496 50 0000 L CNN
F 1 "2N3904" H 3690 5405 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 3700 5375 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf" H 3500 5450 50 0001 L CNN
1 3500 5450
1 0 0 -1
$EndComp
$Comp
L Device:R R3
U 1 1 5D4CDD76
P 3150 5450
F 0 "R3" V 2943 5450 50 0000 C CNN
F 1 "1K" V 3034 5450 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 3080 5450 50 0001 C CNN
F 3 "~" H 3150 5450 50 0001 C CNN
1 3150 5450
0 1 1 0
$EndComp
$Comp
L Device:R R4
U 1 1 5D4CDD7C
P 3600 5000
F 0 "R4" H 3530 4954 50 0000 R CNN
F 1 "1K" H 3530 5045 50 0000 R CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 3530 5000 50 0001 C CNN
F 3 "~" H 3600 5000 50 0001 C CNN
1 3600 5000
-1 0 0 1
$EndComp
$Comp
L power:+5V #PWR013
U 1 1 5D4CDD82
P 7350 1800
F 0 "#PWR013" H 7350 1650 50 0001 C CNN
F 1 "+5V" H 7365 1973 50 0000 C CNN
F 2 "" H 7350 1800 50 0001 C CNN
F 3 "" H 7350 1800 50 0001 C CNN
1 7350 1800
1 0 0 -1
$EndComp
Wire Wire Line
3600 5150 3600 5200
Wire Wire Line
3600 5200 3850 5200
Connection ~ 3600 5200
Wire Wire Line
3600 5200 3600 5250
$Comp
L power:+12V #PWR05
U 1 1 5D4CDD8C
P 3600 4750
F 0 "#PWR05" H 3600 4600 50 0001 C CNN
F 1 "+12V" H 3615 4923 50 0000 C CNN
F 2 "" H 3600 4750 50 0001 C CNN
F 3 "" H 3600 4750 50 0001 C CNN
1 3600 4750
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:IRF9540N Q4
U 1 1 5D4CDD92
P 4050 5200
F 0 "Q4" H 4256 5154 50 0000 L CNN
F 1 "IRF9530N" H 4256 5245 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 4250 5125 50 0001 L CIN
F 3 "http://www.irf.com/product-info/datasheets/data/irf9540n.pdf" H 4050 5200 50 0001 L CNN
1 4050 5200
1 0 0 1
$EndComp
Text GLabel 2950 5450 0 39 Input ~ 0
D2
Wire Wire Line
2950 5450 3000 5450
Text GLabel 4300 5500 2 39 Input ~ 0
L2
Wire Wire Line
4150 5500 4300 5500
Wire Wire Line
4150 5400 4150 5500
Text GLabel 4950 5500 0 39 Input ~ 0
D3
Wire Wire Line
4950 5500 5000 5500
Text GLabel 6300 5550 2 39 Input ~ 0
L3
Text GLabel 6900 5550 0 39 Input ~ 0
D4
Wire Wire Line
6900 5550 6950 5550
Text GLabel 8250 5600 2 39 Input ~ 0
L4
Text GLabel 1000 6850 0 39 Input ~ 0
D5
Wire Wire Line
1000 6850 1050 6850
Text GLabel 2350 6900 2 39 Input ~ 0
L5
Text GLabel 2950 6900 0 39 Input ~ 0
D6
Wire Wire Line
2950 6900 3000 6900
Text GLabel 4300 6950 2 39 Input ~ 0
L6
Text GLabel 4950 6950 0 39 Input ~ 0
D7
Wire Wire Line
4950 6950 5000 6950
Text GLabel 6300 7000 2 39 Input ~ 0
L7
Wire Wire Line
3600 4750 3600 4800
Wire Wire Line
4150 5000 4150 4800
Wire Wire Line
4150 4800 3600 4800
Connection ~ 3600 4800
Wire Wire Line
3600 4800 3600 4850
$Comp
L Transistor_BJT:2N3904 Q1
U 1 1 5D4F685C
P 1550 5400
F 0 "Q1" H 1740 5446 50 0000 L CNN
F 1 "2N3904" H 1740 5355 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 1750 5325 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf" H 1550 5400 50 0001 L CNN
1 1550 5400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR02
U 1 1 5D4F6862
P 1650 5600
F 0 "#PWR02" H 1650 5350 50 0001 C CNN
F 1 "GND" H 1655 5427 50 0001 C CNN
F 2 "" H 1650 5600 50 0001 C CNN
F 3 "" H 1650 5600 50 0001 C CNN
1 1650 5600
1 0 0 -1
$EndComp
$Comp
L Device:R R1
U 1 1 5D4F6868
P 1200 5400
F 0 "R1" V 993 5400 50 0000 C CNN
F 1 "1K" V 1084 5400 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 1130 5400 50 0001 C CNN
F 3 "~" H 1200 5400 50 0001 C CNN
1 1200 5400
0 1 1 0
$EndComp
$Comp
L Device:R R2
U 1 1 5D4F686E
P 1650 4950
F 0 "R2" H 1580 4904 50 0000 R CNN
F 1 "1K" H 1580 4995 50 0000 R CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 1580 4950 50 0001 C CNN
F 3 "~" H 1650 4950 50 0001 C CNN
1 1650 4950
-1 0 0 1
$EndComp
Wire Wire Line
1650 5100 1650 5150
Wire Wire Line
1650 5150 1900 5150
Connection ~ 1650 5150
Wire Wire Line
1650 5150 1650 5200
$Comp
L power:+12V #PWR01
U 1 1 5D4F6878
P 1650 4700
F 0 "#PWR01" H 1650 4550 50 0001 C CNN
F 1 "+12V" H 1665 4873 50 0000 C CNN
F 2 "" H 1650 4700 50 0001 C CNN
F 3 "" H 1650 4700 50 0001 C CNN
1 1650 4700
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:IRF9540N Q2
U 1 1 5D4F687E
P 2100 5150
F 0 "Q2" H 2306 5104 50 0000 L CNN
F 1 "IRF9530N" H 2306 5195 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 2300 5075 50 0001 L CIN
F 3 "http://www.irf.com/product-info/datasheets/data/irf9540n.pdf" H 2100 5150 50 0001 L CNN
1 2100 5150
1 0 0 1
$EndComp
Wire Wire Line
2200 5450 2350 5450
Wire Wire Line
2200 5350 2200 5450
Wire Wire Line
1650 4700 1650 4750
Wire Wire Line
2200 4950 2200 4750
Wire Wire Line
2200 4750 1650 4750
Connection ~ 1650 4750
Wire Wire Line
1650 4750 1650 4800
$Comp
L Transistor_BJT:2N3904 Q5
U 1 1 5D4F8193
P 5500 5500
F 0 "Q5" H 5690 5546 50 0000 L CNN
F 1 "2N3904" H 5690 5455 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 5700 5425 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf" H 5500 5500 50 0001 L CNN
1 5500 5500
1 0 0 -1
$EndComp
$Comp
L Device:R R5
U 1 1 5D4F819F
P 5150 5500
F 0 "R5" V 4943 5500 50 0000 C CNN
F 1 "1K" V 5034 5500 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 5080 5500 50 0001 C CNN
F 3 "~" H 5150 5500 50 0001 C CNN
1 5150 5500
0 1 1 0
$EndComp
$Comp
L Device:R R6
U 1 1 5D4F81A5
P 5600 5050
F 0 "R6" H 5530 5004 50 0000 R CNN
F 1 "1K" H 5530 5095 50 0000 R CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 5530 5050 50 0001 C CNN
F 3 "~" H 5600 5050 50 0001 C CNN
1 5600 5050
-1 0 0 1
$EndComp
Wire Wire Line
5600 5200 5600 5250
Wire Wire Line
5600 5250 5850 5250
Connection ~ 5600 5250
Wire Wire Line
5600 5250 5600 5300
$Comp
L power:+12V #PWR09
U 1 1 5D4F81AF
P 5600 4800
F 0 "#PWR09" H 5600 4650 50 0001 C CNN
F 1 "+12V" H 5615 4973 50 0000 C CNN
F 2 "" H 5600 4800 50 0001 C CNN
F 3 "" H 5600 4800 50 0001 C CNN
1 5600 4800
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:IRF9540N Q6
U 1 1 5D4F81B5
P 6050 5250
F 0 "Q6" H 6256 5204 50 0000 L CNN
F 1 "IRF9530N" H 6256 5295 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 6250 5175 50 0001 L CIN
F 3 "http://www.irf.com/product-info/datasheets/data/irf9540n.pdf" H 6050 5250 50 0001 L CNN
1 6050 5250
1 0 0 1
$EndComp
Wire Wire Line
6150 5550 6300 5550
Wire Wire Line
6150 5450 6150 5550
Wire Wire Line
5600 4800 5600 4850
Wire Wire Line
6150 5050 6150 4850
Wire Wire Line
6150 4850 5600 4850
Connection ~ 5600 4850
Wire Wire Line
5600 4850 5600 4900
$Comp
L Transistor_BJT:2N3904 Q7
U 1 1 5D4FA711
P 7450 5550
F 0 "Q7" H 7640 5596 50 0000 L CNN
F 1 "2N3904" H 7640 5505 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 7650 5475 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf" H 7450 5550 50 0001 L CNN
1 7450 5550
1 0 0 -1
$EndComp
$Comp
L Device:R R7
U 1 1 5D4FA71D
P 7100 5550
F 0 "R7" V 6893 5550 50 0000 C CNN
F 1 "1K" V 6984 5550 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 7030 5550 50 0001 C CNN
F 3 "~" H 7100 5550 50 0001 C CNN
1 7100 5550
0 1 1 0
$EndComp
$Comp
L Device:R R8
U 1 1 5D4FA723
P 7550 5100
F 0 "R8" H 7480 5054 50 0000 R CNN
F 1 "1K" H 7480 5145 50 0000 R CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 7480 5100 50 0001 C CNN
F 3 "~" H 7550 5100 50 0001 C CNN
1 7550 5100
-1 0 0 1
$EndComp
Wire Wire Line
7550 5250 7550 5300
Wire Wire Line
7550 5300 7800 5300
Connection ~ 7550 5300
Wire Wire Line
7550 5300 7550 5350
$Comp
L power:+12V #PWR014
U 1 1 5D4FA72D
P 7550 4850
F 0 "#PWR014" H 7550 4700 50 0001 C CNN
F 1 "+12V" H 7565 5023 50 0000 C CNN
F 2 "" H 7550 4850 50 0001 C CNN
F 3 "" H 7550 4850 50 0001 C CNN
1 7550 4850
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:IRF9540N Q8
U 1 1 5D4FA733
P 8000 5300
F 0 "Q8" H 8206 5254 50 0000 L CNN
F 1 "IRF9530N" H 8206 5345 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 8200 5225 50 0001 L CIN
F 3 "http://www.irf.com/product-info/datasheets/data/irf9540n.pdf" H 8000 5300 50 0001 L CNN
1 8000 5300
1 0 0 1
$EndComp
Wire Wire Line
8100 5600 8250 5600
Wire Wire Line
8100 5500 8100 5600
Wire Wire Line
7550 4850 7550 4900
Wire Wire Line
8100 5100 8100 4900
Wire Wire Line
8100 4900 7550 4900
Connection ~ 7550 4900
Wire Wire Line
7550 4900 7550 4950
$Comp
L Transistor_BJT:2N3904 Q9
U 1 1 5D4FD434
P 1550 6850
F 0 "Q9" H 1740 6896 50 0000 L CNN
F 1 "2N3904" H 1740 6805 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 1750 6775 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf" H 1550 6850 50 0001 L CNN
1 1550 6850
1 0 0 -1
$EndComp
$Comp
L Device:R R9
U 1 1 5D4FD440
P 1200 6850
F 0 "R9" V 993 6850 50 0000 C CNN
F 1 "1K" V 1084 6850 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 1130 6850 50 0001 C CNN
F 3 "~" H 1200 6850 50 0001 C CNN
1 1200 6850
0 1 1 0
$EndComp
$Comp
L Device:R R10
U 1 1 5D4FD446
P 1650 6400
F 0 "R10" H 1580 6354 50 0000 R CNN
F 1 "1K" H 1580 6445 50 0000 R CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 1580 6400 50 0001 C CNN
F 3 "~" H 1650 6400 50 0001 C CNN
1 1650 6400
-1 0 0 1
$EndComp
Wire Wire Line
1650 6550 1650 6600
Wire Wire Line
1650 6600 1900 6600
Connection ~ 1650 6600
Wire Wire Line
1650 6600 1650 6650
$Comp
L power:+12V #PWR016
U 1 1 5D4FD450
P 1650 6150
F 0 "#PWR016" H 1650 6000 50 0001 C CNN
F 1 "+12V" H 1665 6323 50 0000 C CNN
F 2 "" H 1650 6150 50 0001 C CNN
F 3 "" H 1650 6150 50 0001 C CNN
1 1650 6150
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:IRF9540N Q10
U 1 1 5D4FD456
P 2100 6600
F 0 "Q10" H 2306 6554 50 0000 L CNN
F 1 "IRF9530N" H 2306 6645 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 2300 6525 50 0001 L CIN
F 3 "http://www.irf.com/product-info/datasheets/data/irf9540n.pdf" H 2100 6600 50 0001 L CNN
1 2100 6600
1 0 0 1
$EndComp
Wire Wire Line
2200 6900 2350 6900
Wire Wire Line
2200 6800 2200 6900
Wire Wire Line
1650 6150 1650 6200
Wire Wire Line
2200 6400 2200 6200
Wire Wire Line
2200 6200 1650 6200
Connection ~ 1650 6200
Wire Wire Line
1650 6200 1650 6250
$Comp
L Transistor_BJT:2N3904 Q11
U 1 1 5D4FFE36
P 3500 6900
F 0 "Q11" H 3690 6946 50 0000 L CNN
F 1 "2N3904" H 3690 6855 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 3700 6825 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf" H 3500 6900 50 0001 L CNN
1 3500 6900
1 0 0 -1
$EndComp
$Comp
L Device:R R11
U 1 1 5D4FFE42
P 3150 6900
F 0 "R11" V 2943 6900 50 0000 C CNN
F 1 "1K" V 3034 6900 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 3080 6900 50 0001 C CNN
F 3 "~" H 3150 6900 50 0001 C CNN
1 3150 6900
0 1 1 0
$EndComp
$Comp
L Device:R R12
U 1 1 5D4FFE48
P 3600 6450
F 0 "R12" H 3530 6404 50 0000 R CNN
F 1 "1K" H 3530 6495 50 0000 R CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 3530 6450 50 0001 C CNN
F 3 "~" H 3600 6450 50 0001 C CNN
1 3600 6450
-1 0 0 1
$EndComp
Wire Wire Line
3600 6600 3600 6650
Wire Wire Line
3600 6650 3850 6650
Connection ~ 3600 6650
Wire Wire Line
3600 6650 3600 6700
$Comp
L power:+12V #PWR018
U 1 1 5D4FFE52
P 3600 6200
F 0 "#PWR018" H 3600 6050 50 0001 C CNN
F 1 "+12V" H 3615 6373 50 0000 C CNN
F 2 "" H 3600 6200 50 0001 C CNN
F 3 "" H 3600 6200 50 0001 C CNN
1 3600 6200
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:IRF9540N Q12
U 1 1 5D4FFE58
P 4050 6650
F 0 "Q12" H 4256 6604 50 0000 L CNN
F 1 "IRF9530N" H 4256 6695 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 4250 6575 50 0001 L CIN
F 3 "http://www.irf.com/product-info/datasheets/data/irf9540n.pdf" H 4050 6650 50 0001 L CNN
1 4050 6650
1 0 0 1
$EndComp
Wire Wire Line
4150 6950 4300 6950
Wire Wire Line
4150 6850 4150 6950
Wire Wire Line
3600 6200 3600 6250
Wire Wire Line
4150 6450 4150 6250
Wire Wire Line
4150 6250 3600 6250
Connection ~ 3600 6250
Wire Wire Line
3600 6250 3600 6300
$Comp
L Transistor_BJT:2N3904 Q13
U 1 1 5D502A1F
P 5500 6950
F 0 "Q13" H 5690 6996 50 0000 L CNN
F 1 "2N3904" H 5690 6905 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 5700 6875 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3904.pdf" H 5500 6950 50 0001 L CNN
1 5500 6950
1 0 0 -1
$EndComp
$Comp
L Device:R R13
U 1 1 5D502A2B
P 5150 6950
F 0 "R13" V 4943 6950 50 0000 C CNN
F 1 "1K" V 5034 6950 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 5080 6950 50 0001 C CNN
F 3 "~" H 5150 6950 50 0001 C CNN
1 5150 6950
0 1 1 0
$EndComp
$Comp
L Device:R R14
U 1 1 5D502A31
P 5600 6500
F 0 "R14" H 5530 6454 50 0000 R CNN
F 1 "1K" H 5530 6545 50 0000 R CNN
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 5530 6500 50 0001 C CNN
F 3 "~" H 5600 6500 50 0001 C CNN
1 5600 6500
-1 0 0 1
$EndComp
Wire Wire Line
5600 6650 5600 6700
Wire Wire Line
5600 6700 5850 6700
Connection ~ 5600 6700
Wire Wire Line
5600 6700 5600 6750
$Comp
L power:+12V #PWR020
U 1 1 5D502A3B
P 5600 6250
F 0 "#PWR020" H 5600 6100 50 0001 C CNN
F 1 "+12V" H 5615 6423 50 0000 C CNN
F 2 "" H 5600 6250 50 0001 C CNN
F 3 "" H 5600 6250 50 0001 C CNN
1 5600 6250
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:IRF9540N Q14
U 1 1 5D502A41
P 6050 6700
F 0 "Q14" H 6256 6654 50 0000 L CNN
F 1 "IRF9530N" H 6256 6745 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 6250 6625 50 0001 L CIN
F 3 "http://www.irf.com/product-info/datasheets/data/irf9540n.pdf" H 6050 6700 50 0001 L CNN
1 6050 6700
1 0 0 1
$EndComp
Wire Wire Line
6150 7000 6300 7000
Wire Wire Line
6150 6900 6150 7000
Wire Wire Line
5600 6250 5600 6300
Wire Wire Line
6150 6500 6150 6300
Wire Wire Line
6150 6300 5600 6300
Connection ~ 5600 6300
Wire Wire Line
5600 6300 5600 6350
Text GLabel 7400 2700 0 39 Input ~ 0
L2
Wire Wire Line
7400 2700 7500 2700
Text GLabel 7400 2800 0 39 Input ~ 0
L3
Wire Wire Line
7400 2800 7500 2800
Text GLabel 7400 2900 0 39 Input ~ 0
L4
Wire Wire Line
7400 2900 7500 2900
Text GLabel 7400 3000 0 39 Input ~ 0
L5
Wire Wire Line
7400 3000 7500 3000
Text GLabel 7400 3100 0 39 Input ~ 0
L6
Wire Wire Line
7400 3100 7500 3100
Text GLabel 7400 3200 0 39 Input ~ 0
L7
Wire Wire Line
7400 3200 7500 3200
$Comp
L power:GND #PWR06
U 1 1 5D50EFD0
P 3600 5650
F 0 "#PWR06" H 3600 5400 50 0001 C CNN
F 1 "GND" H 3605 5477 50 0001 C CNN
F 2 "" H 3600 5650 50 0001 C CNN
F 3 "" H 3600 5650 50 0001 C CNN
1 3600 5650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR010
U 1 1 5D50F2D9
P 5600 5700
F 0 "#PWR010" H 5600 5450 50 0001 C CNN
F 1 "GND" H 5605 5527 50 0001 C CNN
F 2 "" H 5600 5700 50 0001 C CNN
F 3 "" H 5600 5700 50 0001 C CNN
1 5600 5700
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR015
U 1 1 5D50F55A
P 7550 5750
F 0 "#PWR015" H 7550 5500 50 0001 C CNN
F 1 "GND" H 7555 5577 50 0001 C CNN
F 2 "" H 7550 5750 50 0001 C CNN
F 3 "" H 7550 5750 50 0001 C CNN
1 7550 5750
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR021
U 1 1 5D50F8BD
P 5600 7150
F 0 "#PWR021" H 5600 6900 50 0001 C CNN
F 1 "GND" H 5605 6977 50 0001 C CNN
F 2 "" H 5600 7150 50 0001 C CNN
F 3 "" H 5600 7150 50 0001 C CNN
1 5600 7150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR019
U 1 1 5D50FB23
P 3600 7100
F 0 "#PWR019" H 3600 6850 50 0001 C CNN
F 1 "GND" H 3605 6927 50 0001 C CNN
F 2 "" H 3600 7100 50 0001 C CNN
F 3 "" H 3600 7100 50 0001 C CNN
1 3600 7100
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR017
U 1 1 5D50FDC6
P 1650 7050
F 0 "#PWR017" H 1650 6800 50 0001 C CNN
F 1 "GND" H 1655 6877 50 0001 C CNN
F 2 "" H 1650 7050 50 0001 C CNN
F 3 "" H 1650 7050 50 0001 C CNN
1 1650 7050
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR012
U 1 1 5D510221
P 7050 2200
F 0 "#PWR012" H 7050 1950 50 0001 C CNN
F 1 "GND" H 7055 2027 50 0001 C CNN
F 2 "" H 7050 2200 50 0001 C CNN
F 3 "" H 7050 2200 50 0001 C CNN
1 7050 2200
1 0 0 -1
$EndComp
Wire Wire Line
7050 2000 7050 2200
Wire Wire Line
7350 1800 7350 1900
Text GLabel 7400 2200 0 39 Input ~ 0
DAT
Text GLabel 7400 2300 0 39 Input ~ 0
CLK
Text GLabel 7400 2400 0 39 Input ~ 0
STB
Wire Wire Line
7400 2200 7500 2200
Wire Wire Line
7400 2300 7500 2300
Wire Wire Line
7400 2400 7500 2400
Wire Wire Line
4150 2200 4250 2200
Text GLabel 4150 2300 0 39 Input ~ 0
D2
Wire Wire Line
4150 2300 4250 2300
Text GLabel 4150 2400 0 39 Input ~ 0
D3
Wire Wire Line
4150 2400 4250 2400
Text GLabel 4150 2500 0 39 Input ~ 0
D4
Wire Wire Line
4150 2500 4250 2500
Text GLabel 4150 2600 0 39 Input ~ 0
D5
Wire Wire Line
4150 2600 4250 2600
Text GLabel 4150 2700 0 39 Input ~ 0
D6
Wire Wire Line
4150 2700 4250 2700
Text GLabel 4150 2800 0 39 Input ~ 0
D7
Wire Wire Line
4150 2800 4250 2800
$Comp
L Connector:Conn_01x02_Female J1
U 1 1 5D52B4B8
P 1850 2400
F 0 "J1" H 1700 2000 50 0000 C CNN
F 1 "Power" H 1600 1900 50 0000 L CNN
F 2 "ledbar:PowerConnector" H 1850 2400 50 0001 C CNN
F 3 "~" H 1850 2400 50 0001 C CNN
1 1850 2400
-1 0 0 -1
$EndComp
$Comp
L power:GND #PWR04
U 1 1 5D531BE1
P 2150 2600
F 0 "#PWR04" H 2150 2350 50 0001 C CNN
F 1 "GND" H 2155 2427 50 0001 C CNN
F 2 "" H 2150 2600 50 0001 C CNN
F 3 "" H 2150 2600 50 0001 C CNN
1 2150 2600
1 0 0 -1
$EndComp
Wire Wire Line
2050 2500 2150 2500
Wire Wire Line
2150 2500 2150 2600
$Comp
L power:+12V #PWR03
U 1 1 5D534864
P 2150 2350
F 0 "#PWR03" H 2150 2200 50 0001 C CNN
F 1 "+12V" H 2165 2523 50 0000 C CNN
F 2 "" H 2150 2350 50 0001 C CNN
F 3 "" H 2150 2350 50 0001 C CNN
1 2150 2350
1 0 0 -1
$EndComp
Wire Wire Line
2050 2400 2150 2400
Wire Wire Line
2150 2400 2150 2350
Text GLabel 4150 2900 0 39 Input ~ 0
STB
Wire Wire Line
4150 2900 4250 2900
Text GLabel 4150 3100 0 39 Input ~ 0
DAT
Wire Wire Line
4150 3100 4250 3100
Text GLabel 5300 3200 2 39 Input ~ 0
CLK
Wire Wire Line
5300 3200 5200 3200
$Comp
L power:+12V #PWR07
U 1 1 5D54B0DC
P 5400 1750
F 0 "#PWR07" H 5400 1600 50 0001 C CNN
F 1 "+12V" H 5415 1923 50 0000 C CNN
F 2 "" H 5400 1750 50 0001 C CNN
F 3 "" H 5400 1750 50 0001 C CNN
1 5400 1750
1 0 0 -1
$EndComp
Wire Wire Line
5400 1750 5400 1800
Wire Wire Line
5400 1800 5200 1800
$Comp
L power:GND #PWR08
U 1 1 5D54E3DB
P 5400 1950
F 0 "#PWR08" H 5400 1700 50 0001 C CNN
F 1 "GND" H 5405 1777 50 0001 C CNN
F 2 "" H 5400 1950 50 0001 C CNN
F 3 "" H 5400 1950 50 0001 C CNN
1 5400 1950
1 0 0 -1
$EndComp
Wire Wire Line
5200 1900 5400 1900
Wire Wire Line
5400 1900 5400 1950
NoConn ~ 5200 2000
NoConn ~ 5200 2200
NoConn ~ 5200 2300
NoConn ~ 5200 2400
NoConn ~ 5200 2500
NoConn ~ 5200 2600
NoConn ~ 5200 2700
NoConn ~ 5200 2800
NoConn ~ 5200 2900
NoConn ~ 5200 3000
NoConn ~ 5200 3100
NoConn ~ 4250 3200
NoConn ~ 4250 3000
NoConn ~ 4250 2000
$Comp
L power:+5V #PWR011
U 1 1 5D57F58E
P 5650 1750
F 0 "#PWR011" H 5650 1600 50 0001 C CNN
F 1 "+5V" H 5665 1923 50 0000 C CNN
F 2 "" H 5650 1750 50 0001 C CNN
F 3 "" H 5650 1750 50 0001 C CNN
1 5650 1750
1 0 0 -1
$EndComp
Wire Wire Line
5200 2100 5650 2100
Wire Wire Line
5650 2100 5650 1750
$Comp
L Connector:Conn_01x03_Male J2
U 1 1 5D58D434
P 3500 1900
F 0 "J2" H 3600 1700 50 0000 C CNN
F 1 "UART" H 3600 1600 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical" H 3500 1900 50 0001 C CNN
F 3 "~" H 3500 1900 50 0001 C CNN
1 3500 1900
1 0 0 -1
$EndComp
Wire Wire Line
3700 1800 4250 1800
Wire Wire Line
4250 1900 3700 1900
Wire Wire Line
3700 2000 4100 2000
Wire Wire Line
4100 2000 4100 2100
Wire Wire Line
4100 2100 4250 2100
Wire Notes Line
4450 1750 5000 1750
Wire Notes Line
5000 1750 5000 3250
Wire Notes Line
5000 3250 4450 3250
Wire Notes Line
4450 3250 4450 1750
Text Notes 4750 2750 1 50 ~ 0
Arduino nano
$Comp
L Connector:Conn_01x15_Male J5
U 1 1 5D5CC385
P 7700 2600
F 0 "J5" H 7850 1800 50 0000 R CNN
F 1 "Panel" H 7900 1700 50 0000 R CNN
F 2 "ledbar:PanelConnector" H 7700 2600 50 0001 C CNN
F 3 "~" H 7700 2600 50 0001 C CNN
1 7700 2600
-1 0 0 -1
$EndComp
Wire Wire Line
7050 2000 7500 2000
Wire Wire Line
7350 1900 7500 1900
NoConn ~ 7500 2100
NoConn ~ 7500 2500
NoConn ~ 7500 3300
$EndSCHEMATC

BIN
plots/ledbar-brd.pdf Normal file

Binary file not shown.

4316
plots/ledbar-brd.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 209 KiB