Archive for the ‘Microcontrollers’ Category

ATtiny13 POV display: same hardware, different message

St. Patrick’s Day is coming up and I thought it’s already time to update the original Valentine’s Day POV display with a new message and make use of the second PCB I had done at BatchPCB. Also, fortunately, John “smeezekitty” (the author of the Attiny13 core used for programming it in Arduino IDE) stopped by my blog and pointed out to an issue with the original firmware, which prompted me to take another hard look at it and the result has been a saving of whopping 20 or so bytes – it was just enough to fit the word “BEER” which, as I mentioned in the original post, we did not have any space in flash left for. Well, now we do and below is the new software Read the rest of this entry »

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

{adinserter Internal_left}
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 »

Atmel AVRISP MKII programmer in Ubuntu 12.04

This is a quick follow up on an eariler post describing installation of Atmel AVRISP MKII programmer on a Ubuntu Linux computer. The original post was based on Ubuntu 10.10 and several small changes have sneaked up on us during the upgrade to Ubuntu 12.04
Here are the changes: Read the rest of this entry »

MSP430 in 64-bit Ubuntu 12.04 Linux – the Arduino Way

Programming MSP430 microcontrollers in 64-bit Ubuntu 12.04 Linux

Programming MSP430 microcontrollers in 64-bit Ubuntu 12.04 Linux

I recently had a chance to take a closer look at programming a new (to me) familty of microcontrollers – MSP430 by Texas Instruments. The opportunity came courtesy of Newark, which is where the TI MSP430 Launchpad Development Board can be purchased on their Analog & Embedded Catalog website. I’ve had access to TI MSP430 development boards before but, since I ran a Linux shop here, the hurdles of using the stock Windows-based developing environment were too much for me and I never actually got to play with them and I’ve pretty much given up on TI until this opportunity came along. Much has changed since then, so keep reading if you are interested in working with MSP430 in Linux 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 »


Coming soon ...

Recent Comments
  • michael: Hi Your sin(x) wave is going from zero to PWM-max value – so you are driving maximal possible current....
  • Subhash G Gadiyar: thankyou very much, i knew pattern matching concept by using for loops but in right time u made me...
  • Bruno Cabral: Do you think this kind of laser and optics is enough to vaporize black ink in a painted PCB?
  • Bruno Cabral: Is this the one you’re wanting to source? https://www.aliexpress.com/ite m/4000117844997.html...
  • Bruno Cabral: Just for clarification, the mount is diode -> compression nut -> washer with lens -> mip ->...
  • Bruno Cabral: Never mind, I found it!
  • Bruno Cabral: What are that 1/8 golden color parts? Do you have english names for it so I can google something...
  • Ernest Smith: The best thing to do with a functioning motor with a bad controller(expense wise) is to use ROS and...
  • JiriK: The school (Turku AMK Sepänkatu campus / Finland) is moving to a new site so they are clearing the building. I...
  • admin: First of all – your local polytechnic school gives a new meaning to the phrase “dumpster...