Tuesday, June 20, 2017

Replacing Yamaha YS200 Synthesizer Battery

In this post I will describe one way to replace the CR2032 3V button / coin cell battery in the Yamaha YS200.


First make sure the battery actually needs replacing by performing a voltage test using the YS200's internal test menu.

After turning the unit on hold down EFFECT, then while still holding that button hold EXIT, then while still holding the other two down press STORE


"Test Entry ?" prompt will appear on the screen.


Press the "+" button on the keypad and you should see the "??;Input test number!" prompt.


 Use the number keys to enter "02" and you should see the battery voltage displayed!


This battery is at 0.8V (NG = No Good?) and definitely needs to be replaced.

Items needed:
  • Phillips head screwdriver
  • New CR2032 3V coin cell battery
  • Small binder clip
  • Electrical tape
  • Wire, approx 3 feet (1m)
  • Wire snips
  • Soldering iron
  • Solder
  • Flux

 As you may have guessed this is a bit of a hack, but done properly it is quite easy to reverse and will not damage the board.


For a more complete and professional replacement look into ordering and installing either a through hole battery holder or a CR2032 with attached leads.



Remove all the screws and take the outer plastic housing off.

Inside there is a metal shield over the board with the battery, remove the screws holding it and remove the shield.

The old battery is in the center, soldered to the board.




 Use wire snips to clip the leads and remove the battery, it can be tricky getting them under the battery.

Create your battery holder by stripping two wires, each about a foot and a half (45cm) long, putting the bare ends on opposite sides of the battery and wrapping everything up with electrical tape.

Be sure to note which wire the positive side of the battery is connected to so we solder it to the correct lead. 


Solder the wires to the ends of the clipped metal leads.


I routed the wires out of the shielded area so I wouldn't have to remove it if I needed to replace the battery again.

Use the binder clip to hold the battery in place and apply pressure to the wires.

Not shown in the below picture is the extra piece of electrical tape I put around the binder clip levers to prevent them from accidentally shorting something out.


 Put everything back together and run the battery test again.

 3.3V OK



Now you can again save sequences on the synthesizer with the largest volume knob ever created!

Monday, May 18, 2015

Add a Front Center Pull Brake to Vintage Bicycle

I have a vintage "Derby" brand single speed coaster brake bicycle with metal fenders.  It was probably made in the 60s or 70s and sold by Pep Boys. The design is similar to the classic Schwinn Speedsters of the same era.



I really like the bike but have a hard time trusting the chain during downhill braking, so I wanted to add a front brake.

Hopefully this will help people who are wanting to add a front brake to their vintage bicycles.


First make sure there is a mounting hole for the brake on the fork. You can tell this model was designed for a brake by the hole and also the indentation in the fender.
Get the parts you will need from a used parts shop, I got all the items from the Recycled Cycles Fremont location in Seattle for about $20.

Center Pull Brake [bolt, 2 spacers, pads]

Make sure the brake fits over your fenders and that the pads touch the metal part of the rim when closed.  I happened to find a "Center Pull" style brake that fit.  If you find a side pull style you won't need the Cable Carrier or Cable Hanger, just a longer Cable Housing.

Cable Carrier

Cable Hanger

Brake Lever - Make sure this will fit on your handlebar, I'm not sure if there are different sizes.
 Brake Cable
 Brake Cable Housing and Ferrules - I used 1.5 feet for this project.

To install the cable hanger you have to remove the handlebars. (only necessary for center pull style brake)

Unscrew the top bolt between the handlebars a few turns and give it a firm downward tap to remove the handlebar stem.

 Remove the top Lock Nut.

 Insert the Cable Hanger then reverse the process to reattach the handlebars.

Attach the Brake
I think I lucked out with these two spacers because they fit perfectly under the small chromed flange on the front and back. 

 Push the brake through the hole.
 Attach and tighten the bolt.
Remove the handlebar grip by twisting and pulling, attach the brake lever and tighten in desired position.
 Insert cable into ferrule and cable housing then install in brake lever.
Route cable housing and cable around handlebars and through the cable hanger.
Push cable through the bolt in the cable carrier and tighten. 
 I found that the best way to tighten the cable carrier bolt was to pull the cable out towards the front while holding the brakes closed then tighten.

