Archive of arduino

Debugging AVRs (without Atmel Studio) Thumbnail

Debugging AVRs (without Atmel Studio)

Posted by ian.rees on December 07, 2015 in Projects tagged with , , , , , , , ,

This post is somewhere between a guide and a collection of notes, aimed at debugging programs for AVR microcontrollers (like the ones in most Arduinos) "on target". We'll be using an AVR Dragon connected to the target micro via the normal 6-pin programming header, with a Mac or Linux PC as the host. Although this is a bit more advanced than most of our other projects, it's really quite approachable and is a very powerful technique for fixing AVR software problems. From a high level; we'll use a debugging program on a Mac (or Linux, Windows, etc) "host" computer, which communicates with a Dragon "In Circuit Emulator" (ICE) via USB to debug a buggy program running on the "target" AVR, which is presumably running in some circuit we're interested in. Small variations might apply for Windows hosts, using JTAG instead of DebugWIRE, other debugger tools (Atmel JTAGICE mkII for example), etc.

Continue ReadingLeave a Comment
Arduinos and Macs Thumbnail

Arduinos and Macs

Posted by ian.rees on August 08, 2015 in Projects tagged with , ,

This evening, I finally got around to unwrapping the Arduino clone that came with my DSpace membership. Starting a project for the board couldn't be easier, using the nice Arduino IDE from, but I ran into a little snag when it was time to upload the program onto the board. It turns out that these clone Arduinos use a newish low-cost USB to serial converter chip called a CH340G, rather than the FTDI brand chips used in the genuine Arduino boards. The CH340G that isn't supported by MacOS by default, and I use MacOS, so the board didn't show up in the Arduino application's list of serial ports... Fortunately, other folks have run into the same problem and have written up some nice blog posts on how to solve exactly this issue!

Continue ReadingLeave a Comment
What’s been happening at the makerspace? Thumbnail

What’s been happening at the makerspace?

Posted by Blair McBride on April 04, 2012 in News tagged with , , ,

After a hiatus over the Christmas/New Years break and a slow start to the year, the Makerspace has been bustling with activity recently. Brian Paavo talked about the underwater scanner project the Makerspace is collectively working on, and work has been progressing on that (there will be a post about that soon). Paul Campbell held a soldering workshop, and about a dozen people made LED sculptures. One of the highlights on Saturday was William George's project of converting  chrome-plated toaster into an audio CD player. And when you come into the Makerspace now, you'll notice that the room has been re-organised to be better, easier to working in, and more inviting (with special thanks to Chris Baxter and Brian Paavo). Photos from the soldering workshop: Working on the underwater scanner project: William's converted toaster:

Continue ReadingLeave a Comment

Talk: Adding hardware to Arduinos

Posted by Paul Campbell on May 03, 2011 in Talks tagged with , , ,

I've uploaded my talk from last week about adding hardware to Arduinos - here's the slides as PDF.   Here's the promised link for  buying L298 H-bridges in NZ: L298

Continue ReadingLeave a Comment
Electronic Badge project Thumbnail

Electronic Badge project

Posted by Blair McBride on February 05, 2011 in Projects tagged with ,

Today we sorted and bagged the components for the Electronic Badge project - 40 kits, ready for people to start building them. The (draft) build instructions are available here:

Continue ReadingView Comments (2)