MikroElektronika today announced that May 6, 2014 marks the 10th anniversary since it started developing compilers for Embedded programming – mikroC, mikroPascal and mikroBasic. The company will celebrate the occasion with a month long campaign that will include exclusive content, discounts and weekly full compiler license giveaways.
The successful release of mikroPascal for PIC in 2004 spawned an extensive product line that today has 18 compilers for six popular MCU architectures (ARM, PIC, dsPIC/PIC32, 8051 and AVR) that had a significant impact on the embedded electronics industry.
MikroElektronika celebrates a decade of compiler development - [Link]
Once you start building something with microcontrollers, one thing you need to take in to account is programming adapter. This is a device which allows to upload compiled code in to chip. I don’t know if this is still a fun to build your own DIY programming adapter which is not guaranteed to support all chips nor it will be safe and reliable. AVR microcontroller niche is one of most interesting when talking about programmers. If you take a look at AVRDUDE configuration file you will find that there is about 50 of them. Many of them are DIY while other are official.
Choosing right programmer for AVR microcontrollers - [Link]
Do you need a quick and easy way to program AVR chips. Did you know you can use your Arduino and the Arduino IDE? This Arduino shield makes the process much easier.
Arduino AVR Progamming Shield - [Link]
ISPnub is a simple to use stand alone programmer intended for flashing AVR controllers in the field directly in the target system or during production. The module has only one button and two leds as user interface.
- No external power supply needed. Uses voltage provided by target (1.8V to 5.5V).
- Programming counter. Limit possible programming cycles. After allowed cycles, no further programming is possible (module has to be erased/reprogrammed).
- One-button-programming: connect – push button – wait for red led off.
- Simple LED schema:
- green on = ok
- green blink = counter expired
- red on = programming
- red blink = error
- Define programming with simple script. Script converter generates HEX file for module.
- Load module with any ISP programmer which supports ATmega1284p
- 120kB memory space for programming data
ISPnub – Stand-alone AVR In-System-Programmer Module - [Link]
A beginner’s guide to AVR programming on instructables. It cover the basic setup to light up some leds.
Beginner’s Guide – AVR Programming - [Link]
Evilthingamabober @ instructables.com writes:
Microcontrollers are, without a doubt, amazing little things. They are versatile, powerful, and extremely tiny. Unfortunately, the latter trait is also shared by both my wallet and my programming skills. My understanding of C is poor, and I can hardly afford to buy something like an Arduino or a decent ISP. And in any case, the Arduino would be overkill for many of my projects, which only need simple IC’s.
But as many of you know, DIY always finds a way. This tutorial is meant for those among us with no budgets or programming experience who want to start using these little machines. It is not based around the ATmega328 (the Arduino Uno chip), but rather the Attiny line of chips (the Atiny85 and Attiny2313, to be specific). The total cost of this project can go as lower than $15 if you know where to buy from, and you can still use the original Arduino IDE and language to program your projects in the end. Keep in mind that you will need some soldering skills to get this project done.
The Idiot’s Guide to Programming AVR’s on the Cheap - [Link]
Zak Kemble writes:
While working on an update for my CPU Usage LEDs project, I thought why not just make it into a universal RGB LED controller? The CPU Usage LEDs controller took a value between 0 and 255, worked out what colour it should be and then fade to that colour. This was very limiting; changing what colours it used and how it fades required a firmware update. With this universal RGB LED controller the host software does all the work and the controller is simply told what brightness the red, green and blue LEDs should be. To make it as easy as possible to interface with the controller I created a library which deals with all the LibUSB stuff.
AVR USB RGB LED controller - [Link]
Davide Gironi writes:
This library is an update of the software PWM driver you can find here.
This update implements also progressive start / stop features. So, with this one, you can drive up to 4 motors independently controlling: speed, direction, slow start / stop
Driving a DC motor using software PWM with AVR ATmega - [Link]