Category: Tips

Shruthi XT Journey

This is not really a step-by-step tutorial, its more of a “point you in the right direction” tutorial. I just made notes as I was getting my Shruthi XT working. Most of the command line AVRDUDE stuff was found all over the web, I just wanted to archive what worked for me.

For Windows 10 Disable Driver Signature Enforcement: VIDEO
Unzip THESE FILES to root of C:/
Plug in your USB AVRISP XPII/MXII (Default drivers might fail, this is fine, ignore for now)
Install C:\shruthi\Software\libusb-win32-bin-1.2.6.0\bin\inf-wizard.exe
Install C:\shruthi\Software\WinAVR-20100110-install.exe
Open a command window (Press Win+R and type cmd and hit enter)
type cd C:\shruthi\ (You should now be in the C:\shruthi\ directory)

Type:

avrdude -p m644p -c avrispmkii -P usb -v

The RED light on the AVRISP XPII/MXII should have turned GREEN and you should see “avrdude done. Thank you.” in the command windows.
If this is true, then continue to the next step. If the light is still RED then remove your drivers and try again.

Hook up the 6 PIN cable from the AVRISP to the AVRISP port on the Shruthi XT.

Power up the Shruthi XT

Were going to set the fuses first. Type the following and hit enter:

avrdude -B 100 -V -p m644p -c avrispmkii -P usb -e -U lock:w:0x3F:m -e -u -U efuse:w:0xFD:m -U hfuse:w:0xD6:m -U lfuse:w:0xFF:m -U lock:w:0x0f:m

Now were going to program the bootloader and OS. Type the following and hit enter:

avrdude -B 1 -V -p m644p -c avrispmkii -P usb -U flash:w:shruthi.hex:i -Uflash:w:muboot.hex:i -U lock:w:0x2f:m

This will program the first 16 presets. Type the following and hit enter:

avrdude -V -p m644p -c avrispmkii -P usb -U eeprom:w:internal_eeprom.hex:i

Power off the shruthi XT and remove the 6 PIN cable from the programmer
Press the encoder knob in and insert the power cable and select XT.
Enjoy

OP-1 Travel Casse

Was in search of a small/portable case for my OP-1 for trips to the park and hotels. Looking at different choices that others on Reddit and other various forums used, I went with a hard case. I have used Pelican cases in the past for photography equipment and computer related items but I did not want to spend that much for this case. I was looking for other alternative to a pelican case when I came across the Namuk brand on Amazon. These tend to go on sale from time to time and some colors are cheaper than others.


The Nanuk comes with the standard “pick and pull” foam that is really easy to cut/tear apart as needed.

I added a nice place for my portable speaker to go and ran all the wires under the foam.

Next I will be adding a multi break out so I can use either the portable speaker or some headphones easily.

PIC Programming

11-8-2015 Update:

With OS X 10.11 El Capitan incorporating SIP (System Integrity Protection) it will break your previous install of PicKit2GUI. You will need to disable SIP before you can copy the needed files into the /bin/ directory to get PicKit2GUI to work again.

I found I also needed to install Java for OS X 2015-001 package first to get the JAVA runtime installed on OS X 10.11

Reboot your Mac into Recovery Mode by restarting your machine and holding down Command + R until you see the Apple logo. Then click Utilities > Terminal

In terminal window type the command: csrutil disable

Restart you Mac and SIP will be disabled. You are now able to re-copy over the pk2cmd and PK2DeviceFile.dat to the /bin/ directory.

Don’t forget to run: sudo chmod 777 /bin/PK2DeviceFile.dat


 

Recently I programmed 50 PIC16F684 chips to use ElectricDruid’s TAPLFO program. I have been asked by a few people how I burned the chips and with what. I decided the best thing to do was make a quick walk through.

Since I did all this on my Macbook Pro, this tutorial will be geared towards a Mac but the concept is the same with a PC.

Why did I need/want these chips?

There have been some great pedal DIY projects that use this chip to tap in a temp from a foot switch. Here is a small list of projects that use this chip and I am sure there are many more.

What I needed/what I had on hand?

