Just wanted to report on completing a quick electronics prototyping project – making a very tiny ATTiny45-based simple USB dongle.
I used the blueprints from here: http://macetech.com/blog/?q=node/46
Printed the thing on the Roland Modela in the Media Lab shop, stuffed it with components obtained from DigiKey (links) there are only 5…, and programmed with a combination of the code from macetech and this instructables tutorial, and voilla – it works.
The advantage of the ATTiny45-20 (as opposed to the 45 not ’20’, e.g. ’10’) is that it works at 5V, which is what you get from USB, and also has an internal oscillator and PLL that can go over 20MHz (@ 4.5V-5.5V), which surpasses the USB’s requirements of 16MHz. The ATTinyX5-10 will not do, as it doesn’t go over 10MHz. So basically this chip is all you need to create a USB device, how awesome is that?
This is the image I used for cutting out the board (it is to-scale at 500 DPI, meaning you can use it to mill your own board). The red marking can be used for cutting out the board:
Just a bit of online research on a small footprint Bluetooth-enabled Arduino clone for prototyping:
- RFDiuno – http://www.rfduino.com/
- Galago’s BlueBlock – http://logiblock.com/products/blueblock/
- TinyDuino’s Bluetooth shield – https://tiny-circuits.com/index.php/tiny-duino/tiny-duino-communication-products/tiny-shield-bluetooth.html
- RedBearLab’s BLEMini – http://redbearlab.com/blemini/
- Coin’s BLE board – https://github.com/CoinApps/arduino-ble-dev-kit/wiki
- BLEduino – http://bleduino.cc/about/
I needed to create a small, cheap USB-enabled circuit to serve as a key logger, and I’ve found some nice projects online that explain how to do this.
I found out you could use an ATTiny85 to run the V-USB software USB stack, and I only needed the one input pin to gather data (it’s going to be a USB “That was easy” button).
Since this was done so many times before, I will be brief, and try to point out problems I had instead of a regular tutorial.
Just wanted to put up a small tut on how to put an Arduino bootloader on an ATmega88.
I very roughly followed:
http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard (Although they make it way too complicated)
And ATMEL’s datasheet for ATmega88 is also very good to have open at all times:
First, put everything on a breadboard: (This took me a while… Thanks D.Mellis and M.Feldmeier!!)
(Fritzing is awesome)
Just a quicky on how I hacked together a DIY Microsoft Kinect port. The Kinect port is non standard, USB-like port, and to actually connect it to a PC you must buy an adapter from microsoft for >30$. This is whack. You should make your own. All you need is access to a lasercutter, vinylcutter, plexiglass 1/8″, some copper sheet and solder equip.