Showing posts with label Raspberry. Show all posts
Showing posts with label Raspberry. Show all posts

Wednesday, November 27, 2013

Google Play Music Internet Radio (Raspberry Pi and Arduino)

IMG_20130626_095126.jpgI was looking for a project to do with my Raspberry Pi and found this Instructable and thought I would have a go at something similar which worked with Google Play Music. I had a rough idea of what I wanted the final item to end up like and was able to get my dad interested in helping me with the design and construction of the enclosure.

All code and CAD drawings can be found in the GitHub repo.

Before we begin I should probably point out that a reasonably good understanding of electronics and Linux makes this project a lot easier, especially since my Instructables are probably not the easiest to follow (I do try my best), however feel free to ask if something isn't clear enough.

A full parts list is a little difficult for a project this size so I'll highlight the important parts only: Arduino IC (i.e. ATmega 328 with Arduino bootloader, you can but them blank and flash then yourself or pre flashed with a bootloader) Raspberry Pi (512MB version if possible, because you know, more memory is better... but seriously I haven't tested with a 256MB version, but it should still work) Digital potentiometers (logarithmic taper (we'll be using it to attenuate audio) & i2c (from the Pi), a DS1807 will do) Amplifiers (I used pre-built modules but feel free to build your own if you feel up to it) DC-DC converters (12v to 5v, 600mA output, isolated) Rotary encoders (from font panel, cursor movement and volume) An LCD (4 rows, 20 columns works for me, if you have songs with really long names maybe get a 40 column one) As for tools, you just need all the standard electronics and woodworking tools, a few others which may be useful: Bus Pirate (I don't actually have one, but they are very useful, alternatively you can do what I do and write Arduino scripts to make an Arduino act like a Pus Pirate to some degree) Laser cutter/engraver (not essential, but makes production of mounting hardware and front panels SO much easier) Router (for construction of enclosure) Accurate callipers (essential for measuring sizes for panels and mounting hardware) I think that is about it for specialist parts and tools, but of course I would highly recommend you read through the entire Instructable before starting work on this project.

[I will have a video here when I get a chance to shoot and edit one, most likely 27/06]

IMG_20130411_172632 (copy).jpgThe order in which I went about this project seemed fairly logical and seemed to work for me, so I'll go with that.

In that case first up is the electronics which control communication between the radio and the user, in my radio the included 6 buttons, two rotary encoders which also have a switch for when they are pressed and a 4 row, 20 column backlit LCD, the majority of this is controlled using a ATmega 328p which interfaces with the Raspberry Pi using RS232 (over a level converter, since the Pi has a logic level of 3.3v and the Arduino is 5v), the one exception is the LCD backlight which is switched on and off using a GPIO pin from the Pi.

So here is an overview of what IO devices were actually connected to the Arduino, how they were connected and why: Pins 0 and 1 connected to the Raspberry Pi GPO header through a MOSFET level converter, this was for the serial communication between the Pi and the Arduino. The front panel button were connected to ADC pins 0 to 5 with either an external pull up or pull down resistor (whichever is easiest, in hindsight pull up would have been easier then I would only need ground on my front panel board). The LCD is connected on digital pins 8 to 13, the actual pin assignment is not important at this stage as it can be configured in the Arduino script. The encoder buttons are on pins 6 and 7, using the internal pull up resistor. The encoders are on pins 3 and 5 and 2 and 4, it is important to have at least one interrupt pin per encoder, this will greatly improve the performance. Most of this can be seen easily on the schematic which has all of these relevant sections annotated, note that this is the schematic for the main board only, so the actual devices are shown as pin headers, I will go over wiring the actual devices in the next step.

View the original article here

Wednesday, November 20, 2013

Show Us Your Raspberry Pi Project

Raspberry Pi has become an amazing base for fun DIY projects. It's inexpensive, doesn't require much power to run, and best of all, it's tiny. We'd like to see what kinds of projects you've done with yours.

We've shown you how you can use Raspberry Pi to do all kinds of interesting things. You can create a Vintage Google Music radio, a low-power NAS, or even a smart alarm clock that syncs with Google Calendar. And if you need help getting started, check out this beginner's guide. Now, it's your turn. Show us your best Raspberry Pi project below.

Tuesday, November 5, 2013

Build a Solar-Powered Raspberry Pi

Build a Solar-Powered Raspberry Pi

An enterprising Hacker News user has built a Raspberry Pi server that's entirely run on solar power, along with instructions on how you can, too.

Raspberry Pi can do a lot of neat things and the server this user built is just one of many. The neat part, though, is that this device is being run entirely on a solar panel. As some commenters on the hacker News thread are pointing out, the solar panel pictured is probably overkill for some users' needs.

Check out the source link below for instructions on how to build the server, but be sure to check out the Hacker News thread for a lot of valuable input on alternatives to save even more money and power.

QContinuum | via Hacker News


View the original article here

Wednesday, October 2, 2013

Tuesday, September 24, 2013

Raspberry Mead

This is hands down the best mead I make. It's easy and DELICIOUS. And it won the praise of my local homebrew guy, who also happens to the be National Meadmaker of the Year for 2003. So I must have done something right!

This instructable is for a 5 gallon batch (roughly 25 bottles). You can scale it up or down to whatever you plan on making. You'll need 3 pounds of honey and roughly 6 ounces of raspberries per gallon. Honey is expensive. I have since made a Raspberry Wine, exactly like this, but with Dextrose (Corn Sugar) as the fermentable sugar instead of honey. It's considerably cheaper. BUT, you can no longer call it a Mead. And there will be obvious texture/mouth-feel/flavor differences. But they are both delicious. If you do end up going the sugar route, you don't need 3 pounds/gallon, closer to 2 pounds/gallon. Use your hydrometer to fine tune, you're aiming for about 1.10 or so as the starting gravity. I think I ended up needing about 12 pounds of dextrose. Anyway, on to what you'll need. I'm assuming you've brewed before and already have basic brewing equipment. If not, take a look at my other Instructables, or any of the other ones on this site to see what you need.

5 gallons of honey. I got my honey from http://www.flyingbeeranch.net/. These are the nicest people in the world, and their honey selection is AMAZING. I've also used Dutch Gold for bulk (60 pound bucket), or worked out deals with local apiaries. What turned me on to Flying Bee Ranch was their selection and prices. Really good. I went with the tried and true Orange Blossom. But I imagine if the Raspberry honey is available, that would work quite nicely as well.

32 ounces of Raspberries. It's hard to say precisely how much I used, I was very fortunate that my Aunt had several raspberry bushes and would pluck the best ones for me. I asked for about 2 pints. Store bought bags are just as good. The trick I've mentioned before is to freeze them. Allegedly this breaks the cell walls of the raspberries, which caused them to release more flavor. Whether that's true or not, I can't say. But that's what I do.

Yeast. For this first batch, I used Lalvin 71B. https://www.midwestsupplies.com/lalvin-wine-yeasts-5-grams-71b-1122-narbonne.html?utm_medium=feeds&utm_source=google&gdftrk=gdfV24959_a_7c1306_a_7c6184_a_7c8830&gclid=COKavfjF4bcCFVSe4AodUgYAUQ I read that it's supposed to be a nice pairing with fruit. But it fermented extremely fast and had some initial off flavors that took a while to tame out. Some of that was because it was quite hot. Since then, I used Lalvin D47. http://www.midwestsupplies.com/lalvin-wine-yeasts-5-grams-1cv-d-47-white-wine.html. I've never had a problem with this yeast, everything has always came out delicious.

Yeast Nutrient. http://www.midwestsupplies.com/fermaidk.html This is a good one. I've also had success using regular yeast nutrient/yeast energizer. And frankly, I'm not even sure it needs it. The raspberries will provide a decent amount of nutrition.

Spring Water to fill the rest of your carboy up. I'd avoid city water since it has some chemicals in it. Not to say it won't be good, but if you can get a good, clean water source, use it.


View the original article here

Thursday, June 13, 2013

Pidora Is a Fedora-Based Operating System for the Raspberry Pi

For the most part, Raspberry Pi users have only had one or two really strong operating systems to work with. If you're looking to try something different, Pidora is an OS built on the Linux system Fedora.

Pidora is slightly different than something like Rasbian in a few ways. It comes with a handful of different software than Raspbian, including a ton of text editors, programming languages, and more. You also get a "headless mode" to operate your Pi without a monitor attached (and with the clever feature to say your IP address out loud when speakers are attached). As you'd expect, you can also download a ton of additional software from the Fedora repository. Pidora has a slightly different look and feel than Raspbian, but if you're looking to try out a new OS on your Raspberry Pi it's worth checking out. You'll find everything you need over on the Pidora page.

Pidora


View the original article here