PIC Chip – You will need a PIC16F684 You can pick them up at Mouser or try your luck with some China ones on eBay.

USB Programmer – There are so many programmers out there that it is impossible to cover them all. This is usually the biggest stumbling block when getting started. I went with the CanaKit UK1300 USB PIC Programmer (PicKit2 Clone) since it also meet my needs at work. I really like the fact that the sockets are on board and I do not need any accessories for it to program out of box.

Software – I really wanted to use MPLABX on my Mac but I had nothing but troubles trying to get it to recognize the CanaKit UK1300 so I went with using pk2cmd. When searching for command switches pk2cmd I came across a really nice Java GUI called PicKit2-Programmer-GUI that worked perfectly.

TAPLFO ProgramElectricDruid has this available on his website for private use only. If you like to use it commercially please contract Tom Wiltshire. Dpwnload the Assembled HEX code here.

My Programmer:

pickit2To write the TAPLFO program to the chip do the following:

Hook up your programmer VIA USB. You should have some kind of status light on your programmer to let you know it is powered up.

Insert your PIC (PIC16F684 in this case) – This step can be done before or after the software is launched. I am asking for you to do it before we launch so you can see if PicKit2GUI detects the chip properly.

Launch the PicKit2GUI

PivKit2cmdgui

As you can see from the picture above the software detected that I have a PIC16F684 inserted (Auto-Detect: Found Part PIC16F684)

Load up the TAPLFO.hex file downloaded from Electric Druid into the PicKit2GUI software by pressing the “Choose .hex” button

I always erase my PIC before any programing. I think its just a “best practice” and is most likely not necessary.

Erase:

pickit2guierase

Write:

Now lets write the HEX file to the PIC16F684. Press the “Write Hex” button.

pickit2guiwriteTest Hex:

Another good practice is to test the HEX on the PIC to verify a working chip. Press the “Test HEX” button.

pickit2guiverify

Now were are done. Just remove the PIC16F684 and place another in its place if you want to program more chips. There is no need to shut down the software or power off the programmer when changing the chips.

Now you can make some snazzy labels for your chips and get using them in your personal DIY projects.

Sticker Sizes: 16.34mm X 5mm 300DPI worked perfect for me. Print them on a full sheet of sticker paper and just cut them out as needed.

Here is a shot of some of my finished chips.

IMG_0070.JPG

 

 

 

Test PT2399 delay chips

I had 2 delay projects this week and got tired of pulling chips that seem to give off more distortion when max delayed. I decided to make a quick Madbean Cave Dweller just for the sole purpose to test PT2399’s. I was able to go through 15 PTs in 20 minutes and it worked out great. I suggest this to anyone that goes thorough many Delay projects and wants to test their PT before they place in their project.

IMG_1189.JPG

Enclosure Painting Tutorial

I finally got a tutorial together on how I paint and wet sand my enclosure after I do a reverse etch. I will be making changes to it over time since my process is evolving with every project. My goal is to get consistent results and little room for error. As with everything with this blog, if you have questions or comments please feel free to express them. I am also always open for more ides or suggestions.

Enclosure Painting Tutorial

Enclosure Painting

Edit: This is a work in progress and I wanted to put something up to get me started. A lot have asked me how I paint my enclosures after I do a reverse etch. I will attempt to explain my evolving process (I say evolving since its changing over time with trial and error).

Whats needed:

  • Etched enclosure (Use this tutorial if you need to know how I do reverse etches)
  • 1000 or 1500 grit wet sand paper.
  • Small square item to use as a sanding block. I use an iPhone/iPad charger… really, I do, not kidding here. Do not use the charger for charging any iDevice after using it as a sanding block.

I first paint the enclosure with a nice even coat of rattle can paint. As of right now I love using the Rust-oleum STOPS RUST Metallic products. It dries even and the darker metallic paints help the reverse etch to pop out visually.

I bake the enclosure in a over at 150 degrees for 15 minutes then let it cool. If done properly and you take your time you can get good results with 1 coat. Remember, the more coats you put on the thicker the paint becomes and can give you problems when wet sanding. You can literally paint back all the surface area that you etched away and and your etch will be ruined. Some times I put one nice coat on the surface of the enclosure where the etch is located and several coats on the sides of the enclosure.

