Today I got mine!
What am I talking about ?
Ordered on a Sunday, delivered 2 days later ;-)
It was shipped in a padded envelope, all the parts were protected inside an metalized electrostatic shielding bag (not just a pink static dissipative bag, there’s been a blog about shielding on the eevblog some time ago) and came with a nice sticker as well. Resistor color codes.
I’m not particularly good at memorizing, but I manage to get by with this one:
“Bad Boys …”
Now back to the KIT.
1x PCB blue
1x DIP20 socket
1x 10k Ohm
1x 8.0MHz resonator
1x reset switch
1x 90° 6pin header (UART)
1x 6pin ISP header
1x 100µF electrolytic cap (polarized)
1x 100nF capacitor
1x break away male headers
1x demo code
Very simple, it just takes a few minutes. Just make sure you have flux and solder braid ready. If you use the male breakaway headers you can easily use it on a breadboard, just like a Boarduino.
I however chose to use 2x 10pin female headers, which allows me to directly plug in wires from the top.
Detailed assembly instruction by it’s maker can be found here.
With the new ATtiny4313 slowly becoming available, this little prototyping board becomes even more attractive. The new one comes with twice the memory (flash, ram, eeprom) of the 2313. And opposed to most (or even all) of the other chips of the tiny family, this one has a real UART and not just this USI stuff. USI is versatile, but you have to deal with quite a lot of the very low level stuff yourself. Not beginner friendly. I’m planning to use the 2313/4313 (SOIC package) in one of my future projects which requires SPI master capability and an UART for easy communication between boards (token ring like). The SPI master implementation with USI seems doable without too much headache. I²C is a different matter though.
The demo code blinks an LED on PD6, which is pin #10 on the chip, and sends/echoes data using the UART (9600,8,N,1). The 90° 6pin header has the standard FTDI cable pinout. Don’t forget to use current limiting resistors for LEDs.
Make sure to run ‘make && make fuse && make flash’, as the chip is fresh from the factory and fuses are set to run with the internal 1MHz RC oscillator, that is the demo code runs, but at 1/8th of the speed.
I also managed to get it to work as an SPI master (using the USI module) and talk to an MBI5168 constant current sink LED driver (my favourite, as it’s cheap). It was a bit nasty, as the examples in the datasheet are assembler and only one of them worked after translating it to C. The other one didn’t do anything, no wiggling lines on my scope. The code is to be found on my GIT page as usual.
Thumbs up! Get one ;-)