You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Getting up and running with the iLabs Mini

Parts needed

  • Mini board
  • Atmel programmer (usually made by hand – either a parallel port cable spliced to connect 4 wires to the board, or a serial port cable, similarly spliced, but serial requires a few 5V zener diodes and resistors as level converters)
  • FT232R chip, ATMega48 chip, LTC1660 chip
  • USB connector, header connectors
  • Passives: SMT inductor (for FT232R), some 470 ohm SMT resistors, a 10k SMT resistor, some 0 ohm (jumper) resistors, some SMT 0.1uf capacitors, a 10nf capacitor. All resistors are in 1206 packages, and all capacitors in 0805 packages. Optionally, 33pf SMT capacitors and a crystal. Optionally, 4.7uf (or other) bypass capacitors for cleaner power supplies.

Step 1: Solder board

Solder SMT chips. Solder SMT passives. If you want to use a 6MHz clock, you can omit J1, J2, C3, C4, and the crystal. If you want to use your own clock, you can omit J3. You may also omit C10 and C6, which are additional power supply bypass capacitors. If you want to use your own analog 5V power supply (for cleaner power than the 5V from the computer), you should omit J5, and possibly, J4. Finally, solder the through-hole parts.

If you do not know how to solder properly (most college-trained engineers do not), Weller has an excellent document on the topic available as a free PDF.

Step 2: Program USB chip

This step needs to be done under Windows, using the MProg utility from FTDI's web page. You will want to reprogram the USB chip such that:

  • If you are using the 6MHz on-board clock, set C0 to CLK6
  • If you are driving another board from USB power, increase power level appropriately (device should always be set as bus powered)
  • Depending on USB chip version, you may also need to: disable USB remote wakeup, disable plug and play.
  • If you wish, you may program the remaining CBUS pins as required for your applications (including C0, if you are using a crystal oscillator)

Step 3: Program microcontroller

Use avrdude under GNU/Linux to program the microcontroller with your firmware. Be aware that you need to reprogram the fuses to make the chip compatible with your clocking scheme.

Step 4: Test the Mini from a terminal program

Step 5: Connect the Mini to the Mini iLabs lab server

  • No labels