Doh!

This was meant to be a one-off, lets just have some fun kind of project. I was once told if you don’t learn something new everyday it just wasn’t a day. And I did learn in my eagerness for some quick video gaming gratification. 

I had been trolling through my parts box and thinking of a fun project to work on. Then I remembered two things. First was the ATTiny85 video games. I always have ATTinys laying around so this would be great. I checked the BOM and I had everything save the PCB boards and they are available on OSHPark. I even had a spare OLED screen in my display box. COOL. And, and, a way back I had an online bump in with Drew of OSHPark and he had sent me a gift certificate for boards. Excellent. I quickly put in my order and it was under $4.00 so still plenty left on the coupon to get my first PCB designed board done. 

I placed the order and forgot about it for a while. After all of the slow boat from China orders I tend to forget about things once I order them, I can’t stand being obsessive over something that is just going to take its time. Anyhow, low and behold one day when I get home from work there is a little package from OSHPark. I quickly get into it and see the 3 pretty purple boards and my OSHPark sticker for the collection, just waiting for a quick trim with the Dremmel and then get populated. 

IMG 0922

When I wasn’t waiting for the boards I took the time to program a ATTiny85 and breadboard it up with the screen. I wanted to make sure the big parts were ready and working for when the boards showed up. I almost wired up buttons, but it was about 2:00am and it was time for some slumber. 

IMG 0994

I was giddy at work just itching to get home and put all of the parts together and play some Tetris. And to be honest it has been quite a while since I have played it. Alright already, all of the parts are laid out and the iron is hot. 

IMG 0991

IMG 0992

 

 

 

 

 

 

 

 

 

There I go. It took about an hour to get it all soldered up. I was trying to be extra nice, and neat. While my soldering skills are markedly better than they were a year ago, practice makes perfect and I am still working towards that goal. Once it is done the big moment, time to slide in the battery. I rummage in the battery drawer and pull out a CR2032 and pop it in. And nothing. 

Really, nothing. Take it out and make sure I have positive facing up, yup. One more try and nothing. I pulled out my multimeter and check the battery 2.1V. Doesn’t that figure and I wait another day as it is again about 1:30am’ish (I work second shift so tend to have late hours in the studio). 

I grab a two pack early the next morning and try it again. NOTHING! Well shit and shoved in it Wilbur I am getting a little annoyed by this time. I pull out my meter again and start checking continuity and don’t find any issues. I put the battery back in and start checking my voltages. All the pins have power and reading at the correct levels. WTH?

I sit down and start doing a little web surfing while keeping a picture of the Pocket Tetris on my screen. What could be wrong? Well it is a funny little story about CAREFULLY checking what pins go where and which pins you have there after staring at one’s problem for a good long while. There was a dope slap and a DOH! involved when I saw it. 

IMG 1064

Now this simple, fun, quickie project will have to wait a little while longer. That was my only spare screen and I don’t have a solder sucker (yet). So while another slow boat makes its way here with new screens, with the CORRECT pinouts, and a solder sucker I have other projects to move onto. New high scores will have to wait for another day. 

Bluetooth Speaker – Update

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 and since I have two speakers I am sure another one will follow. 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

My bluetooth speaker

IMG 9665

cutting up the sides

I had a long scrap of wood from another project, so with the power miter saw I made quick work of the sides. 

IMG 9669

With the sides and square inner pieces cut it was time for some gluing. I used a couple of brads to help hold it together while the glue dried. 

IMG 9674

A little sanding to smooth things out. I also had to use a little putty to fill in a couple of small gaps. 

IMG 9711

I used my rotary cutter to make the hole for the speaker. It needed a little help to get the speaker ears to fit in just right. I have no idea what that PVC pipe is up there for, save the fact that I was working on the pool at the time. 

IMG 9731

Here I have things wired up. I didn’t have any barrel power connectors or even screw down terminals, but I didn’t have the parts from an old Apple Airport to get 12V power to the amp/USB board. As for the bluetooth/amp board there is no outstanding reason for picking it. I did some research on them as there are quite a few out there. I need something that would obviously deal with Bluetooth, again all of them were pretty much about the same, but I expected that. This board had the TI TPA3110D2 as the amp chip. I dug up the data sheet on it and it seemed to fit the bill for what I was looking for, a good amp chip and being able to deal with up to 20W for the speaker. 

IMG 9735

With a few brass standoffs, I mounted power plug and the board to the back of the speaker. The parts do face out the back of the speaker. In my thinking it makes it easy to replace anything if it were to burn out or I wanted to replace it. And I didn’t want the magnet to interfere with the board. 

Somewhere in here I stopped taking pictures, oops. In leu of pictures I will give you a quick wrap-up. I stained all of the parts with 2 coats. It didn’t come out as quite as dark as hoped, but it still looks good. Then I mounted the speaker on the front wood insert I made. I connected the wires to it and secured the back panel. 

It works well! It is not audiophile quality, but it has a nice sound all around. The Chinese lady’s voice they used to tell you it is on and connecting still makes me giggle a bit every time I use it. 

A.D.D. has kicked in

I have been busy with 4 different projects, one done and the rest coming along. I seem to bounce back and forth as I ponder over some design flaws and possible solutions. Which usually leads to a “hey let’s do this too” moment, I like to call it my Shiny Penny Syndrome. It works for me. 

Click on the project title to to the that projects link if you wish. 

Bluetooth Speaker

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

Volumio Case

