Dec
31
2008
0

AVR JTAGICE mkII clone

I finally decided which programmer/debugger to go with.  It is the AVR JTAGICE mkII clone made by www.avrvi.com.  I ordered it from an E-Bay store; which is in the United States.  It ended up costing $160 with shipping which was more then I wanted to spend but after much debate I decided that I didn’t want to be limited the micro controller devices I can use.  I also would like to play with one of the 32-bit Atmel devices in the future and wanted a programmer that would support it.

Here are some pictures from the kit:

The box with Chinese writing

avrvi-box

AVR JTAGICE mkII Clone

mkii-clone

Interface Connectors & Switch

mkii-connectors

AVRVI CD-ROM

avrvi-cd

USB Cable

usbcable

Spare 10pin IDC Cable

spare10pinidccable

10pin ISP Cable

10pin-ispcable

6pin ISP Cable

6pin-ispcable

Octopus Cable

octopuscable

I don’t know how it works yet…I actually don’t have any microprocessors to test it with.  I have an Atmel Butterfly board coming but it hasn’t arrived yet.

To see a list of other AVR programmer/debuggers check out my AVR Programmer/Debugger post.

EDIT:  See my review here:  AVR JTAGICE mkII clone – Review

Written by KludgeGuru in: AVR |
Dec
10
2008
0

AVR Programmer/Debugger

It’s time to choose an AVR programmer and debugger.  I’ve done some searching and found there are a few options.  (This is not a full review of each device just a quick summary of what I found on their web page.)

  • AVR ONE! $599.00 This is Atmel’s high end development tool.  It is made for the AVR32 and AVR XMEGA devices.  They say that they will support all megaAVR and tinyAVR devices in the future.  The debug interfaces include JTAG, debugWire, PDI and a Nexus auxiliary interface for high-speed trace.  The programming interfaces are ISP, JTAG and PDI.

  • AVR JTAGICE mkII.   $279.00 Also made by Atmel, the mkII supports a wide range of 8-bit AVRs and it also supports the 32-bit AVR32s.  It can do debugging using the JTAG interface or by the debugWIRE interface.  It is compatible with AVR Studio and performs real time emulation.  Interfaces to the PC using USB 1.1 or RS-232.  Supports in code breakpoints and supports target voltages from 1.8V to 5.5V.  I have never used this so I don’t know how reliable it is.  It is also a little pricey, I tried to get a discount on one through an Arrow Rep but he wasn’t able to bring the price down any.

  • AVR JTAGICE mkII clone$159.00 I’ve seen a few JTAGICE clones out there, most of them made in China.  You can visit AVRVI tools E-Bay Store to find their clones.  It looks just like Atmel’s version and at half the cost it is probably a good deal.  They say that it is 100% compatible with Atmel’s version and it also supports the AVR32 series of MCUs.  It also can be upgraded using AVR Studio.

  • AVR JTAG ice mkII-cn$85.00 This too is made by AVRVI tools and can be found at the AVRVI tools E-Bay Store.  They say it is not a clone instead it is designed by them and the functionality is 100% compatible with Atmel’s mkII but the RS232 port, the Power port and the switch circuitry have been removed to make it less expensive.  They also claim that the ISP programming and JTAG program is faster than Atmel’s.  It is compatible with AVR Studios but you can not use Atmel’s firmware updates with this.  Instead they promise to release new firmware within 3 workings days after Atmel releases a new version of AVR studios or bug fixes.  This is tempting but I have not been able to find any good reviews to see if it works as claimed.  There are good feedback reviews from people that purchased these through E-Bay so maybe it works.

  • Atmel AVR Dragon$49.00 The AVR Dragon is Atmel’s low cost developement tool.  It is compatible with over 30 different AVR MCUs.  It also supports debugging for AVRs with up to 32Kb of flash program memory.  The Dragon looks like a good development tool for some hobbyists and personal use but it seems a bit limited for me.

  • Olimex AVR-USB-JTAG$56.95 Programs and debugs all ACR MCUs which have the JTAG interface and that are supported by the old ATJTAGICE…not the mkII.  Opto Isolated and powers itself from the USB port.  Works with AVR studio for programming and debugging.  Does not support debugWIRE.

  • MCPros AVR JTAG Debugger & STK500-Compatible Programmer.  $58.00 This device is a dual purpose device.  It is a JTAG programmer/debugger but it is also compatible with the STK500 programmer which is an AVRISP.  That means you can program devices that support both JTAG and the AVR ISP interface.  JTAG or ISP is selected using a jumper.  It has a USB interface and is compatible with AVR studios.

