Bluetooth Speaker

Bluetooth Speaker Project

We need a bluetooth speaker for the outside by the pool and I have also wanted one to use inside the house as well. This one is 90% complete. I still need to find what I am going to use for front and back grills. I may settle for some black material on a frame for the front and some aluminum grill for the back. In the meantime at least it is ready to go!

IMG 9806

IMG 9665

IMG 9669

IMG 9674

IMG 9711

IMG 9731

IMG 9735

Raspberry Pi Arcade Project

Next on the project list is a Raspberry Pi arcade system. Once again we are starting small with as much stuff as we could from around the Studio. I already had a Pi 3, monitor, keyboard, no controllers (ordered those), and for kicks I got another of the Pi Zero Audio DACs for sound. I will have a speaker leftover from the pool-USB-Streaming-Audio project so it works out well. 

We loaded it up with RetroPie and I have to say I am quite impressed. The software works quite well and while it is easy to setup there are quite a few options to check out later on. Right now the most imperative thing to my son was getting it up and playing on the screen today. 

IMG 9644

Someone has donated some Xbox controllers for the system. We are still going to make some kind of case for it. At this point I am not sure if it will be an all-in-one or keep the console separate from the monitor. Once again I will have to let this one stew and see what comes of it. 

I want to start to put together a real arcade style box for the controls, joysticks and buttons for 2 players while keeping the USB controllers for other games. I doubt I will go the standup route, but I never know where projects take me after a while. My big must have for this phase of the project is a Tempest spinner controller. Tempest has to be one of my all time favorite games! And it really isn’t the same trying to play it with a keyboard or mouse, and most paddle are wheezy at best. I have started digging into them. 

So let me share with you the links and information I have found on making a spinner. I am looking forward to scrounging and finding the right pile of parts for this one. 

BREAKING NEWS – I just found this site today and it seems to have one great manual for making a spinner. 

There is one place I found where you can purchase one, theirs is called the SpinTrak, they are pricey. Maybe when I make my standalone Tempest game. 

I found this setup which is pretty cool. And making a controller was my original and still my preferred idea. 

Below are some of the other links I have found dealing with DIY spinners. 

Made from an old VCR head.

Another excellent example made from the what-the-lab-will-surrender category

A spinner made right inside the mouse. Pretty neat concept.

Divine Muse

I have been dragging around these chunks of cherry for more than I care to remember, but I have been keeping them for a project. I have bee stewing about a case for mi Pi Audio Streamer. 

I had the garage door open a few days ago and pulled these out and started to look at them. Huh, a cherry case would be nice, look classy, and with a custom volume knob and single power light. . . ideas started to flow. How thin to cut the sheets? Joint them? Glue them? 

Fullsizeoutput 99eFullsizeoutput 99f

 

 

 

 

 

I ended up grabbing the skinner of the two. It has some interesting grain to it. 

IMG 9542

I cut three sections from the good end of the chunk. I still have the rest as there is some solid wood hidden in there and it might come in handy yet. Sorry the color is a little off but it was getting to be later in the afternoon. 

Fullsizeoutput 9a0

 

I have my sections of wood and I have the inside of it drawn out. My plan is to hollow out a section for the Pi and knob, I will get the drawing posted up here soon, but until then. . . 

Vintage computing strikes again