While the Volumio is up and working in the family room downstairs, I am still working on the case for the setup. I have the idea firmly in my head. I have the case hollowed out. I need to find a way to get down to the bottom and clean and smooth the bottom. it is too small to work it with any chisel I have. I was thinking of upping the RPMs on my drill press and using the drill bit to clean it out. We’ll see, I still have a little research to do on this one. 

  

IMG 9863

Arduino CNC experiment

My goal here is to have a larger CNC mill, a real one, that can handle wood and soft metal like Al and brass. While I usually like to jump into a project with both feet, I have learned and bit by over enthusiasm in the past. I have read quite a few builds using old DVD drives, the LM293, and an Arduino to make a simple X / Y potter (the Z axis raises and lowers the pencil). I have the X axis works, the Z axis servo works when it feels like it (so much for the cheap micro servos in the intro kit. Time to scavenge from an old RC car tonight). The Y axis just grinds at me, so I need to dig into it here tonight and get it moving, literally. 

IMG 9871

RetroPie

This is one that was downloaded, installed, configured, setup with 2 controllers, an old LCD monitor, and it has been hard to find to time to play with it myself. That is OK it is being well used. I have an audio DAC for the Pi 3 some old monitor speaks to mate with it. I have been searching for a case idea. The cases one can purchase are well – so so, do in a pinch, rather not spend money on one, will the HAT fit? As I pondered and searched, I stumbled upon an old Game Cube for sale on eBay (9 bucks right now, don’t bid on it please) and it looks like it will do the trick quite nicely. Integrated power supply, spaces for controllers / USB ports, and about the right size. I hesitated when I click on bidding for it, but as time goes and I read some, it should work quite nicely. Stay tuned for where this one ends up. 

Tempest Spinner

Since the RetroPie is up and going, I have been playing some Tempest, my ALL time favorite arcade game; but it just isn’t right playing it with a controller, keyboard, or mouse. One really must have a spinner for the real experience. I have looked for them online, but they are rather pricey (upwards of $70.00) so I have been looking into making my own. I have the box of parts and my notes in line. I will find some time one night when nothing else interests me 😉 I guess you will just have to check back on this one to see how it goes. 

 

 

 

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

Secure e-mail review

A while back when I was putting together my wrightmac.net domain I started looking at a better ways to secure my email. Free is fine, but free is letting google check out your email and figure out what to try and sell you while taking a peek at your cookies. I took a couple of evenings and started looking at what was out there. Lavabit was in limbo at the time (after shutting down over the Snowden incident) and had heard about Protonmail.com. 

I signed up for the free account at Protonmail. I used the account for awhile. I liked that there is an iOS app that works quite well. They don’t have or support a desktop app yet, but they do have a nicely done web interface for desktops/laptops. After giving it a good run I decided to sign up for the paid account, just the low-end one for now. I had just delved into the world of BitCoin and since they accepted them, I tired it out. I have to say while getting the Bitcoin was kind of a pain in the butt, using them is easy peasy. And since I purchased my original $90, I spent $40, and I still have $70 something left. This virtual currency is pretty cool. I was greenbacks would do the same thing. 

I like their authentication, their encryption mindset, no logging, end-to-end encryption (even outside of other ProtonMail users), and I just learned about this one self-destructing emails. The default is 28 days. Sending a secure email to a person outside of Protonmail is easy to do. When creating the message, just click on the Encrypt button on the bottom, enter in a password, and continue composing your email. When it is sent, the receiver sees an email stating they got an encrypted email and to click the button to view it. They are taken the the Protonmail server where the message is displayed. It is not ideal, but I do like that secure emails can be sent to all. All of their gear is stored in Switzerland and have very strict privacy laws where government fingers can’t peek at them. 

I kept an eye on the Lavabit web site. Around the first of the year I put in my $$ to reserve a first-in-line spot to get a Lavabit address as well. A few days ago I received the email that they were ready to start taking customers and it was time to pick out my address. Wooo-hooo. The process was easy peasy. Save now I HAVE to use Thunderbird as my email client. Lavabit does support Android, Linux, and Windoze, the Apple world is left a bit out in the cold. That is alright, I have one way in, mail is secure, and I am sure that some Mac developer will save the day. 

Lavabit also provides end-to-end encryption. They also encrypt all layers of the mail being sent, the transport, metadata, and the message itself. They look to provide the most secure email solution. They have developed their own email server, Magna which runs their DIME encryption service (I think I have that right). They are working on a client for iOS and other platforms called Volcano. Being a proprietary client, it will integrate tightly with their server architecture. 

So why two more email accounts. My rationale is that I, I, ok I wanted them. I wanted to try out both services and wean myself off of the “free” mails services of personal information sucking giants. My Protonmail, wrightmac will be for my projects, wrightMac Studio, and the such. I will put the Lavabit account, peterhein to use as my professional address. 

I commend the developers of both software packages and ecosystems on their focus on security and making it accessible to us, but it would be great to have one secure email standard everyone could depend on. I have been around this internet and computer stuff too long to think that it will get there anytime soon. In the meantime I will keep on seeing what is here and what is next. 

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

Seeking shelter

Fullsizeoutput 9a1

We are all looking for a little shelter from the rain the past couple of days, even some of God’s littlest helpers.

And there shall be a tabernacle for a shadow in the daytime from the heat,

and for a place of refuge, and for a covert from storm and from rain.

– Isaiah 4:6

Amazing what trips your eye when you stop and take a moment to look around, even during some rain. This little guy was under one of the pumpkin flowers by our front porch. I didn’t notice till now, but the pumpkin leaves don’t have any rain drops on them. I wonder why?  

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.