Mar
25
Posted on 25-03-2010
Filed Under (Uncategorized) by Dan

The cold is leaving my workspace, and the heat is returning to my soldering iron. It shouldn’t be long before I have more fun projects to share with you. I’ve been focusing my efforts towards my music, noise-making / manipulating projects and staying warm. Effects pedals, bent instruments and analog fun are all in the works. I’ll try to find some time to finish at least one of the projects on my bench in the near future.

(0) Comments    Read More   
Dec
05
Posted on 05-12-2009
Filed Under (Uncategorized) by Dan

A good friend of mine is quite a bit like me in that he loves salvaging electronics. He works at a local cable provider that was throwing away a bunch of devices that had these nice 80 character (40 x 2) LCDs in them. He snagged them and generously gave three to me. This morning I decided to figure out if they used Hitachi HD44780 drivers as I suspected (16-pin interface). First I soldered up some pin header, snipped and wired the included ribbon cable and made this handy little breadboard adapter for easy prototyping. I had to make a few changes in my LiquidCrystal calls to make sure the library knew I was using a 40 x 2 LCD, and voila! Thanks again Yaffe for these awesome toys!

(3) Comments    Read More   
Dec
02
Posted on 02-12-2009
Filed Under (Uncategorized) by Dan

Check out the shirt on shirt.woot.com today. I almost fell out of my chair:

Nerdish_by_Natureh1cStandard

(3) Comments    Read More   
Nov
16
Posted on 16-11-2009
Filed Under (Noise, circuit bending, electronics) by Dan

I wanted to share my nearly-completed SK-1 project. It still needs a back panel and some finishing touches, but it sounds amazing. I can easily get lost for a couple of hours just jamming on this little guy. It features an 18-point bend patch bay, 4 ground points, patchable potentiometer, joystick, and LFO, 8 additional hard-wired bend switches, drum kill mod, soft/hard reset, and a pitch bend (mounted on keyboard) with on/off switch. Now if only I could muster up some ambition to finish it…

(0) Comments    Read More   
Oct
06
Posted on 06-10-2009
Filed Under (circuit bending, electronics) by Dan

I’ve been wanting to get into circuit bending for a while now, but due to a jam-packed project notebook, it has taken the back seat…until now.

Music is my passion. I’ve played various instruments throughout my life and have always loved strange and exciting sounds and instruments. That being said, I’ve decided to focus my attention on music-making instruments / bends / circuits for a while. There’s something euphoric about mixing my love for music with my love for electronics…it’s hard to explain.

Seeing as I’m still a n00b at bending, I thought it proper to start with a staple bent instrument and see what I can do…enter garage sale find #1: Casio SK-1. As I started scouring the internet for ideas of bend points, and various different things people have done with the SK-1, I came across this really handy LFO circuit based on a LM555. I had all of the components in my parts bin, so I built it and started playing. The circuit itself is nice, but when applying it to any bend points, there was something missing. One of the changes I tried out was applying a PNP transistor to the trigger, so it acts as a switch that is being turned on and off to the speed of the timer. When I applied the bend points to either end of this switch, the results were very satisfying. I decided that for my bent SK-1 it would only be right to etch a PCB, so I made a quick change to the etch template and wanted to share that with everyone. I’ve also attached a few pics and a video of me playing with my SK-1 with this “glitch LFO”. I hope someone else gets some use out of it!

Download etchable circuit drawing here.

(2) Comments    Read More   
Aug
31
Posted on 31-08-2009
Filed Under (Arduino) by Dan

Hangmanduino is complete! A word is selected at random from a list of 10 words. This could be set higher, but for demonstration purposes, it’s 10. The user scrolls through the alphabet to select a letter using the potentiometer on the front of the case. To select a letter, the user pushes down on the potentiometer. Schematics, pictures of the build and demo video can be found below…click here to download the source code, but keep in mind you will need to download the string library as well to compile this code.

(13) Comments    Read More   
Aug
29
Posted on 29-08-2009
Filed Under (electronics) by Dan

I’m working on a project that requires the use of two interface devices; a button and a potentiometer, but I wanted the look of the enclosure to be really clean. I was thinking about where to place the button and potentiometer, which is when I realized, it wouldn’t be too hard to make a potentiometer that could be pushed for the select function. Within an hour I had this little prototype put together. There are a few areas that need improvement, but overall, it works great! For materials, I used a spring, pot, tactile switch, and a couple of screws/bolts to hold it all together. It’s really simple to put together so I’ll let the pictures do the explaining. Feel free to post any questions in the comments section.

Oh, and thanks to Make Magazine for posting the pics from Flickr!

