attiny13

Posts Tagged ‘attiny13’

Valentine’s Day POV display using ATtiny13 and Arduino IDE

Valentine's Day Chocolates with a message!

Valentine’s Day Chocolates with a message!

There’s nothing out there that says “I love you!” quite like a box of chocolates that actually says “I love you” (or “I ❤ U” as it were). Here is a quick electronics project that takes less than 2 hours to complete and makes a nice Valentine’s Day present. It is based on what has lately become my favorite small MCU – Atmel Attiny13 – and the software was written using my favorite development environment – Arduino IDE. So, keep reading for the schematic, the software, the build pictures and a small video showing the message slightly better than a still picture can Read the rest of this entry »

ATtiny13 12-LED blinker with motion detection and scripted blinks



I can hear you screaming:”Not another LED blinker!” and yet here it is, packaged into yet another transparent Ferrero Rocher chocolate box, just like the first one. Why another ATtiny13 LED project? I needed to change the software to add a new feature and I had another box stashed away after Christmas – that alone should have been a reason enough :) Additionally, I have to admit right here that there will likely be one more post that includes an ATtiny13, LEDs and chocolates before I let it go (soon, I promise) and move onto more serious things, such as the DVD-CNC project that’s been languishing on and off my workbench for more than a year now.

That said, if you are still interested in programming ATtiny13 with the Arduino IDE to blink 12 Charlieplexed LEDs, respond to motion (shaking) and have the LED on/off sequence scripted in an orderly fashion rather than random or simply 1 through 12, then read on! Read the rest of this entry »

Arduino shrunk – how to use ATtiny13 with Arduino IDE

Lots of different MCUs can be worked on using the Arduino IDE, not just the Arduino boards!

Lots of different MCUs can be worked on using the Arduino IDE, not just the Arduino boards!

Arduino IDE (Integrated Development Environment), currently in version 1.0, is a great system for programming the Arduino boards. It has an easy-to-learn intuitive interface and comes with all the necessary settings for the most common Arduino boards – Uno, Duemilanove, Nano and others based on ATmega168 and ATmega328 microcontrollers. The latest version also includes some of the most recent ATmega1280 and ATmega2560 boards.
But you wouldn’t be using all of its great capabilities if you had to switch back to a text editor every time you needed to program a smaller Atmel chip, such as ATtiny13 for example. The engines behind the Arduino IDE – AVR-GCC compiler for C and C++ and avrdude – an in-system programming software for Atmel’s AVR series of micros – are already there and capable of coding for and programming the smaller chips, we just need to add a little bit of configuration magic to the Arduino IDE to be able to switch hardware freely without leaving your favorite Integrated Development Environment. Here is how: Read the rest of this entry »

Tools

Coming soon ...

Recent Comments
  • Chisight: You seem to be trying to implement a constant current supply but the LT1121 doesn’t have a constant...
  • Joshua Donar: Would you happen to know where the driver is for the CT10L drive is? Haven’t been able to locate...
  • Albert: Hello Thank you for sharing Tell me please meaning D4 zener. Meaning the role in this schematic. Looks like...
  • Will: I also aquired a scorbot 3 without a controller and in my spare time I have been developing a simple servo...
  • YamZYang: Hello, I learned alot from here. I have a question about the H-bridge motor driver, are there any special...
  • John: I’m trying to use this code to rotate a 14-pole, 12-slot BLDC motor. However, I’m getting some very...
  • admin: The signal is most definitely a square wave of varying width. Its resulting torque might look like a sine wave...
  • Andrei: Hi there, Great article. Really helps to explain the BLDC control. I was thinking of a way to control a BLDC...
  • Albert: Hi, because you switched with 120 ° phase shift, if the electric phase shift between phases of the animation...
  • Axel Vercauteren: I’m pretty sure this is an AF issue. In 1.01 Quick AF is enabled by default (See Set...
Meta