Programming AVRs With A BumbleB

Inside LUFA is a neat project called AVRISP. With this code, your BumbleB becomes a programmer for other AVRs. The project can be found in ./Projects/AVRISP. With a few changes we can use this code and BumbleB to program other AVRs and even other Bumble-Bs.

Bumble-B AVRISP -> ATMega168 Example
Bumble-B AVRISP -> ATMega168 Example
 
 
 

Complete Solutions

Fletchtronics Complete SolutionsFletchtronics is now offering the first in a series of Complete Solutions, a set of useful components and development boards.

Complete means centralized information. You won't have to search around the web for information about the component. All relevant links and immediately important information will be posted on the product page.

 
 
 

PCA9555

Complete Solution

PCA9555 is a 16 bit general purpose serial IO expander from NXP Semiconductors. It speaks I2C/TWI. PCA9555 gives your application 16 more IO pins. Up to eight devices can share the same I2C bus. Therefore you can add up to 128 (16*8) additional outputs and/or inputs, using just two microcontroller pins to control them. This version is DIP-24/600 mil shape, perfect for breadboarding.

 
 
 

MCP3204 AVR Driver

Just a quick post today. Some nice software was written for the DIY game pad that didn't get produced. The MCP3204 driver is in particularly good shape to be distributed as a stand-alone item.

There is an example schematic using this chip on the Using Userial Tutorial.

So here it is. Current version is 0.1. It is released under the terms of the Apache License version 2.0.

Download MCP3204 AVR Driver, version 0.1.

Configure chip select and the actual SPI pins for your particular AVR model in MCP3204.h.

#include <MCP3204.h>
...
MCP3204_Init();
uint16_t ch0_val = MCP3204_Read(MCP3204_CH_0);

Note: it's very likely that this driver would also work for MCP3208, but I don't own one to test it. If any readers wish to supply a patch I would be open to adding it.