License

CC-BY-SA 3.0

Recommend Projects

ATtiny13 TinyBling

4 months ago 466
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

TinyBling - it just does bling bling...

TinyBling is a completely pointless device that just does bling bling. It's wasted an ATtiny13A, 16 WS2812-2020 5mA addressable LEDs, and a LIR2032 rechargeable coin cell battery.

TinyBling_pic1.jpg

Compiling and Uploading the Firmware

Since there is no ICSP header on the board, you have to program the ATtiny either before soldering using an SOP adapter, or after soldering using an EEPROM clip. The AVR Programmer Adapter can help with this.

If using the Arduino IDE

  • Make sure you have installed MicroCore.
  • Go to Tools -> Board -> MicroCore and select ATtiny13.
  • Go to Tools and choose the following board options:
    • Clock: 9.6 MHz internal osc.
    • BOD: BOD 2.7V
    • Timing: Micros disabled
  • Connect your programmer to your PC and to the ATtiny.
  • Go to Tools -> Programmer and select your ISP programmer (e.g. USBasp).
  • Go to Tools -> Burn Bootloader to burn the fuses.
  • Open the TinyBling sketch and click Upload.

If using the precompiled hex-file

  • Make sure you have installed avrdude.
  • Connect your programmer to your PC and to the ATtiny.
  • Open a terminal.
  • Navigate to the folder with the hex-file.
  • Execute the following command (if necessary replace "usbasp" with the programmer you use):
    avrdude -c usbasp -p t13 -U lfuse:w:0x3a:m -U hfuse:w:0xff:m -U flash:w:tinybling.hex

If using the makefile (Linux/Mac)

  • Make sure you have installed avr-gcc toolchain and avrdude.
  • Connect your programmer to your PC and to the ATtiny.
  • Open the makefile and change the programmer if you are not using usbasp.
  • Open a terminal.
  • Navigate to the folder with the makefile and the sketch.
  • Run "make install" to compile, burn the fuses and upload the firmware.

TinyBling_pic4.gif

References, Links and Notes

  1. ATtiny13A datasheet
  2. WS2812-2020 Datasheet
  3. NeoPixel Implementation

TinyBling_pic2.jpgTinyBling_pic3.jpg

License

license.png

This work is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License. (http://creativecommons.org/licenses/by-sa/3.0/)

Documents

TinyBling

TinyBling_v1.0

BOM

ID Name Designator Footprint Quantity
1 LIR2032 BAT CR2032-SMD 1
2 100n C1 0603 1
3 10u C2 0603 1
4 WS2812-2020 LED1,LED2,LED3,LED4,LED5,LED6,LED7,LED8,LED9,LED10,LED11,LED12,LED13,LED14,LED15,LED16 WS2812-2020 16
5 10k R1 0603 1
6 330R R3 0603 1
7 POWER SW1 SW-SMD_SS-1290L-GLL-1.5MM 1
8 SET SW2 KEY-3.0*6.0 1
9 ATtiny13A U1 SOP-8_150MIL 1

Attachments

None
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.