USBTinyISP and ATTiny2313

Hello once again!

I recently acquired a USBTinyISP.

USBTinyISP

(or a clone, i guess)

Continue reading

Posted in AVR, Electronics | Tagged , , , , , , | 6 Comments

Tutorial: Using an Arduino to program AVR’s III – Use It

Alright! So now we have our circuit ready for testing!

The first step is to check which port we’re using to “talk” with our Arduino. It shouldn’t be difficult, since we already uploaded a sketch to it. Just open the Arduino IDE and check on the bottom right corner which one it is. If you’re on Windows, it should be something like COM#. If you’re on Linux, it should be something like /dev/ttyUSB0. If you’re on MAC, it probably is similar to Linux.

Linux IDE

Continue reading

Posted in Blog | Tagged , , , , , , , | 2 Comments

Tutorial: Using an Arduino to program AVR’s II – Connections

For this step of our tutorial, we’ll be making the connections from our Arduino to our µcontroller. For this, we will be using a circuit made for flashing the AVRs used in arduinos. Luckily, Atmel makes it very easy to program all their chips using ISP (In-System Programming, in which we connect the programmer to the chip via wires), and it’s a similar process for all. We just need to worry that the files we use to flash are made for the particular chip.

Taken from: http://www.instructables.com/id/How-to-program-a-AVR-arduino-with-another-arduin/

Continue reading

Posted in Arduino, AVR, Electronics, Tutorial | Tagged , , , , , , , | 2 Comments

Tutorial: Using an Arduino to program AVR’s I – Intro

Hello all!

My first electronic post will be regarding one of the most useful capabilities of Arduinos. Arduinos are cheap toolkits (or “prototyping platforms” as they call it in their official website). With this tutorial we’ll be solving the first problem that people trying to start in the micro controllers world will face: the programmer.

Traditionally, to start making projects using the AVR family, one has to have a programmer, since we can’t program the µcontroller (microcontroller) directly. It used to be easy to make one, using a few parts, thanks to the good old RS-232 (aka Serial port), or Parallel port. But since nowadays fewer and fewer computers have Serial/Parallel ports on it, the programmers have evolved into USB programmers. This is a problem for the starting hobbyist: we can no longer use simple programmers with just a few components to program AVR µcontrollers, like this one bellow.

Taken from: http://diy4fun.blogspot.pt/2009/01/simple-serial-programmer-for-avr.html

Continue reading

Posted in Arduino, AVR, Electronics, Tutorial | Tagged , , , , , , , | Leave a comment

Hello world! / Blink Led

First of all, welcome to my blog.

I’m a Portuguese engineering student, taking my Master’s degree on electronic and telecommunication. As such, my English might be a little off, but I shall try my best.

This blog is going to be dedicated to my ongoing electronic projects and other random ideas or adventures  (like my Linux posts, for which I’m a enthusiast).

Please check back regularly, and enjoy yourself. If you have any comments or ideas, please share them with me/us!

Thanks!

Posted in Blog | Leave a comment