Day 21 of 30daysOfCreativity - 3D printed spacers

Nikolaus Gradwohl2013-06-21T20:59:47+02:00

I'm currently placing a raspberry pi and an AR1010 based radio chip into the housing of a blaupunkt car radio from the 60ties for my friends VW typ 3 wilson. To mount the electronic parts I printed a bunch of spacers which I created using openscad.

you can download the openscad file here or the stl file here

spacers

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 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

running openframeworks on a RaspberryPI

Nikolaus Gradwohl2013-05-30T08:09:54+02:00

I have realized that I haven´t done anything with openframeworks for ages. Which is kind of sad because I really like the framework. So I took my PI and installed openframeworks using this instruction from the openframeWorks-RaspberryPI fork on github

Compiling openFrameworks on a PI took a while but after it finished I was able to compile and run my boid sketch without modifications.

very nice!

Here is a photo of my pi running the swarm demo boids on PI