Using Reed Switches For E-Brakes

Archive of useful information. This is not a discussion area.

Using Reed Switches For E-Brakes

Postby rkosiorek » Sun Jul 26, 2009 2:34 pm

this article gives an example of how to use a Reed Switch and a magnet mounted to the Brake lever to activate the E-Brake function of almost any controller. in my case i used the connectors for the Crystalyte controller. exactly the same connector is used on the Cyclone and Wilderness energy kits with exactly the same connections. the basic idea can be adapted to almost anything.

most controllers use a common theme for the E-Brake Line. to activate the E-Brake you short the E-Brake wire to GND or 0V. so the issue is really what is the easiest method to do that using a Reed Switch and a Magnet.

it is easiest if you use a Normally Closed Reed switch. AKA Form "B" contacts. i could not find any in stock anywhere. instead i found ones that were SPDT (both NO and NC contacts) AKA Form "C". wires were soldered on and the switches were sealed inside some thinwall 1/4" dia plastic tubes. i just sealed the ends with hotmelt glue:

reed switch.jpg
This ia a SPDT reed switch that is encapsulated in an hot melt filled plastic case.
reed switch.jpg (88.78 KiB) Viewed 3174 times


Brown = common
Black = N/O
Blue = N/C


you want the NC contacts because the brake function is activated when the input gets shorted to GND. the switch is mounted to the frame of the brake lever. the magnet is mounted to the moving part of the lever. when relaxed the magnet is close to the switch holding the reed open. when pulled the magnet moves away from the switch and the NC contact will short the signal to GND.

to use the most commonly available NO reed switches AKA Form "A" you need to find some mounting where the magnet moves closer to the switch as the lever is activated. easiest place to arrange that would be to mount the magnet to the cantilever arm at the sheath covered end of the brake cable and the switch to the cable between the arms. when you activate the lever, that piece of cable shortens pulling the cantilevers together, moving the magnet closer to the NO switch and activating it.

e-brake.jpg
For direct connection to either Crystalyte or Cyclone controllers the Black lead and Pin 1 are not used. do not connect the black lead.
e-brake.jpg (98.53 KiB) Viewed 3175 times



Pin1 = not connected = V+ (on controller)
Pin2 = Brown = GND (on controller)
Pin3 = Blue = Input (on controller}


these connectors are the XS Series connectors from JST Manufacturing. they are used on the Crystalyte, Cyclone and Wilderness Energy motors. they are a very common wire to wire style connector.

to mount my ruggedised reed switches i found some rubber molding the cross section being shaped like the letter "P". the open end has a hole just under 1/4" diameter. the switch is a tight slip fit into that hole i glued the rubber to the frame of the levers. then i glued a round magnet to the lever itself. being a slip fit i can adjust the activation point by sliding the switch inside the rubber mount. friction will hold it in place. the rubber molding was originally used as a door seal for a small portable fridge.

shimano.jpg
short magnet rod mounted using a smaller piece of the same rubber molding
shimano.jpg (79.3 KiB) Viewed 3155 times


shimano2.jpg
shimano2.jpg (88.4 KiB) Viewed 3172 times


generic.jpg
variation using a disk magnet
generic.jpg (137.35 KiB) Viewed 3174 times


rick
DISCLAIMER:
We will not be responsible for damage to equipment, your ego, blown parts, county wide power outages, spontaneously generated mini (or larger) black holes, planetary disruptions, or personal injury that may result from the use of this material.
- Samuel M. Goldwasser -
User avatar
rkosiorek
1 MW
1 MW
 
Posts: 1811
Joined: Thu Jan 18, 2007 2:55 pm
Location: Belleville, Ontario Canada

Re: Using Reed Switches For E-Brakes

Postby rkosiorek » Sun Mar 14, 2010 10:58 pm

rscamp wrote:Thanks to getting the idea from others here on the sphere, I recently wasted several hours experimenting with using reed switches to disable throttle on my trike. I ended up getting some small NO reed switches from DigiKey and making some small brackets and a lever arm out of aluminum to swing a small magnet toward/away from the switches to activate them. This seems to work very well with the Sturmey Archer drum brake setup.

Both the left and right sides are done the same way and the switches wired in parallel for a logical OR to disable the throttle on contact closure.

Here's a link to a short clip showing operation.

http://www.youtube.com/watch?v=JdtFGaINz_c

Maybe this will help someone else with a similar type of brakes or maybe someone has a better approach...


_DSC8079.jpg
_DSC8079.jpg (17.83 KiB) Viewed 2415 times


originaly posted by "rscamp" in http://www.endless-sphere.com/forums/viewtopic.php?f=2&t=16929

rick
DISCLAIMER:
We will not be responsible for damage to equipment, your ego, blown parts, county wide power outages, spontaneously generated mini (or larger) black holes, planetary disruptions, or personal injury that may result from the use of this material.
- Samuel M. Goldwasser -
User avatar
rkosiorek
1 MW
1 MW
 
Posts: 1811
Joined: Thu Jan 18, 2007 2:55 pm
Location: Belleville, Ontario Canada

Re: Using Reed Switches For E-Brakes

Postby Kingfish » Thu Jun 10, 2010 11:37 am

I came across this useful presentation last night when looking for a replacement switch.
How a reed switch works

~Enjoy, KF
* My 2WD Garden Wall
* Current ride: 2WD Disc EBikeKit (9C 2806-equivalent) / Dual Lyen 12FET / 15S6P LiPo when commuting.
* Going to California: 2011: Trip completed 8)
* Club Member: 40-mph & 101. 10k-Club: 9634 miles-to-date, 4144 as 2WD.

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed.
The hands acquire shakes, the shakes become a warning.
It is by caffeine alone I set my mind in motion.
User avatar
Kingfish
1 GW
1 GW
 
Posts: 3493
Joined: Wed Feb 03, 2010 11:23 am
Location: Redmond, WA-USA, Earth, Sol, Orion–Cygnus Arm, Milky Way. Age: > yesterday < tomorrow


Return to Technical Reference Area

Who is online

Users browsing this forum: No registered users and 0 guests