Day 20 of 30daysOfCreativity - An ATTiny programmer adapter

Nikolaus Gradwohl2013-06-20T21:55:32+02:00

For my raspberry pi based car-radio project I need some attiny chips to interface the radio controlls. Today I made a simple adapter for my programmer. I soldered an 8 pin chipholder and a 20 pin chipholder to an ISP connector. Now I can programm ATTiny 45 and ATTiny 2313 chips without having to hook up the ISP adapter to my breadboard

attiny programmer adapter

Day 19 of 30DaysOfCreativity - RGB led for the Raspberry PI based Radio

Nikolaus Gradwohl2013-06-19T21:09:08+02:00

Today I worked on the RGB led that is going to replace the small lamp that lights the display of my rapspberry pi based car radio for cheri´s VW type 3 wilson

I used an attiny 2313 to control the led. I will interface the microcontroller with I2C and connect the 5 buttons tomorrow

this is my day 19 project for 30daysOfCreativity

rgb led for the radio

Day 18 of 30daysOfCreativity - Reading analog values on a PI using an ATTiny45

Nikolaus Gradwohl2013-06-18T20:36:08+02:00

For my Raspberry PI based car-radio that lives in the housing of a blaupunkt radio from the sixties I needed to interface a variable resistor from my pi. Unfortunately the rapsberry pi has no ADC for the GPIO pins so I added a small ATTiny running the arduino-tiny firmware to read the analog values. The ATTiny is programmed as a I2C slave and is accessed in the same way as the radio part of the project.

you can find a tutorial on how to install and run the arduino-tiny firmware here

and you can find the I2C slave library for the attiny chips here

this is my day 18 project for 30daysofcreativity

attiny as a ADC for the Raspberry Pi

read more ...

Day 14 of 30DaysOfCreativity - Radio PI part 6

Nikolaus Gradwohl2013-06-14T11:22:55+02:00

Today I worked out the component placement and continued to work on the housing.

I plan to create spacers and mounting parts for the pi, the amplifier and the radio on my 3D printer this weekend

wison radio placement test

Day 13 of 30DaysOfCreativity - Radio PI part 5

Nikolaus Gradwohl2013-06-13T08:08:27+02:00

Today I started working on the radio part of the raspberry pi radio. I hooked up an AR1010 based breakout board from sparkfun to the i2c ports of the raspberry pi and wrote a short python program to initialize the chip and tune it to a radio station.

It took me a while to figure out how to access the chip and after searching through tons of tutorials example-code and a really really really extremely bad datasheet I finally managed to get my code running.

The main reason why it didn´t work in the beginning was that I didn´t recognize that the smbus library sends long values in LSB,MSB order while the AR1010 wants them in MSB,LSB order :-/. Who would have thought that the littleendian/bigendian thing still exists in 2013

wilson radio module

read more ...

Day 11 of 30DaysOfCreativity - Radio PI part 4

Nikolaus Gradwohl2013-06-11T05:53:23+02:00

Today I managed to get the wlan part of the raspberry pi based car radio for my friends typ 3 wilson working. I used a R8187U based wlan stick from belkin (Belkin N150 WLAN USB-Adapter) and configured an ad-hoc network. I initially intended to create a wlan access point like described here, but I hostapd didn´t want to cooperate :-/

wilson access point

read more ...

Day 10 of 30DaysOfCreativity - Radio PI part 3

Nikolaus Gradwohl2013-06-10T07:36:53+02:00

Today I soldered the amplifier module I plan to use in the raspberry pi car radio for my friends typ 3 wilson.

It´s a 2x40 Watt module that can be used with 12 Volts.

This is my Day 10 project for 30daysofcreativity

Day 8 of 30DaysOfCreativity - Radio PI part 2

Nikolaus Gradwohl2013-06-09T15:45:36+02:00

Today I´ve set up the airplay part of the raspberry pi car radio for my friends typ 3 wilson I have used this tutorial. I also planned to configure the accesspoint part but unfortunately my rtl8187 based wlan usb stick doesn´t support the master mode, so I will have to get a new wlan card tomorrow.

This is my Day 9 project for 30daysofcreativity

Click here to read part 1 of this project

wilson airplay

Day 8 of 30DaysOfCreativity - Radio PI part 1

Nikolaus Gradwohl2013-06-08T11:47:26+02:00

A friend of mine needed a radio for his typ3 wilson. Unfortunately the Blaupunkt car radio only receives LF and MF radio stations. So we decided to fit a raspberry pi and a amplifier into the housing of the radio and use the switches and turning knobs to interact with the raspberry.

The plan is to create a WLAN access point using the PI which also acts as an airplay access point to stream music from an iphone to the cars speakers

So far I have stripped the electronic parts from the radio and started gathering the materials needed for the access point

This is my Day 8 project for 30daysofcreativity