(0) Comments    Read More   
Aug
26
Posted on 26-08-2009
Filed Under (Arduino) by Dan

A few months ago I was wrestling with getting my 16×2 parallel LCD to work with an Arduino for a few hours, until I decided it had to be broken. All I was getting was garbled characters and solid blocks. A few months later, I picked it back up and did some more playing, and eventually got it working. Now to learn how to print custom characters to it…I learn by doing, so I decided to make a hangman program. Below are pictures of the perf-board rendition of a shield for connecting the LCD, a few potentiometers, a tactile switch and a speaker for noise-making fun. At this point the code works well, but I’ve got some ideas for improvement and a box is in the making. Perhaps I’ll even submit it to Brico Geek “Let Arduino Play” contest : )

Hangmane Prototype

(2) Comments    Read More   
Jul
27
Posted on 27-07-2009
Filed Under (Arduino) by Dan

I needed some web-based gauges for my ArduinOil project frontend and I wanted them to be driven from PHP if possible. I came across Flash Open Gauges (FOG) written by Charles Nichols, which looked really slick and gave plenty of options as to the style of gauge and the methods that you feed it data. I started playing around with the scripts to customize them for my purposes. As I was learning about the feature of dynamically feeding the gauges data via PHP, I started thinking about how easy it would be to make the gauges live. A little tinkering, and voila! This won’t be particularly helpful in any of the projects I have going on at the moment, but I thought it might help someone else, so here’s how you’d make it work:

  1. You will need and Arduino (duh!), Ethernet Sheild, and some type of analog input device (potentiometer, photoresistor, etc).
  2. Go get the FOG files here.
  3. Download the demo scripts and sketch files I’ve created here.
  4. Extract the FOG into a folder on your server (can be either Windows or Linux, but must have PHP installed).
  5. Extract the demo scripts into the same folder as the FOG code on your web server and change the configurable variables in arduino_fetch_data.php to reflect the IP of your Arduino.
  6. Change the sketch code to reflect the IP you’d like your Arduino to have, upload the sketch and connect something to analog pin 5.
  7. Open the index.html in a browser by navigating to your server’s address.
  8. Read the FOG documentation and hack the scripts to do what you want!

I recorded a quick demo this morning of the script in action which you can find below. Also, keep in mind that I just threw this together on a side trail to a larger project that I’m currently working on, so there may be some refining that should be done to the code. I just don’t want to spend the time on it now, but if you need this functionality, it might be worth your while to poke at the code and try to improve it. Have fun!

(15) Comments    Read More   
Jul
22
Posted on 22-07-2009
Filed Under (Arduino) by Dan

It has been a few months, and I’ve had a few other projects come and go in the meantime. However, I’ve always had this project in the back of my mind. Not too long ago, I had a much better design idea for detecting the amount of oil in the tank. At first, I was trying to read the meter that is already on the tank, but the results were less than perfect and the hardware was going to be a major PIA to mount and maintain. One day I caught a video of a guy that made an automatic water dispenser for his cat or something crazy like that. But the thing I noticed was he was using a Parallax PING sensor to detect the amount of water in the bowl…enter proverbial light bulb. So I ordered one (a PING sensor) and started playing around with it. The results were amazing…not only is it amazingly simple on the hardware end, but the responses were more accurate and the code implementation was simple too.

Now that we have the data, we have to find some place to store it. I signed up for a BETA account at www.pachube.com and had a lot of fun programming the Arduino to speak pachube. I even got fancy with some Asterisk code to report pachube information via the telephone. But at the end of the day, there was still something missing…history. I really wanted to be able to look back on my fuel usage and get some trending information for curiosity’s sake…and I could not get such functionality from Pachube. So I did what any self-respecting nerd would do…I wrote my own. Here is the way it works:

The Arduino is listening on port 23 (telnet) for traffic. A cron job runs a script on the hour from a server that connects to the Arduino and sends a “p” (for percentage…”i” would return inches), which prompts the Arduino to pulse the PING sensor 5 times, average and convert the value to a percent based on the total tank size. The Arduino returns this information to the script which records the value and a time/date stamp to a database. From here I have a script that checks the database once a day and alerts via email if the level gets too low…however, I can do any number of things with that information. I have yet to write a “front end” to the database to make the information viewable over HTTP, but that is definitely in the works as well.

My next order of business will be mounting the ArduinOil components in the tank / furnace room, and doing the final hardware prep. I’d post some pictures, but honestly, at this point it’s just a bunch of code and tanggled wires. Hang in there…more to come!

(2) Comments    Read More