Give a some good squeezes on the brake lever and do some test braking to stretch the cable out. Afterwards adjust the cable carrier bolt to take up the slack. 
Et voilĂ , celebrate with a beverage!

Bonus images found around the web showing the most info I was able to find on this model.








Monday, July 21, 2014

Bear with Ragged Staff Brass Corkscrew

Warrikshire (Warwickshire)
http://en.wikipedia.org/wiki/Warwickshire
Birthplace of William Shakespeare

Bear with Ragged Staff


Brass Figural Finger Pull Corkscrew
Chained bear scratching tree stump
England
~1930s

Friday, April 11, 2014

Installing Arduino & Teensyduino on Ubuntu 14.04 (Trusty Tahr)

I have a Teensy 3.1 and a laptop running Ubuntu 14.04.

The Teensy website recommends using the Arduino software from http://arduino.cc/en/Main/Software instead of the repository (apt-get) presumably because the repository is out of date.

First I downloaded the Linux 32-bit version of Arduino 1.0.5 and extracted the folder to my Desktop.

I tried to run the "arduino" script in the folder but it failed with a java not found error.

drwxr-xr-x  8 --  4096 May 17  2013 .
drwxr-xr-x  3 --  4096 Apr 11 18:25 ..
-rwxr-xr-x  1 --   444 May 17  2013 arduino
drwxr-xr-x 13 --  4096 May 17  2013 examples
drwxr-xr-x  4 --  4096 May 17  2013 hardware
drwxr-xr-x  3 --  4096 May 17  2013 lib
drwxr-xr-x 18 --  4096 May 17  2013 libraries
drwxr-xr-x  3 -- 20480 May 17  2013 reference
-rw-r--r--  1 -- 37903 May 17  2013 revisions.txt
drwxr-xr-x  3 --  4096 May 17  2013 tools


*@*-Latitude-D810:~/Desktop/arduino-1.0.5$ ./arduino


./arduino: 22: ./arduino: java: not found


Ok, fair enough. Ubuntu must not have any java libs installed by default.

I found this nice stackoverflow question that deals with the dependencies required by the arduino IDE.

openjdk-6-jre is java
avr-libc and gcc-avr are c++ compiler libraries for working with atmel processors

Install all three by opening a terminal window and typing:

sudo apt-get install openjdk-6-jre avr-libc gcc-avr

168 megabytes of downloading and installing later you should be able to run the Arduino IDE using the terminal and typing "./arduino" in the folder you extracted to the desktop.


Wouldn't it be nice if you could double click the "arduino" icon (shell script) in the folder and have it run the IDE without using the command line every time?


Open a file explorer window and choose Edit>Preferences



From the "Behavior" tab select either "Run executable text files when they are opened" or "Ask each time"


Now you will be able to double click the "arduino" icon and have the script automatically execute.



Now we need to get the Arduino IDE working with the Teensy 3.1.

PJRC (maker of the teensy) has an explanation of how to install their add-on to the Arduino IDE called "Teensyduino" here.

I'm going to take you through the process step by step.

Download the Linux Installer (32 or 64-bit) from PJRC.

Once downloaded you have to change the file to be executable.
Right click on "teensyduino.32bit" (or 64bit) and choose "Properties"


 Check the "Allow executing file as program" box.

Now you should be able to double click on the "teensyduino.32bit" (or 64bit) icon and the installer will run.

Select the Arduino IDE folder and the "Next" button should activate.


Click "Next" then choose all the support libraries you want to install. I usually just install all of them.


Next we install the "udev-rules" from PJRC which let us send programs to the Teensy over the USB connection.

Save the "Linux udev rules" file to your computer from the PJRC website.



 Open the terminal again and go to where you downloaded the file and copy it to /etc/udev/rules.d/

*@*-Latitude-D810:~$ cd Downloads
*@*-Latitude-D810:~/Downloads$ ls
49-teensy.rules  arduino-1.0.5-linux32.tgz  teensyduino.32bit

*@*-Latitude-D810:~/Downloads$ sudo cp 49-teensy.rules /etc/udev/rules.d/



Now that the Teensy libraries are installed we need to start up the Arduino IDE and select the Teensy 3.1 as our development board.

Open the Arduino IDE and choose Tools>Board>Teensy 3.1




If all the above steps have been completed you should be able to plug in your Teensy 3.1 to a USB port and upload a sketch.

all the entries