Radio Rehab – Now with sound

Over the last few years I have had a dream of converting an old broken radio into a bluetooth enabled system.

So far I have purchased:

I have now started to put all of these parts together.  Right now it has just been cobbled together on the kitchen table.  It will eventually need to be moved into the Old radio case.

Items that still need to be selected include a small set of speakers and possibly some switches.

To put it all together I had to do a little bit of soldering.

Amplifier
Amplifier
IMG_6638
12v to 5v Converter
Bluetooth adapter with the case removed
Power to Bluetooth adapter
IMG_6642
Powered on bluetooth adapter
IMG_6643
Connecting Power from Amplifier to the 12v input of the converter
IMG_6646
Everything put together

 

 

 

Tracking health and activity

 

Activity Monitoring:
I use and recommend the Misfit Shine, not only is this a nice product for monitoring Activity levels, the company has good support and stands behind their product.  They have replace two of the devices I have.
Weight Monitoring:
This one is expensive, but by monitoring my weight everyday I have lost 30+ lbs.
Blood Pressure Monitor: (I have one like this)
Each of these items send data to their own website, and to an App on my iPhone.
The Health App on iPhone allows you to view all of the data in one place.
The next step is to use: Ifttt.com to record this data into a google docs sheet.
An example of one of these recipes is:
Step 0: Old Radio Project

I am starting a new project, I want to restore an old Radio, with new Hi-tech – low cost guts.

The plan is to find an old Radio on craig’s list, put in Raspberry Pi Bluetooth audio, and some new speakers.

New SD Card Image:
 diskutil unmount /dev/disk2s1
 sudo dd bs=1m if=2013-09-25-wheezy-raspbian.img of=/dev/rdisk2
 diskutil eject /dev/rdisk2

Bluetooth Audio —

http://www.instructables.com/id/Turn-your-Raspberry-Pi-into-a-Portable-Bluetooth-A/  —Auto pairing

http://www.instructables.com/id/Bluetooth-Speakers-using-Raspberry-Pi/

 

Small Amp — http://www.parts-express.com/pam8610-2x10w-class-d-audio-amplifier-board–320-604

Amp Howto:  http://wdhesser.blogspot.com/2013/07/cheap-n-easy-car-stereo-project.html

 

 

Mathmatica Raspberry Pi

If you like me want to run Mathmatica, now available on the Raspberry Pi, but you don’t have your Pi connected to a monitor, you can try this:

 

/opt/Wolfram/WolframEngine/10.0/Executables/math
In[1]:= Print["Hello World"]                                                                                                 
Hello World

Then of course, you can add this to your path:

export PATH=$PATH:/opt/Wolfram/WolframEngine/10.0/Executables
Using Pig to Bulk load data into Cassandra CQL3 tables

Cassandra is a distributed Key Value Store maintained by Apache Software Foundation.  http://cassandra.apache.org/
Pig is a Map/Reduce Scripting language maintained by Apache Software Foundation.  Pig takes scripts written in PigLatin and converts them to Hadoop Jobs. http://pig.apache.org/
As of the release of Cassandra 1.2.8, you can now read/LOAD and write/STORE with PIG to Cassandra CQL3 Tables.  It has been possible to use the native Cassandra structure, but this was limiting, if you wanted to use CQL3 anywhere in your environment.

Continue reading “Using Pig to Bulk load data into Cassandra CQL3 tables”