mcpros

  • ET-AVR JTAG USB.  $34.90 This device is available from Futurlec.  It has a USB interface and supports both programming and debugging via JTAG.  It is limited to AVR devices that have the JTAG port.  No separate power supply required.  It is also available with an RS232 interface for slightly cheaper, ET-AVR JTAG.

  • AVR ICE-Cube$39.95 The ICE-Cube is made by Ecros Technology.  It is also a low cost alternative to Atmel’s JTAG ICE…again not the mkII.  The interface to the computer is RS232 instead of USB which may be a problem for sum but you can always get a USB to RS232 converter.   The ICE works from 3V to 5.5V but it does not work with the very low voltage MCUs.

  • AVR JTAG ICE clone debugger programmer kit.  $17.99 This is a DIY kit for making a AVR JTAG ICE clone.  They say it is a simplified version of the original AVR JTAG ICE.  Some of it’s features include: compatible with AVR studios, firmware upgradeable via AVR studios, RS232 connection and JTAG programming and debugging.  It is limited to AVR devices that have the JTAG port.  This seems like one of the least expensive ways to get a programmer & debugger.

I’m sure there are many other options but these are just some that I have quickly found.  There is also the option of building your own.

Build your won AVR JTAG ICE clone

Written by KludgeGuru in: AVR |
Dec
07
2008
0

Choosing a Microcontroller Family

There are a lot of microcontroller options out there.  I’ve only used a couple families of microcontrollers, PIC from www.microchip.com and a basic stamp from www.parallax.com.  PIC works great for my projects at work but for my home projects I think I want to try something different.  I would also like to have experience with a different microcontroller to add to my skill set.

I’ve come up with a short list of requirements for my home hobby MCU family.

  • Low cost development tools.  I’m not rich so I need to find a MCU family that has low cost or free development tools.  I could use the PIC development tools that I use at work but as I mentioned before I want to try something different.
  • Cheap or Free C Compiler.  I don’t want to program in Assembly.
  • Low cost in-circuit debugger.  My code never works the first time so I need to be able to step through the code to find out what I did wrong.
  • Through-hole DIP packages.  I would like the MCUs to be available in through-hole packages so I can easily make prototype boards without having to layout a PCB, cause that costs money.
  • Inexpensive development board so I can tinker with a circuit that is pre-built.
  • The actual chips need to be inexpensive and widely available so I don’t have to order them from an exotic vendor and wait weeks for delivery.
  • On board peripherals such as USART, USB, I2C, Timers, A/D Converters and Pulse Width Modulators.

Looking back at my list, the main factor seems to be cost.

After much searching and reading about the different MCUs available today it seems as if the Microchip PIC and the Atmel AVR are the top two for hobbyists.  They both seem to meet most of my above requirements but the Atmel AVRs seem to have more free development tools such as compilers.

I found this great guide to different types of microcontroller families for beginners written by somebody named Sam.

Beginners Guide to Microcontrollers

So my choice for a microcontroller family for my home projects is the Atmel AVR.

Written by KludgeGuru in: AVR,Electronics |
Dec
06
2008
0

Project: 3-Axis Talking Skull – Post #1 Introduction

I have a coworker that really gets into the Halloween Spirit.  He really decks out his house and being an Electronic Engineer he does some really cool things.  One thing he has is when the kids ring the door bell two ghouls raise up from the sides with their arms out stretched towards the kids.  Then a lid of a coffin behind them starts to bang and then open.  Another ghouls raises up out of the coffin again with his arms outstretched towards the kids.  Then the front door opens with a creeek and a fourth ghoul zooms down the stairs into the door way.  It looks really cool and he has really neat sound effects with stobe lights and a couple jacob ladders.

I showed my wife the video and she said “Why can’t you do something like that?”  I’ve always wanted to get more into Halloween but I’ve never really been inspired.  Another thing my coworker has is a guy that pops out of a garbage can and talks to the kids like one of those talking trees you may have seen in the mall.  This really got me thinking and I started doing some searching online and found alot of people do talking skulls.  So I decided a talking skull would make a good first edition to my Halloween Decorations.

I found a ton of information online from people who have done this.  One of my favorite videos I’ve seen is made by a guy named Frosty Don at www.halloweenforum.com.

Get the Flash Player to see the wordTube Media Player.

I need to do something different though.  I like the idea of having it interactive so the kids can talk to it instead of just a pre-recorded script.  So I’ve come up with the idea of controlling the 3-axis skull with a Playstation 2 controller.  The playstation 2 controller has two analog sticks that I think will work pretty well to control the skull.

I will also need a circuit that will change my voice into server movements.  www.scary-terry.com has a neat audio servo driver that will do this.  I will probably build the circuit myself so I can tweak it how I want.

My voice isn’t very scary so another thing I will need is a voice changer circuit so when I talk into the microphone my voice will be changed into a scary monster voice.  I’ve found a voice modulator chip that looks as if it will work great.  I’ll have to see if I can get my hands on one to try it out.  It is made by Holtek the part number is HT8950.

Well that’s my basic idea for the 3-Axis Talking Skull project.  There will be more to come.

3-Axis Talking Skull – Project Index

  1. 12-06-2008 – Project Introduction
  2. 01-16-2009 – Lindberg Skull Kit
  3. 02-01-2009 – Servo Plate Assembly
  4. 09-13-2009 – First Singing Test

Powered by WordPress. Theme: Aeros 2.0 by TheBuckmaker.com.