I was talking with my parents a while back and my mom mentioned my old Atari 400 (http://www.oldcomputers.net/atari400.html for the low down on the specs). That 6502 at 1.8Mhz, geeeeeeshe Louise! And 16k of RAM to boot!

Atari400

We both wondered if it was still around Or had gone by the way side. Guess what? The computer that started my computing journey!!!

IMG 9576

Well, heavens to Betsy if a package didn’t arrive yesterday. And yes, that is the way the box was found, open and the lid wouldn’t close, but I was surprised at that it all survived. It even had the fancy keyboard, not the that awful plastic sheet of plastic with bubble switch keys. My friend Phil had the Atari 800 with floppy drives. Well, la’ dee da’! Another friend Nick had an 800 with all the bells and whistles and ran a local BBS from his. Every Saturday morning there was a group that hung out at the local computer shop trading tips, tricks, and software. 

And with most people from this era, we could send hours busily typing in programs from whatever magazine you could buy, find, trade, or borrow. And the magic of trying to save it and retrieve it from tape. I think I lost as much as was saved in the end. 

I remember when I got it, it was for Christmas. Of course being the young, excited lad I was, one afternoon when my parents were out, I pulled it from the closet, ever so carefully pealed back the tape, unboxed it, set it up, and had fun for a couple of hours. They were surprised at how quick I had it setup. I didn’t let them in on the secret until on so many, many moons later. 

I am playing around with a new gallery plugin, so check out the pictures of the unveiling. Much like the NeXT Cube, I am going to see if I can get this one up and running as well. I was really hoping that Xaxon was going to be in the cassette player, but I wasn’t lucky on that note. I am going to have to track down some pieces and parts to get it displaying something once I get it put back together again. Westley was poking around the box and getting curious, so maybe I can get him to help me with this let-me-put-it-in-the-queue project list – LOL. 

IMG 9577

And there was a bonus!! All of the screws for the case were still in the box. They are laying inside the bottom of the case. 

IMG 9578

IMG 9580IMG 9579

Pi Update

Hold the presses! There has been a change of plans. After playing around with OSMC and some more thinking and drawing, I am going to change course with my Raspberry Pi project. Instead of a fancy pants media center, I am working towards a very nice audio system for the basement living room. My last real stereo was too many years too count and was a very nice Yahmaha system. Tuner, amp, CD, and booming speakers. It has long since gone and have been stuck with my laptop or iPhone with headphones to listen. 

So I have moved in that direction. While working with OSMC I found an inexpensive audio DAC (Digital Audio Converter) HAT, (pizereoaudio.com) for the RPi. 

IMG 9433

When it showed up I heated up the iron and with help of a little hot glue to hold the headers in place was able to solder it in place. 

IMG 9434IMG 9435

Don’t be harsh on some of the joints. While above beginner I am still in amateur phase. 

IMG 9436

I downloaded Volumio2 as the streaming distro. After doing some reading and comparing it seemed like a good package to do with. It supports audio streaming (of course) from local media and network devices. It also supports AirPlay but my first couple of attempts with it haven’t really gone so well. 

The DAC setup was quite easy. In Volumio2, under the menu is the Playback options menu. In there it was as easy as selecting the HiFiBerry DAC. And before I knew it my RPi was singing to me. The Pi Zero Audio DAC is based on the NXP 1334A. A low-power, low-priced DAC. The card was cheap compared to some of the other HATs out there. There is only line out installed on the card, but there are pads on the board is one is so inclined to add RCA jacks. Their documentation is sparse to proceed with caution if take this route. 

Since the pieces and parts are hanging together I whipped up a quick stand for it. 

IMG 9517

It is a piece of sheet metal from something and I superglued 4 standoffs to it. Simple and works for its purpose.

IMG 9516

Here is my proof-of-concept for my streaming player. I tossed on an old set of Altec speakers I had in the Studio. I have to say it really doesn’t sound hateful. Nothing high-end, but working well for what it is. 

Now that I am moving in this direction, I am starting to pick up some parts for the goal of this project, something which has gelled up nicely over the past few days. The end product is to be a single speaker streaming device. The pictures will work better than my words. I will share the drafts of how I want the case for it to look. 

I order the Pi Zero W that will be used for the end product. It came it quickly and I was pretty jazzed to get the headers soldered on and start to set it up as the main streamer.

IMG 9506

Pretty cool huh? And hands to Adafruit for getting it here so quickly. Help me here though, what is wrong with my picture? Where are the headers you ask? Someone forgot to order them. I remember the mini HDMI connector, and the rotary encoder I am going to use for the volume knob, but no headers! DOH! Well, off to eBay and now I am waiting for them to show up. Which is fine, I am still working the my Volumio installation. Songs needs sorted in various directories and playlists, AirPlay needs to be debugged, and I am learning how to add streams for my local radio stations. 

I have found a couple of nice speakers on Amazon from Viston and Dayton. I need to check them out a little more and pick one of them. From Adafruit I have my eye on the 20W amp for the speaker. I am still working on how I want/will power it all. I still have some time for thinking on that one. 

Stay tuned, I will be back to write up on what I have found about the DAC scene for the RPi and a little more about Volumio2. 

OSMC part 2

During my downtime I have been reading up on the OSMC (Open Source Media Center) package for my media center project. It seems to be a nice, well put together, distro that does/is what its’ name says. I checked out some reviews online and this was the version pointed to if you wanted a clean, easy to use, well-supported solution. Checking out their web site definitely gives you the feeling they may have something going on. 

Installation was really easy, I must say the easiest of all distros (about 3) I have dealt with so far. When you head to their downloads page, you click on your OS and it downloads an installer package.

PickInstaller

Have your SD card ready for the next part. 

Note I was using a SD card that had Raspbian on it. I used SD formatter to format the card before trying to use the OSMC installer. Don’t use SD Formatter. In my case, it would not mount the card properly. I had to use Disk Utility to format the card using FAT. 

Double-click on the installer. You can see the installer icon to the left of the Welcome to OSMC screen. 

LangPlat2

Pick your language and hardware platform. Once you click on the next arrow it will guide you through a couple of other steps such as if you want to configure networking. Both wired and wireless are supported. It will then ask you if you want to use a local repo or download a copy from the net. Since I didn’t download it yet, I let the app do the work for me. 

Download

The speeds finally did increase as I was tempted to head upstairs and grab a snack if it was going to take this long. 

Once it was complete I ejected the card from my MacBook and popped it in the Pi. Once the Pi gets booted up and begins the real installation of OSMC to the card. 

IMG 9424

This doesn’t take long, about 5 minutes. 

When it reboots it comes up with the OSMC interface and it is ready for configuring. At this point it is 1:30am and time for a little rest. Tomorrow night will come with AirPlay test. This is one feature I am really looking for. Not so much for the video but most defiantly for the audio. I am also on the hunt for the available options for listening to radio. We don’t have a home stereo any more. After years, moves, and kids, parts were either worn down, lost, or broken. Part of this project is to try and create an updated home media/audio center. I miss just turning something on and having it play int he background or for active listening. 

So if you are interested, stay tuned and I will keep posting about progress, pitfalls, and ideas. 

ESP8266 + OLED + graphics = frustration

I have decided to make a clock; a simple one to begin with. I started with an ESP-01, an OLED, and some base code. It was fairly easy but did the job quite well. It would go out and fetch the time from a NTP (Network Time Protocol) server and display it on an OLED screen 128×64. These screens are cheap on the market and serve well for displaying a few lines of text, sensor readings, and/or graphics. One has to enter in a username and password for the wireless and the display text for the time was static on the screen, something these little displays don’t like. After a few days or couple of weeks there is bound to the burn in on the screen. I thought a poor man’s screen saver is in order.

I don’t have a picture of the ESP-01 all wired up and working, my apologies. It was getting to be a pain programming it overtime I made changes. So for development purposes I moved over to an Aamica NodeMCU dev board. This makes debugging and programming changes much easier (IMHO). And when the project is done I am able to move it over to the ESP-01. The ESP8266 is such a wonderful family of chips to work with.

To deal with wireless I downloaded and added WiFiManager to the sketch. This allows me to bring a wireless device, in this case my clock, to any wireless network and set it up for it. For example, if I bring my clock into work it won’t know which or how to access the network. Not a problem, power up the device, connect to its own AP, open a browser and give it the proper credentials. It is a very nice library to use! I thought when/if I give away a clock it will be easy for the recipient to setup and use in their own space without having to dink with changing code and uploading it.

Now the screen saver. This is straight forward (FAMOUS last words) or at least I thought it would be. After a set amount of time, blank the screen, and draw a graphic, blank the screen and bring up the time. In theory I have it working. My problem is with the graphics. I do know that graphics work and display as seen with my known eyes in the demo, but I wanted something different than a WiFi logo. I thought the Hackaday logo would do nicely.

hackaday logo 128×64

The story on the web is to head over and use either LCD Assistant or BMC-LCD to convert an image into the HEX code that is required. I kid you not when I tell you that I have tried over 26 iterations of file types, sizes, bits, etc. and all of them come up bubkiss.

The best I have been able to achieve is with a crossed line, which still shows some defects.

SIGH – I will not be deterred. Tonight I am off to the forums to see if I can scare up and help from there. I will be sure and update the site if I find out what the magic incantation is or what silly mistake I made.

NeXTStep(s)

And then it freezes up. . .

It fired up once, so I figured why not one more time and try and break into it.  I had some limited success. I will be posting a video of it, but I need to edit it before I can upload it. During the process I found some great resources for the NeXT geeks out there. The best resource I have found is over at http://www.nextcomputers.org.

Command + ~ dumped me into the ROM monitor. From here I was expecting to be dropped into single-user mode and reset the password for it. I was able to get into the monitor, but as you can see from the shot, it never went beyond that. I tried more than a couple of times and different methods, but always came up with a crash.

A sidenote, the keyboard is a joy to use. I am not sure what it is about some of the old school keyboards, but they have a feel to them that one just doesn’t find very often. The mouse is built to last and does have some heft to it. Which is fine by me as I get frustrated with those mice that feel so light that they might blow away.

I kind of expected it in a way. The hardware is old and the system hasn’t been fired up in over 15 years. I won’t give up yet. It is just time to re-evaluate the project. In my research travels I have found a couple of place that seem to sell hardware. The hard disk replacement will be on my research list next. While this one is spinning up, it is a bit of a noise maker.

I still do have a copy of 3.3 on disc, but didn’t have the boot floppies around. I had sold them a ways back, they were part of my Mac OS collection I had. Anyhow, I was able to find them and download images of them. I figured if I couldn’t get the hardware up a going then get it going on a VM; Parallels by choice. I have started the process of trying to get it going. I have found a couple of guides that have some good information. Once I have it going I will post it here and hopefully over at nextcomputer.org too.

I enjoy keeping around an older OS. Pretty much just to keep it around, but also there are a couple of games I still like to play on the older OSes like the original Dark Castle. And HyperCard is fun to mess around with every now and again. I need to search for my link where I got this one from and share it when I do.

 

LM386 Audio Amp

Since entering the wonderful world of electronics, I have had an itch to make an audio amp. Probably one reason is that I am sans a real audio system right now and I am digging the hardware aspect of the hacking more than the software.

I started reading and wow there is a lot out there in amp world; but like with the Arduino I am pacing myself. I settled on a project, you can check it out here.

At the same time I am using this article to learn the math behind it all. Geesh, it has been more than a few years since I have used some of those brain cells and there are new things to learn, which is cool.

Here is the board with the hardware installed on it. So far things are looking good.

Here it is all wired up!! I wish I could say I fired it up, but putting the last wire in at around 1:45am my eyes were a little crossed. I am going to wait to get a good nights sleep then double-check my connections and continuity before applying power.

I will be sure and let you know how it turns out.

Uptime

Recently I have had a nagging thought about where a file was. It is a screenshot I took of our Cisco Modem/ISDN banks, AS5300’s, showing their uptime. I have to say they were pretty impressive for the day and as the screenshot shows, this one had nary a problem for quite a stretch. They served us well. I forget what year we took them down. I will check and see if I still have that email chain and post the date.

What is your best uptime?