License

MIT

Recommend Projects

cat_unicorn

7 months ago 142
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

This is a charlieplexing PCB. The figure is a black cat sitting on an unicorn (on reddit). The artwork was made by inkscape and EasyEDA. A Tinkercad simulation with arduino compatible spaghetti code: https://www.tinkercad.com/things/0iIPoKPwN5V-unicat-charlieplexing

Video from the working PCB: https://youtu.be/Z9F6bd1mocM

The ordering of the LEDs are not the same in the schematic sheet and the PCB layout. However their numbering are equal.

Moreover 100 Ohm resistors at 3V are not the most suitable for different type of LEDs (in use red, yellow, green, blue at the same time). (for example: the voltage drop of blue leds is regularly over 3V.)

Charlieplexing tables

(order of leds according the schematic)

LED HIGH    LOW
-------------------
01  PB3 PB2
02  PB2 PB3
03  PB3 PB1
04  PB1 PB3
08  PB2 PB1
07  PB1 PB2
06  PB2 PB0
05  PB0 PB2
12  PB3 PB0
11  PB0 PB3
10  PB1 PB0
09  PB0 PB1

If you want to write a sketch the following should be considered. (the below is order of leds according the layout)

LED PB0 PB1 PB2 PB3
-----------------------------------
01  -   -   L   H
02  -   -   H   L
03  -   L   -   H
04  -   H   -   L
05  H   -   L   -
06  L   -   H   -
07  -   H   L   -
08  -   L   H   -
09  H   L   -   -
10  L   H   -   -
11  H   -   -   L
12  L   -   -   H

Documents

NEW_PCB

Sheet_1

PCB_WITH_MASKED_BACKGROUND

BOM

ID Designator Footprint Quantity
1 LED4,LED5,LED9 LED0805-R-RD 3
2 R5 0805 1
3 SW1 SW-TH_K3-1296S-E1 1
4 LED3,LED6,LED10 LED0805-R-RD 3
5 U1 SOIC-8_L5.0-W4.0-P1.27-LS6.0-BL 1
6 LED1,LED8,LED12 LED0805-R-RD 3
7 U2 CR2032 BATTERY HOLDER 1
8 ISP HEADER_MALE_ISP-6 1
9 R1,R2,R3,R4 R0805 4
10 LED2,LED7,LED11 LED0805-R-RD 3

Attachments

None

Members

Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.