One painted it will look something like this:

paint_2Taking your mini sanding block (iPad charger in my case) wrap a strip of 1000 or 1500 grit sand paper.

paint_4

I found that the iPad charger worked well since it is made from hard plastic and retain a flat surface unlink rubber sanding blocks. Laugh all you want but it works.. lol

I do this near my kitchen sink so I can constantly wet the enclosure & sand paper and wash off the enclosure. I then wet the surface of the enclosure and wet the sanding block and begin lightly sanding the raised areas of the etch. Soon you will start seeing aluminum. Do NOT concentrate on one are to long since it may sand away your raised area completely.

NOTE: You may want to start with 1500 grit sand paper so the chances of sanding away an etched area is a bit slimmer but you will find that 1000 grit speeds up the sanding process. Its up to you.

paint_5

This is not the best etch but it will work for this tutorials purposes…for now.

Take your time and try to stay away from all edges since the paint is a lot thinner over the edges and will sand away with little effort.

With a little patience and time you will have something like this.

paint_6

You will see some areas of the paint that dulled a bit do to the sand paper rubbing against it. This freaked me out the first time and I thought I ruined it but, it all disappears when you place a coat of clear on the enclosure.

Make sure you wash your enclosure good and let it dry for 20-30 minutes before spraying your first coat of clear on.

Finished pedal:

IMG_1093.JPG

I hope this helps some. As always you can contact me here by leaving comments or look for me (selfdestroyer) over at Madbean’s Forums.

 

PCB mounted pots

If you notice on my builds I use board mounted pots 99% of the time. I mainly do this to secure the PCB in the enclosure and not have to use double sided tape or Velcro. Instead of stocking up on board mounted pots and solider lug pots, since there are uses for both, I decided to just make my own PCB mount ones. I have been doing this for about a year and have been asked about it recently. I took some photos of the process as it really straight forward and save you some money and keep your PCB secure in your builds.
I put the pot in my helping hand:
20140508-151035.jpg
Put the solid copper wire (22 gauge is what I use) in the eyelet:
20140508-151044.jpg
Soldier the wire to the eyelet:
20140508-151052.jpg
Cut the copper wire to length. The length of the wire is determined by the PCB you are mounting it to.
20140508-151104.jpg
All done:
20140508-151115.jpg
Here are the pots mounted on a PCB:
20140508-151245.jpg

Enclosure Etching Tutorial/Pictorial

20140127-193621.jpg

I have been asked to document my enclosure etching method by a few people. I documented one of my last etches last week and finally got it all layed out and created a page just like my PCB etching tutorial. Let me know if you have any questions or comments about my process. You can either click on the link below or from the button in my top menu bar. Enjoy

Etching Tutorial Page

Bulk parts Tip

Simple but effective tip.

When I buy bulk parts they always come in a strand with paper to hold all the parts together. I used to pull each part out of the paper one by one when I first started this adventure. Then I started to used a pair of side cutters to cut off each part but now I think I found a better way.

Things needed:
Stranded parts of course
Sheet metal snips or tin cutters (got mine from Harbor Freight)
Pair of hands to hold the parts

Here is the basics

20130525-230728.jpg

I fold up the parts and cut off one side of the paper/card stock.

20130525-230824.jpg

I then hold the, in this case resistors in my left hand so I am holding all of then so I don’t drop any. I then cut off the other side of the paper/card stock leaving all the loose resistors in my hand.

20130525-231008.jpg

I place my resistors in my organizer and throw away the paper/card stock.

NI Maschine Default Pad Layout

I wanted to layout some kits to have on hand of the standard drum machines and a few vinyl chops that I like using. What I have found with the Native Instruments kits is that when I lay a beat down I am able to switch kits and still have the kick and snare properly mapped out. The reason for this is that Native Instruments has a “default” layout of sounds to make up a kit. Not all drum kits follow this rule but I would say 90% of them do. Here is a basic layout that I made in Photoshop to show the default layout.

Maschine16Pads

 

I will make a kit as an example and upload it here later this week.