How-to connect body interaction and your computer using USBtinyISP

Using USBtinyISP

The body interaction vibrator development board needs a programmer to upload a script. It’s not possible to upload  a script via the USB port directly. ISP programmer connected to BI boardInstead you have to connect a programmer to your computer’s USB port (the red USB cable on the picture). Then connect programmer and the body interaction board with a 2×3 pin wire (grey wire on the picture).

We use the USBtinyISP – be sure to buy one with a 2×3 (6) pin wire. Be sure to remove the “JP3” jumper (more instructions) on the USBtinyISP.

Driver installation

If you have a Windows system you have to upload and install drivers for the USBtinyISP. Here you can download drivers and you can follow a very good installation instruction. If it works you are lucky…

Windows installation Troubleshooting

Installation with Windows can be frustrating. Thanks to this solution troubleshooting is much easier.

  1. Download Zadig. Install the software.
  2. Plug-in the USBtinyISP. Windows tries to install a driver (and probably will fail to do so).
  3. Run Zadig. Select “USBtiny” and “libusb-win32” and click “reinstall driver”.zadig select usbtiny click reinstall driver

Trouble with the installation? We try to help you. Mail to info@bodyinteraction.com

Connect to the body interaction development board

ISP connector dont solder

On the body interaction development board you have to insert the pins in the holes marked as “ISP”. There are 2 rows and 3 colums. You can use any male 0.1″ pin headers. The body interaction development board provides two 3 pin header. You shouldn’t solder the pins as long as uploading works without any problem.

BI1 connected with ISP headerNow you can connect the body interaction board and the USBtinyISP  with the 2×3 pin header. On one side of the header you will see a vertical rail. This rail should point away from the board. If you are not sure try to turn the header 180 degrees and plug it in again.

The advantage of using a programmer is that you don’t need a bootloader. A bootloader is a small program (1-2 kB) which allows to upload programs by the USB connection.  But the ATtiny84 microcontroller has only 8kB, with a bootloader only 6-7 kB are left for your own program. That’s why we use a programmer.

Alternative solution: Arduino as ISP programmer

I haven’t tested this option, but there are a lot of examples:

  One thought on “How-to connect body interaction and your computer using USBtinyISP

  1. May 15, 2015 at 7:49 am

    I want to know whitch Arduino IDE can compiled the ATiny84 (8 Mhz, tiny core) ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s