Search all of my sites with Google

Saturday, December 29, 2007

BLDC Motor Test (proof of concept) With pics!

As promised, pics (and video!) of the Cieling Fan motor rewired as BLDC.


First up is the raw pieces, showing the brown Hampton Bay motor from 1986 in a partial state of disassembly. It looked much like the other cieling fan motor in the background of the first image, which is a 1995 motor from China, by an unknown manufacturer, for Hampton Bay. I chose the 1986 Hampton Bay unit to start experiments with primarily because it was easier to get apart, having been apparently designed to be serviced, but also because it was marked as made in the USA (though the windings could have been done by a 3-year-old for all I can tell by their messiness, especially compared to the Chinese motor :-) ). I also picked it because it is a rounded case, with thicker metal and no vent holes for water and dirt to enter (unlike the other that has plenty of finger-sized holes), and I might as well go for any advantages it might have being used on the bike. It does have a lot of threaded mounting holes, but that's an advantage, since any I don't use can still have screws threaded into them to seal them up, or silicone if I'm feeling chintzy.



This motor has 9 teeth on the stator, which is a common number, as is 12, for RC hobbyists to pick to rewind into BLDC's. I'd rather have had a 12-tooth version, as there is a variation on winding called LRK that gives better efficiency, but I'll have to make do with what I have in hand. I don't like the open bearings it's got--they have no cover plates to keep dirt and dust out, and I have no way of pulling them off and replacing them with different ones (even if I had others to do this with right now).



Here's an image from during the unwinding of the outer coils, showing the old RadioShack wire spool I was putting it on. It barely fit; by the time I was done it was bulging over a bit, since I didn't wind it tightly (didn't want to risk stretching the wire; it's pretty thin).




The Chinese motor is below, though I haven't done much to it besides open it up to look at it. That was tough, as they didn't make it to be serviced, and I was afraid I'd have to damage the casing to open it. Fortunately, being very patient and gently pulling the case halves apart with two wide-blade chisels by rotating and rocking them as levers on opposite sides of the case, over about 30-40 minutes, eventually opened it without damage.




As you can see here, with it on my "test rig", it's got a different way of winding than the 1986 motor--every gap has been used to wind on, where the 1986 motor only used every other one, since the smaller gaps on 1986 were only so the inner circle of windings could be installed. I have no real idea why it's wound differently from the other one, but since it is still an AC motor with those windings, it's irrelevant, since I must unwind and rewind it differently to use it as BLDC anyway.



Something else you can see here if you look carefully is that one of the bearing case covers (which the 1986 doesn't have) is dented. That's probably why it was in the junk box of fans in the first place, since it causes it to rub and make a bit of noise every rotation--probably got annoying in the middle of the night to whoever had them originally.

The test rig itself is just a couple blocks of wood with two of the fan blade mounts screwed to it with some of the fan case screws, and a long thick nail inserted thru the shaft hole (it's hollow for wires to run down to the lamp and switches, remember?) to hold it up, to allow the rotor bell to freely spin without me having to hold the thing up all the time (it's a bit heavy, perhaps 6 pounds or more). Since it doesn't clamp the motor shaft down, both the rotor and the stator can spin, which is a problem as you'll see in the video below. But it did let me test a theory, and it was very quick to throw together out of parts already laying there from the fans. Only thing I had to step away for was the block of wood, just around the side of the house outside. The two-minute test stand. :-)

For this test, I did not yet rewind the 1985 motor, I simply cut the loose wire between each of the inner windings, so I could temporarily change the order they're hooked up in (which for AC was just series circumferential), to put them in the Wye configuration. I didn't do anything fancy, just lap-solder some wires between the appropriate winding ends, to give me ABCABCABC for the pattern.



Then, I used 6 harddisk magnets placed all in the same polarity around the circle (you'll see some appear backwards, but they're not--they're not polarized front-to-back, but rather end-to-end on the same face, which makes them poor candidates for motor magnets). I'll get better magnets before I actually make this a motor for the bike, but it's all I have right now. They're of course just close to where they should be, but since they're all different strengths and sizes as well, it's irrelevant how I place them, since I only need to see if it will work *at all* for this test.


I haven't had time to build a controller yet, but as I was digging thru parts bins, I found both a dead 5.25" floppy drive and a mirror-scanner assembly from an HP laserjet. Both of them have controllers built in to them, as single-chip types. Of course, they're nowhere near the wattage I need to run the motor I will make out of all this, but they will both run this test-stand version long enough to verify the idea. Both can run on 12vdc, with just an enable line held low on the 4 wires coming off of each one. I think the 4th wire is a "motor is at speed ok" signal, but I don't care, since I only want to see it spin at all. In any finished controller for this, I would not have a set speed anyway, it would change all the time so such a feedback would be nearly useless to me (unless I had the whole bike computer-controlled, which might happen some day long from now).



Since I couldn't get the FDD motor off to access it's hall sensors (they're under a metal plate that's held down with some really soft and tiny screws, probably locktited in place, which I stripped out thoroughly trying to undo them), I went with the easily-disassembled HP controller board. The HP board has a different and lower-wattage chip on it, but it is very simple to wire to the motor, once I carefully removed the motor that was on it. This also left the Hall sensors exposed so I could simply hold the board up in the magnet path, rather than having to unsolder the sensors, glue them in place on the stator teeth in a position similar to the ones on the board, and run 8 wires from the three sensors' 12 pins total back to the controller (4 pins are simply chained together between the sensors). Big time saver for the test, though of course it can't really be used properly like this for any real work.





Now that you've suffered thru my rambling, here's the video of it actually working, only a bit over a minute. I was mumbling to myself, really, not expecting the camera to be able to pick me up over the heater fan in the room (the central heat failed just as it was getting dark today, and even though this is Phoenix, it still gets mighty cold mighty fast in this old house). The camera itself is the same one I take the stills with, a Sony DSC-50 I got really cheap at the CompUSA closeout when they shut down here back in May, because they had it marked as defective. It wasn't defective, just missing it's charger (which I found later in a bin of assorted adapters and junk, which they were gracious enough to give me for free).

Friday, December 28, 2007

Building my own motor, brushless, at that!

Since I can't afford to buy a motor, and fixing the one I have may not be possible for the time being (as I don't have the right thickness of wire on any other motor to unwind from and rewind to the failed one), and none of the other DC motors I have is anywhere near what's needed to run the bike, I finally decided to build one, or rather, rebuild an AC motor into a DC motor.

I don't have any brushed AC motors that could handle enough current and/or have the right size or shape or mounting points on them to be able to use for this purpose, but I do have three fairly hefty cieling fan motors, each of a slightly different design. The best one is a Hampton Bay motor from 1985. It's made as a brushless AC motor, with an outer ring of staggered ferrous elements embedded in a 5.5" solid ring of nonmagnetic material (probably bismuth), which is friction-fit into the rotor "bell" that the blades bolt to, and a 9-tooth stator inside that is about 4.5" across, with two layers of coils, one with less windings than the other and also farther inside the stator (away from the outer ring).

The way it originally worked, the outer windings were series-circumferentially wound, all clockwise, and run out to a pair of wires. The inner windings were done the same way, separately from the outer set. To get low fan speed, only the inner would engage. To get medium, only the outer. To get high, both would engage (done by the switch on the lampshade section, or a wall control if you had one). Reversing it would require switching the direction of the AC input to the coils, which I guess changes the phase relationship to the outer ring staggered segments, causing reverse rotation (guessing).

The way I need it to work will be as a 3-phase, 9-tooth, 12-pole BrushLess DC motor (BLDC), run from a different, more complicated kind of controller than the one I need for the regular Brushed DC motor, of course. Fortunately, there are lots of RC Aircraft DIYers who have been rewinding CDROM (and similar) motors for years to do the same thing. (except that CDROM motors are already BLDC 3-phase, as are HDD and FDD motors. Case fans are also BLDC, but all the bad ones I have taken apart for their Hall sensors were 2-phase rather than 3, with only 4 teeth and likely very few poles, making it a lot easier to control with a very simple two-transistor circuit.

For what I have to do, if I had the PIC or AVR programming equipment (some of the PIC stuff is super-easy to build, so I don't really have an excuse for not trying it, except for not having any PICs), I could use one of the many freely published designs (including software) that have been made for RC Aircraft or Boat control, and simply upscale the power-output stage for my motor. But since I don't have the PIC or AVR equipment or any of the actual uC's to program, and no money to buy any, I'll have to design my own made from parts I already have here.

Now, I have a lot of stuff in various "dead" equipment, as the last post explained, but I don't have everything needed to just quickly adapt something for the task, because it's kind of complicated in how things have to be turned on and off, so that the batteries are never shorted out, and the windings are turned on in the correct sequence and at the right times for the right amount of time, based on how fast the motor is spinning. It's not simple, at least not for me. Especially considering that there are several possible ways to choose to wind the motor. I also have to calculate how many windings of what diameter wire will get me the torque and speed I need. More windings = more torque, less windings = more speed. I need torque way way more than speed. Also, the more powerful the magnets on the outside, the more torque, and the less current flow there is, making the motor more efficient.




I actually have a basic block diagram on a napkinsketch, but don't yet know even what parts I need to use to create the unit from with those blocks. It's a fairly simple idea, but will probably rapidly get more complex as I go. Starting with the basic Y-scheme (Wye) where all three windings (two each of A B and C) are connected together at one end, and the other end of each brought out as a single terminal for the motor to run from.... Basically, all I have to do is shift a 1 around a 3-output ring counter (like a 4017 used as "count-to-n"), then invert that output and use the two "zeros" that are now "ones" to turn on two of the windings at any one time (A&B, B&C, or C&D). That is what sequences the motor, "enabling" each power driver section in turn. The clock input for this is driven by the Hall sensors that are verifying the position of the rotor on each rotation, by sensing the change in magnetism between poles of the magnets attached to the rotor. The faster the Halls detect change happening, the faster it clocks the sequencer, which keeps it in sync with the motor speed. If the motor is forced to slow down, by new load on it or whatever, the slower the Halls will signal and thus the slower the rotors will be powered, to keep the whole thing syncronized.

The actual power control is still done by good old PWM turning all the pairs of MOSFET's on, with high and lowside drivers for H-Bridge type control, only 3-way instead of two-way like the Brushed DC motors could use (though for a different purpose).
The throttle will still change the PWM duty cycle, higher for more power, and lower for less. The sequencer above will simply enable or disable each pair of power output sections as needed to drive the right pair of coils in the right polarity, so they don't short out the input power (battery) to ground.

It sounds complicated, but it also sounds easy. I'm not sure which it will finally be. I *am* sure I will get some smoke before I am done with a prototype, though. :-P

Now, the good news is that for a temporary test unit, I have found an old HP Laserjet scanning mirror (that used to draw the images on the toner drum to be transferred to paper to pick up toner to get melted onto the paper) that has an integrated controller chip on it designed back in the 90's specifically for 3-phase small BLDC's. This one, unlike an earlier one I found on a 5.25" floppy drive, has an option for a non-crystal clock input, so I can vary it's speed. The other would not be variable, and I need that for testing the motor. Now, this chip can't handle more than about 8 watts, but I should be able to use it to drive MOSFETs that *can* handle my motor's power (which I do not yet have any idea how much it will be). It also is made to run at 24V, which is good, as that's probably the voltage I'll test the system at. It's going to take a while to modify the circuit to work like I need it to, but i don't have to build the sequencer or other stuff--this has all that built in; I just have to clock it, hook it up to the Hall sensors I will need to install on the stator, and hook it up to the power output section I'd have to build for *any* BLDC controller I'd be making. Hopefully I can install the controller chip and everything but the MOSFETs inside the motor casing--I'd like to put those in there too, but I don't think I could fit it in along with heatsinks, and because the case will be rotating around the motor, I cannot bolt the heatsinks to the casing!



I still need to actually build the motor, whcih at the moment has it's first outer set of windings removed, and temporarily rewired the inner set to be Wye ABCABCABC (for 9-tooth 6-pole) instead of the series-winding it had been as an AC motor. I put HDD magnets (which while very strong are permanently polarized thru the wrong axis to use for this, really) on the rotor bell (case) in the appropriate configuration (NS NS NS NS NS NS), spaced as evenly as I could, and used just a row of wires and a set of contacts to make a manual commutator, and rubbed the wires from a battery to that, and got it to spin very slowly and jerkily after a fashion. Not bad for "digital" operation :-P

Also, it has enough stall torque at 24v when just solidly energizing a set of coils that I cannot really budge the stator and rotor apart from whatever position they are in. Keep in mind that's with the really badly/loosely wound coils as they already were when it used to be an AC motor--I did nothing so far except cut the inter-tooth connections and reconnect them into the above Wye configuration, and they are also very far away from the outside of the stator, and the magnets being used are polarized ineffectively for this purpose, and there is a HUGE airgap between magnets and stator (perhaps 3/4"), since I am placing the magnets directly to the rotor bell's inner surface, and they are nowhere near thick enough to come close to the stator's outer edges. I would like to find a usable perfectly round and centered ferrous ring I could use in place of the orignal, and put the magnets in or on that, but I have nothing of the sort, and no tools to make one with. So instead, I am going to probably have to find very thick magnets somewhere, preferably neodymium, and preferably arc-segments, but so far I cant' even find any usable arc-segments for this motor on the web anywhere, unless I want to order a few thousand from China, where they will *make* them exactly the way I specify. I can't afford to do that.... Especially since I don't know if this whole thing will even work out.

It's difficult to do this stuff, but it is actually fun figuring out ways to do it with stuff I already have. :-) Unfortunately I don't always have the right thing to finish something, so I end up putting a lot of work into paths that I have to abandon due to lack of materials, but it is still fun to try, and to engage my brain into thinking about things in ways I had not done before.


Wow...I'm going to have to come back to this post later and add the URL's where I got my information, and pics of the motor work so far. Probably tomorrow, after I get some sleep (somehow, it's 4am, and I am wiped out).

Sunday, December 23, 2007

A Motherlode of Electronic Components

I had decided that to do some more testing of ideas, such as throttles, I'd have to actually have a working controller, so thanks to someone on a forum for scooter/bike info, I got a rough reverse-engineered schematic of the smoked Electra controller off the dead scooter I have, and that let me figure out what parts used to be filling those empty burned sockets. :-)

Once I knew that, I dug around in my old dead-boards boxes, and found a bunch of old motherboards, including an old Compaq Athlon board (from back when Athlons could burn your hands if you touched the heatsinks, and came in SlotA packages similar to PentiumII's), which had some good-enough-for-this-purpose MOSFETs, diodes, and resistors. I had to take a couple of dud PC power supplies apart for their AC-side capacitors, though, since none of the PC-side caps in them were any good (and weren't high-enough voltage ratings anyway), same thing on the motherboards.

I also took off dozens of discrete logic chips, assorted op-amp and comparator chips, other analog type chips, medium-power transistors, caps, resistors, etc, off all these boards, which will probably be useful during the design of various parts of the bike's electronics (such as battery chargers for the Li-Ion setups, turn signals, lighting controls to be run by PWM and/or other types of charge-pumps to keep them as bright as possible even as the battery runs down).

After a couple of retries (I missed a dying driver transistor the first time, and a diode killed by the overload caused by that the second time), I got the controller working, though I need to find a way to mount the outsized caps closer in to the PCB, because the extra lead/wire length is causing them to get very hot. I don't relish exploded capacitor all over the room during experiments, so this is an important thing to fix before continuing further. But it does drive the motor, and the Hall-effect sensor the scooter had for it's throttle works to control the speed.

The relay that is used to switch current to the rest of the unit past the "ignition switch" is unfortunately melted inside, from whatever caused the original meltdown/smoke of the controller before I got it. The contacts for the relay were welded together, and distorted from the heat. I pried them apart, but could not straighten them well enough to make them work properly without pushing on them with an eraser (otherwise it arcs trying to connect, then just re-welds itself). I need to just replace the relay.

Fortunately, one of the old HP laser printer boards I have has a control relay on it that can handle the current/voltage, though it's a problem that it's contacts will not line up with the original relay on the PCB. That means more wires, and heating problems, most likely. Will still work for testing, but I don't think I can depend on this controller very long.

Now, the throttle itself is physically broken, with the plastics coming apart and cracked, so I'm going to have to build a throttle; this one won't survive even if I repair it. I took the HEsensor out and verified it's a typical type. Then I began rummaging thru various PC case and CPU fans with bad bearings and/or broken/chipped blades (I've gotten a lot of broken stuff like this from PC's other people scrap out or give away, because it's still very useful inside), until I found a few that use a regular 3-pin HEsensor just like the one in the throttle, with an analog level output (some HEsensors in fans are latching output or comparator output, so can't be used for throttles--they only need to detect the passing of the magnetic pole in the strip magnet wrapped around the fanblade core of a brushless fan motor, to trigger the next pulse that keeps the fan spinning, so it's just about as common to see digital outputs on those HEsensors as analog ones, in older fans. Newer fans probably all have digital outputs, but all the new ones I have still work, and I'm not taking them apart to check. :-P ).

So now I have 3 more HEsensors to do throttle-design experiments with. I think the first one to do is the glove-controlled one, as it's got no moving parts, just some experimenting with distances, spaces, and angles of mounting for the magnet and the sensor.

Sorry no pics at the moment, though I will probably take some of the donor boards in their stripped-down lack of glory, and the pile of usable parts from them all. When I do, I'll add them to this post.

It's always fun to take things apart; even moreso when I don't have to put them back together! :-P

Friday, December 14, 2007

PDA Bike Computer

Now I have a "bike computer" courtesy of an old discarded Sony Clie (PEG-S360)

(sometimes it randomly gets a "database error", no matter what you're doing, guess that's why it was tossed), a free program called VeloAce,

and a few minutes of soldering the IR version (InfraRed) of the wheel-counter circuit together from parts I already have laying around will complete the assembly later tonite or tomorrow. I've already tested it with a remote control pointed at the IR port to verify it counts pulses ok.

Since I didn't have the cradle or cables or charger for the Clie, I had to do a bit of disassembly so I could reach the battery to put a charger on it for testing (currently just an old Nokia celphone charger). I reseated all the connections in hopes of curing it's database error message, but that didn't cure it. Doesn't really matter, as it doesn't affect it's use on the bike--mostly I want the speedometer and odometer functions anyway.

I had to use IR to transfer the VeloAce program to it, since I don't have the cable, and for that I had to fiddle with an old sort-of-mostly-working Compaq laptop, since nothing else I have has IR in it. I've got a USB IR unit from some Sony desktop that had GigaPocket on it, presumably for the Gigapocket "TV remote", but there are no drivers *anywhere* for it, so I can't use it! Sadly enough, I do also have the restore kit of CD's for that specific Sony in my restore kit library, but of course I cannot extract the encrypted files from them without restoring an actual Sony desktop of that specific model. :( If I *had* that model, I would copy the files from it, and wouldn't need the restore kit. Sony support doesn't even answer my questions about it (I tried years ago when I first got it, and I tried again the last few days, hoping for some answer, but nothing at all, which has been typical of support requests from Sony my entire PC career--great products as long as they work, but if you need help, well, you're probably screwed). Doesn't matter since I got the laptop working well enough to do the transfer--unless the program gets lost off the PDA now, I don't have to worry about needing IR again anyway.

I haven't mounted it to the bike yet, as I'm still figuring out a good mounting method that will allow quick removal but also won't fall off and is rainproofed, but still lets me access the touchscreen. Otherwise, if I left it mounted when it's outside somewhere unattended, someone would either break it or steal it thinking it was worth something.

I'm testing an even simpler version of the IR circuit I've used before for other things, and spent a few minutes drawing up,

but I don't know if the battery will last as long if I use it (just uses a CR2032 watch battery, like most motherboards use for CMOS/Clock backup--that's where I got it from, actually, along with several other parts).

Tuesday, December 11, 2007

New Pics of two versions

Well, I keep saying I'll post pics, so here are a few. First up is the Plan A 1/2 (version 1.3.1 now), using my Columbia aluminum frame bike as the base, with the portion of the wrecked steel Schwinn Ranger attached to the back end, in reverse, at the rearwheel axle points.

This is the "overview" of the motor drivetrain, with the wheel chainring cassette at the left, the derailer (currently only being used as a tensioner--it can't work the way it's designed on the left side yet as a derailer, I must first rebuild it, or build one from scratch, in mirror image) in the middle, and the motor's chainrings on the right. Currently no motor is attached, but it would be on the other side, out of view.


Here we have a couple of shots of the wheel's new leftside chainring, which because I have no machine shop available to me, I had to just build from the raw chainrings JBWelded together in a stack (which was very hard to keep aligned, even with a vise, both before applying the JBWeld and during cure). I also had to JBWeld it to the spokes and hub for the testing stage, as there is no way to mount it on here with any tools or hardware I have available, until I can build a freewheeler that ratchets in reverse so it will work on the left side. Again, need a machine shop.

View from the front (forgot to rotate the image) and outside:


View from the rear and inside (again forgot to rotate the image):



This is the rear assembly from the motor's side; you can see the 7/8" drive socket bolted onto the former pedal crank mount--I simply ran the bolt thru the socket's drive hole and into the pedal crank mount as I would have to put the crank itself on. There's a washer I milled out with the Dremel inside the socket that forces the bolt to fit exactly in the center of the hole, as it was a bit smaller than the actual square drive hole in the socket, of course.

At the top of the image is the kitty litter pail I used for a cargo container, which has proven watertight during two trips in heavy rain this last week. The angled post sticking out the back isn't an exhaust, it's simply the support I'll use to put the cargo container on (vertically) when I move it off my cargo rack at some point, to help lower the bike's center of gravity and make it easier to balance and ride when loaded. It's possible I might end up with a pair of them on either side of that post instead of a single one on top of it, too, depending on how wide the rest of the bike ends up with battery trays and such. I don't want to put too much of a cargo load behind the rear axle, though, because it will take so much weight off the front of the bike I might lose traction turning, and skid out; at the very least it is going to put more strain on the rear tire (which is already hard to take off to repair/replace; another point I need to consider and fix, so it's just as easy as it started out to be).

Just below it is my taillight/brakelight, made from a Microtek scanner attachment light--I simply cut it's cord off and wired it into my controls at the handlebar, via diodes to the headlight switch and a switch on the rear brake handle. It will be on both brakes later, but just this for now, since I always use the rear brake, but cannot always use the front brake due to sometimes having to have my left hand off the bars for turn and stop signals.

Later on, I will have LED turn signals to replace the hand signals, once I have enough super-bright yellow and/or amber LED's for the purpose. I need them visible in daylight, so there need to be more than a few of them at each position. There will be rear- and front-facing ones, as well as some on each corner for visibility to the side and from angles. I already tried just wiring up some auto lamps, and they drained the battery in only a few minutes of use, thus are impractical. LED's are the only low-current high-brightness option I really have.

The same will be true of the brake lights and regular taillights, though I already have enough red LED's to build those.

All of the turn signals will also be steady marker lamps that will activate automatically at a much lower level when it's dark enough, including when I go into shadier areas and tunnels and whatnot, just to make me more visible. The taillight and headlight will generally be on all the time anyway, even in daylight, because they are already bright enough to be visible enough to catch the eye (as daytime running lights or headlights on cars do, which I like when I see them, as they help *me* see oncoming traffic I might not otherwise see as soon due to road conditions).


This is the switchbox I'm using right now to control the lights. It's from an old Hampton Bay electronic ceiling fan control that mounted in the wall in place of the lightswitch. Two of the switches were momentary-on's, and one is a standard on-off switch, with both normally-on and normally-off sides available inside it. I'm currently only using the righthand standard switch to control headlight/taillight, but had planned on using the momentaries for the turn signals, on a 15-second timer (or thereabouts). Now I have an actual 3-position switch in it's own ring-mount off a scooter for the signals, plus a horn button (and a dinky horn), so will probably ditch this whole switchbox later, once I build a mount for the keyed switch for headlights/power/etc from the same scooter. A bit of silicone around all it's edges and the holes in the back, and around the switches and their rockers made it watertight as well, again proven by the recent rain-soaked trips.



Now here is the Plan B (version 1.2.1) bike, based on my Kensington frame. First pic is the handlebars showing my radiator-hose-clamp mount for the "headlight", which is actually just 1 of a $10 set of water-resistant LED flashlights from Walgreens I'd bought a long time ago, and rarely use this one (it's 3 AA batteries, so it's a bit long for a pocket light). The metal casing makes it durable enough, and the switch is a rubber dome, which I left pointing downward to minimize the chances of water pooling on the membrane and leaking around it.

The duct-taped item hanging by wires is the window-motor switch off the Ford. I just did a quick wrap of the tape around it to keep some water out and to hold it all together during the tests; it's left hanging so I can use it with either hand, since I have to hold the switch on against a reasonably strong spring (it's a power window switch; they're made to not come on accidentally) so my hand gets tired in less than a mile. A better switch will be forthcoming once I build the throttle grip, and build a controller instead of just either on or off for the motor.

That throttle grip will be another "key" for the bike as well: Instead of putting the magnet in a rotating cuff, and a Hall-effect sensor in the throttle mounting ring as many systems do, this will have the Hall-effect sensor mounted in the handlebar grip rubber (a silicone-filled patch in a cutout area of the regular grip will keep it watertight), and a magnetic strip along the palm of my glove will activate it. No one will be able to engage the motor at all without it, and unless they're reading this blog, won't know it's designed this way to even try a separate magnet on that sensor area. As I rotate my hand around the grip, it will go faster or slower. Just moving my hand a bit off the grip, or up or down the grip lengthwise, will stop the motor power entirely, so when I reach for the brake lever , it would take my hand far enough off the grip to deactivate the motor, for instance. I've tested the theory with a sensor, a small harddisk magnet in the glove, and a multimeter reading the sensor output, and it should work fine. The harddisk magnet has a very closely-held field, unlike the average magnet whose field can still be fairly strong some distance from it; this is the basis of how I came up with the idea to cut off the throttle just by moving my hand away.

With this, there are no "stuck throttles", which I've had happen several times testing the scooter's throttle grip. No "scratchy pots" either, which can happen with some of the potentiometer-based throttles. No moving parts, just my hand, a magnet in a glove, and a sensor glued in place in the grip. Like magic. :-)


This is an overview shot of the motor, mounting, and drivetrain of the Plan B bike. The motor is mounted on two thin blocks of wood (leftover from when I did a conversion of my waterbed's "box spring" section to a frame to hold it higher off the ground so more drawers could go underneath it), which are mounted to a piece of aluminum cut from a scrapped out patio door frame someone threw out. That frame has been very useful on the bikes, as it has an open section where the glass was held in that fits over all the thin tubing of the rear frames tightly, and can then be clamped to the tubing easily.

In this case, I used two more radiator hose clamps, and tightened them enough to partially crush the aluminum against the bike frame (which is steel), so the motor can't jerk the mounting loose or change it's angle, since I have nothing else stopping it from rotating around the tube besides the friction of the aluminum against the bike frame--it's only a test bed, so permanent mountings would be a waste, especially since I'll have to change the distance and angles sometimes for different motors, mounts, chains, etc.

The blocks of wood make mounting motors with bolt-on points easy, as I can just screw them to it with drywall screws for test runs. The scooter motor was made with such a mounting option, and that's what I used first on this bike, to a reasonable degree of success despite the condition of the motor.


A better-lit shot of the mount, from slightly above.



Here I also had to use JBWeld to hold the scooter's former wheel chainring onto the hub and spokes, though at least on this chainring I had space and mounting holes for bolts to run thru the entire wheel. Those bolts are themselves also JBWelded at each end, to add a bit more strength. Definitely need a machine shop for this kind of thing.

What would have been perfect would have been being able to use the scooter's freewheeler, but again it's made in the wrong direction to use here, and worse was that I couldn't even get it off the scooter's wheel. It's *very* tightly threaded down onto it, and the dissimilar metals may even have oxidized together--I can't see in the threads to tell until I can get the thing off the scooter wheel.

Also, because of the way the freewheeler is made for the scooter wheel, I *might* be able to mount it on the bike's left side without mirroring it first, by putting it on backwards (relative to the side of the bike it's on), keeping the freewheeling direction correct. I don't have that option with the bike-type freewheeler, because it has multiple chainrings on it, not just one, so mounting it backwards like that would mean the larger chainrings would interfere with the bike's frame, not to mention the space needed for the chain itself, and clearance for shifting the chain from ring to ring. The scooter's freewheel mounted this way would just barely allow the very large single chainring, plus the smaller-than-bike-version chain to clear the bike's frame.


Lots of ideas, not enough tools or materials so far. But I've still gotten things to work for testing, at least, even though I wouldn't expect them to last all that long in actual road use. We'll see how long they do last, though, since I really can't proceed any further with new designs without a different motor and a fair number of tools I don't have yet (and won't be able to afford for some time to come--useful machining tools are one thing it's very hard to find scrapped out).

Thursday, December 6, 2007

More work on Plan A-1/2

I still need a better motor, but at least the one I've got is still working so far as an assist when I need it.

I restarted work on the other version, which uses a whole backend of another bike for a left-side drivetrain, with a motor in place of the rear pedal cranks. Looks crazy crappy, but it does work. Unfortunately the 12v power window motor doesn't have enough torque even at 24v to turn the wheel if I have my fingers lightly pressing on the tread. I need it to be powerful enough that the brake applied to medium pressure would not even stop the wheel once it's at full speed, so it will have enough torque to actually move me and the bike along.

I've got several gears it could shift into now, though the actual shifting won't work until I can build a mirror-image derailer for the left side (no one makes one, unsurprisingly). JBWeld strikes again. :)

Oh, and I figured out a way to use the freewheel on the motor side without having to build it in mirror-image, too, though it's not as efficient as if I did the mirror-image version and used it at the rear-wheel hub like it normally is on the right side, to mount the chainrings on. Gonna take some searching for the right bolt at a hardware store, though, because nothing I have here has the right thread pitch and/or is not the right diameter or length. I need a two-inch version of the one-inch bolt that normally holds the pedal cranks on, because it has to go thru a washer, a bearing set and cup, the motor-drive-socket, a metal mounting plate, and the freewheel mechanism, then into the crank socket, so that everything will rotate correctly and freely.

I think it will be a while before I get the full version of the Electricle™ working. :)

Slime™ pulls thru again!




On a whim, I wrote the company that makes Slime™ products an email about the punctured liner, asking if they made anything tougher than that liner type, and unlike most companies I've dealt with over the years, the representative was very nice, responded quickly, actually read what I wrote and responded appropriately, even when I asked questions about who makes their tires, which I did not expect an answer to! (Cheng-Shin, which also made the tires that used to be on my spare bike, now on my main bike to test tread and shape differences from my Kenda's).

She said that they don't make any separate product tougher than the original liners, but that mine were probably an old batch from before some improvements they've made. So she sent a pair of those new liners at no charge, and also threw in a thorn-resistant pre-Slimed tube. Due to an error in their shipping department, they actually sent me a pair of non-thorn-resistant pre-Slimed tubes instead of the liners at first, but she quickly rectified that and got me the liners (which are now in my main bike's tires).

I was going to just put the thorn-resistant pre-Slimed tube in the tool pack as a spare, but as I was re-airing up the tires after installing the liners, the stem valve on the last of my spare tubes I'd put in that rear wheel ejected itself from the tube as it got around 40PSI! So I swapped it out for the Slimed tube, and instead will carry one of the non-thorn-resistant pre-Slimed tubes as a spare (it's much smaller and lighter, easier to fit in the pack, anyway). No problems there, at 60PSI.

I really don't know what is up with the tubes blowing out their valve stems, but it must have been the entire batch of them--I think I had three of them, and they all did roughly the same thing, only varying in how much of the rubber of the stem came with the valve--the last one was rubber-free, totally separated from the stem. I'm hoping I will be able to repair them and use them reliably, but I doubt it--I will have to find a bonding agent to adhere the rubber to the brass stem. JBWeld unfortunately won't do that--it'll stick great to the brass, but not the rubber, and the same is true of most other adhesives I have around here, including one- and two- part silicones of various types. I'll worry about it later, since for the moment, I have two spare tubes, courtesy of Slime™.

Saturday, December 1, 2007

JB Weld it is, then.

More good news: It still works, more or less.

I couldn't get the mounting ring off the scooter wheel, so I just went ahead with the JBWeld plan, and added some long bolts thru the spokes to help clamp it in place as well--they won't stop any real torque breakages but they'll minimize any flexing from spoke bending as the wheel turns (which might be what broke it off the first time).

I didn't realize it was 3am when I finished up, though, so I ended up sleeping till midday. Still raining all night and morning, so no big deal, there--didnt' want to test in the rain if possible not to. :)


The big moment: Pedaled up to speed, engaged motor, stopped pedaling--no crunchy sounds. It's about as fast as my comfortable pedalling speed, so it's certainly good enough--I don't need fast, just easier. Went around the block a few times, probably a mile's worth. Checked motor, it's getting pretty warm, but that was expected--it's moving about 10 pounds more than the original scooter it came off of, and it's turning a much bigger wheel (which probably masses twice what the original wheel did, perhaps nearly thrice).

Kept going, then about halfway thru the very next loop around the block (1/8th mile, perhaps), there was a zap sound, and suddenly I was slowing to only half speed or less. I stopped the motor immediately, it was *very* hot, several times as hot as it had been just before, when I had checked. Definitely something wrong.

Pedaled back home, opened up the motor casing, and immediately wished I'd done that outside--it stank of burned insulation and melted metal. At least one winding (of 16) is burned thru completely in one spot, and it is very apparent that more enamel has darkened, some of it has actually charred off the surface of the windings. Other than rewinding the motor myself, there's nothing I can do to fix it. If I can get the wiring off of one or more of my old cieling fan motors intact, I might try it, but not yet.


The motor still works, just not as fast as it would if all windings worked, and eventually more will probably go if I let it get hot again. There are identical replacements for only $40 off electricscooterparts.com, but as I said before, I don't want to buy one. I'm checking Craigslist and Freecycle to see if anyone has another old scooter like the one I salvaged already, so I can take the motor off of it (thus not having to change my mounting already built--though that's just a couple blocks of wood screwed into a section of aluminum patio door frame held to the bike by two radiator hose clamps :-) ).

Friday, November 30, 2007

I can't believe it actually WORKED!

A new version of this kludged together electric bike actually WORKED today! Of course, an important part of it came apart less than a mile into the ride, but it WORKED! And of course I could still pedal the rest of the way, after tying the broken bits out of the way. :)

And I had started over again from scratch, too, so it was something I did and thought of in less than a day. Probably about six hours of work, maybe seven. I guess it's not bad for what would essentially still be an alpha-test version of it, certainly not ready for extended use. I guess this one is version 1.2.0. :-)


Remember that non-working electric scooter which had a burned out controller and a bad-smelling motor that read as a direct short circuit? I'd presumed the motor had gotten too hot, melted the enamel on the windings, and shorted out, blowing the controller in the process. Actually, the only part that melted was the power leads just inside the motor, because the Chinese factory that made it used regular low-temp thin-insulation wiring, which they very tightly zip-tied together just inside the opening, so when the motor got hot for whatever reason (too heavy a load? I'll never know, it happened before I got it), the wires' insulation melted together (red and black make a wierd color when mixed), and of course that let the power leads inside the motor touch, which makes a dead short. That's what blew the controller out.


It took only a bit of work with some tubing and some teflon shims (courtesy of the leftover ends of my old Slime Tire Liners) between the wires at the entrance, and a little silicone around them and all the seams of the motor casing before putting it together again, and now I have a "250 Watt" water-resistant motor that actually works. It's fairly quiet, though definitely wasting energy via noise/friction (probably in the brushes). I don't really get how they rate it as 250 Watt, given that it is also marked as 24 Volts DC @ 14 Amps (168 Watts), but it might mean that it *could* dissipate up to 250 under it's heaviest load. I haven't actually tested it's no-load current or it's full-load current.


The actual part that broke was of course the hastily-JBWelded-on sprocket for the motor chain. I'd had no other choice with the materials available to me, because the hole in the sprocket for mounting is actually larger in diameter than the entire rear axle, including spoke mounting ring! So I carefully centered it on the rear wheel's left side after applying as much JBWeld as I could get to stay on it there (obviously not enough), to hold it to the spokes themselves and the very rim of the spoke mounting ring, which is all that would reach the sprocket--there's about a 2mm gap between the ring and the inside edge of the mounting hole for the sprocket.


I'd wanted to use the actual mounting ring and coasting ratchet from the scooter's rear wheel, but there's no way for me to get it off of there without damaging it, since I don't have the special tools it requires to take it off--it's different from any of the bike versions of the same thing, and doesn't go on the same way. If I could, I'd just drill out the bearings in the middle of it that the scooter wheel axle would rest on, since I don't need them for my purpose, but I have no drill press, and that's what it would take to do it and still leave the ratchet intact. Electricscooterparts.com actually sells the mounting ring with ratchet separately, but I am trying not to spend any money that I don't have to, partly because I don't *have* enough even for rent/bills past the holidays, and partly because I simply want to make this bike project a continuing symbol of recycling usable bits of otherwise broken things no one else wants (especially things others threw away!).


Tonite it was pouring rain on my way home from work, including a second trip out to go to the store for essentials, so I'm drying out now, and warming up, and will probably try working out a way to get that ring off the scooter wheel later tonite or tomorrow. If I can't, it's time for lots more JBWeld. ;-)

Wednesday, November 14, 2007

Blowout from hell

Today, I thought it was time I trued the rims on the bike, since they've been fairly wobbly, with too much space having to be left for the brake pads to not scrape on the rims when not braking, etc. That took a while, since I've never done it before, and I dont' have a truing stand, so had to settle for the on-bike method, which is not as good. Now they're straight, with less than a millimeter of rim side-to-side wobble.

I can't fix the radial wobble yet, since a large part of it appears to be the tire itself, even without the tube in it. Perhaps up to 3 or 4 millimeters radial wobble, which is likely being damped by the pneumatic action of the tube/tire in actual use, but is taking energy out of my forward motion that I'd like to keep.

I wouldn't have messed with the wheels at all, if it weren't for having to replace the tube in the rear wheel, though. During my last overnight shift Monday night/Tuesday morning (till after 4am), the bike was "safe" in the warehouse of the locked building that all of us were inside, 3 regular workers including the store manager, plus maybe a dozen or so outside workers brought in to help with the stock reset. It was fine until sometime after midnight or maybe 1am, which was the last time I actually was at the bike, getting some snacks out of it's cargo container for a break. When it came time to go home, I wheeled the bike up to the front and noticed it dragged, and that the rear wheel was flat. Didn't think much of it, because often thorn flats would leak fast until the slime plugs them up, which can take a few air-ups, but usually last long enough to get me home.

The situation with people I didn't know waiting out front was a little wierd, so I deicded to ride a bit away first, to a well-lit area in clear view of a BofA's cameras, and an intersection with at least some traffic (it was after 4am, so it was starting to pickup a bit). I took out the pump to air it up, and discovered it didnt' have a stem--it had been completely cut off! Looks like a box knife cut. Can't have been the rim cutting it during my ride, because I have silicone around the valve stem partly to hold it in place, and partly to prevent nicks and such--I checked the silicone today, and it's intact. Even if it wasn't, I filed the rim edge smooth and round around the stem hole long ago, since it needed deburring when I got it. Someone didn't want me to get home that night, and I am pretty sure it was one of the outside workers, and I think I know which one it might be--a creepy guy that was asking where I lived (which I didn't answer with anything useful).

Except that I had to ride all the way home on a flat tire, with slime making the rim slide around on the tire's bead so I had no traction, nothing happened; it just took me a bit longer to get home, and I was worried the whole way that either the rim might break (it was undamaged, thankfully), or someone might see my trouble and help themselves to me as a victim--something I never want to go thru again, having been mugged once back in 2003 was quite enough.


That, however, wasn't the blowout. *That* happened tonite, about 20 minutes ago. I'd replaced the tire and tube with new ones, slimed the tube, and aired up the new tube hours ago, and left the bike in it's usual spot in the front room near my door. then 20 minutes ago, I heard what sounded like frying eggs, then a whistle, which all freaked the dog out. I got up, then as soon as I got to the door I could tell it was coming from the bike--turned on the light and saw it was almost flat on the rear!

Closer look shows the tube blew inside (can't tell where yet, gotta take it off the bike and wash slime off of it). But I am flabbergasted that a brand new tube blew at 60PSI without any load or ride, with a new tire around it that I had checked for sharpies or defects. The rim itself I have coated with silicone inside, to help stop air leaks around the spokes and such, as well as protect against sharp edges, plus the spoke belt normally there. So there ought to be nothing to cause something like this even during a ride, much less just sitting there! Heck, the air temperature in the room is probably 10 or 15 degrees lower than when I aired up the tire, so the PSI would actually have been *less* than 60, and the tire is rated for 65PSI. The tube does not list a rating, but being a thickwall anti-thorn tube, constrained by the tire, I would not have expected any kind of problem at these pressures with no load.


I guess I'll just have to air up all my spare tubes to see if they're gonna do the same thing, *before* I have to ride them. What sucks is that I don't have time to do this before leaving town for a few days, and I will probably have to work the very next day once I'm back in town (won't know till next week, because their schedule isn't made yet, so far never till Friday and sometimes not till Saturday or even Sunday the week of!). So I will probably lose much sleep time when I get back to testing and fixing the tube problem, so the bike will be rideable for work the next day.


I have been looking at airless tires for a while now, and I tell you that if I had the money, I'd buy a set just to keep from dealing with this problem at the last minute all the time for workdays--I've had three tubes from different makers and different stores, in two different rims, which blew around the stem itself, either at the base of the stem where it joins the tube, or at the top where the brass stem and valve are joined to the rubber stem. I've had over a dozen tubes blow along seams leaving holes too large to be patched. Probably 8 or 9 that were repeatedly patched for thorns until they blew somewhere else or tore from too many holes in one area.

Another one was destroyed by a roofing nail that went right thru the Slime-brand teflon strip that's supposed to be nail-proof. Yeah, right. I guess their slime sealant works well enough as a temporary seal, but those strips are useless. Maybe they could stop thorns, but certainly not a nail, despite their pictorial advertising that it will do so (they show screws, nails, thorns, glass shards, etc, all stopped by the thing--the nail went right thru the strip, leaving a bigger hole in *it* than in the tire!). "Slime Tube Protectors" product page.

I just wish companies didn't make such junk, and instead made well-designed, well-manufactured products designed to last. Instead, it's all made in China, by slaves that don't care (and I don't blame them), and there's no consistency in any of what's manufactured. Certainly msot things don't meet advertised claims, and are very very far from ever meeting customer expectations.


I don't expect miracles, but I'd like to at the very least have tubes that don't blow by themselves with no load, at nominal pressures (way less than max), when the bike is just sitting in my living room.


Update: see my new Slime post up above this one. This is actually one *good* company that holds to their guarantees! So while I still hold many companies in contempt, Slime isn't one of them. I'll freely continue to spread the good word on their products. I'm not removing what I posted in this entry, because it was still true for me at the time I wrote it.

Thursday, November 8, 2007

Minerva sprang from the head of Jove...thus 1.1.0 is born

While on the phone talking with Steven about other things, while marking out the metal pieces to make the mounting brackets I spoke of before, I had one of those "Minerva" ideas, the kind your brain has worked out in a fair amount of detail, then springs it upon you fully formed.

I was already going to use a part of the Murray's rear frame on the *front* wheel to hold the motor, gears, shifters, etc, but wasn't doing that on the back because it wouldn't really fit the way I wanted it to, and wouldn't mount right. I'd also found that that particular frame part was too bent up at the wheel mounts to work properly with a full wheel on it anyway (wobbled too much, and the metal was soft from the wheel bolt U cutout to the rear derailer mount).

However, I have a stack of old bikes/frames now, and at that moment I was looking at the wrecked Schwinn Ranger, which is a 24" bike, not a 26", but could be modified to work, and is a sturdy frame on the mostly-undamaged back half. It's derailer mount is bent a bit, but the U-cutout for the wheel bolt is not. I wanted to think about it for a bit, so I waited until I went with Steven to Bike Den, where I got one tool I needed (freewheel remover) and though they were out of the crank removal tools for sale, they had the one they use in their shop, and removed the cranks for me, from that Schwinn frame.

After I got home, it was a bit late for power tools, so out comes the hacksaw, and I got everything from the seatpost down to the crank/pedal bearings on back off the frame in one section (just like I did off the Murray before). Now, the way I want to mount it is to the wheel bolt itself, the same way the wheel is already mounted to the bike itself, but in reverse--the seatpost will be *behind* the tire instead of in front of it.

However, to do that, the wheel end of the frame piece I'm adding has to be expanded to fit *outside* the actual bike frame at the same point (because they're the same width, naturally, before modification).

I've got a 2-ton hydraulic pump jack from when I had to fix my mom's car a fair bit, so I dug it out and wedged it between the wheel mount points on the frame piece I'm adding, and jacked it apart about 1/2", just enough to slip snugly over the existing frame. This still leaves me enough wheel bolt to tighten the nuts down on securely, which holds both frames together as well. The seatpost top has a welded-on clamp for the seat itself to slide down into the tube and be clamped by, and I took the bolt out of it and am making a ring that will go thru that and around the tubing my rear cargo rack is made of, to secure the frame section from moving up or down.

Now the motor will be mounted along the right side of the frame section, just between the back of my normal rear derailer and the crank mount of the frame section. The 15/16" socket I needed I could never find in the right kind that would not be too loose, and the 7/8" sockets are all too small, and I couldn't find anywhere that had the size between them in 12-point star (only in hex). So I ended up filing the gear teeth in a couple of places just a teeny bit (less than a millimeter) on the motor's gearbox output gear, and now it fits very snugly in my original 7/8" socket, but comes out if I need it to. I bolted the socket into the crank mount on the right side, using the same bolt that held the crank on, and it tightens in the direction it has to turn to drive the wheel, so it should never come loose in operation even without loctite and such.


I *would* like to find a 7/8" socket that has a larger drive square hole in it; I think the one I have is 3/8"; if I could use something a hair bigger than a 1/2" drive (which they don't make) it would fit onto the square crank mount and guarantee not to spin in place as the motor torques against it (in "lab" tests so far, it hasn't been a problem, but no road tests have been done yet since the bike's not finished enough). I'd just need to get some washers to stack onto the crank mount to hold the socket against the bolt's underside to keep it tensioned against the motor's drive gear (otherwise it would end up sliding down the crank mount away from the motor and no longer engage the gear, as the crank mount's shaft is about as long as the socket's depth).

The 3 crank-chainrings are mounted on the left side, to line up with the sprocket that's been mounted on the left side of the rear wheel. It's still little-to-big, but closer to a 1:1.2 ratio instead of 1:3. I have a modification to fix that and add the absolutely necessary freewheeler to the left side, but I have some other work to do before I can build that. It will require cutting the axle-shaft (not the bolt, just the wheel portion) of two identical rear wheels, and taking the freewheel half including the spokes and such (not the rim) from one, and replacing the left (non-freewheel) half of the other wheel with it. I'd *like* to re-weld the two halves of the axle-shaft back together, but that's not something I have equipment for yet, so the best I can do is a small ring of pipe (or something) JBWelded across the two pieces to keep all torque forces as equal as possible from one side to the other. Once that's done, I *also* have to modify the freewheeler on the left side so that it works in reverse (which may require machining a new ratchet ring), otherwise it won't do me any good (since it will freewheel in the forward direction, not the reverse, as it must do).

There is no place the wheel's derailer can be mounted on for the right side currently, because of the size of the wheel's sprocket/chainring, so for the current tests the chain has been shortened to exactly fit the distance between the wheel's chainring and the motor's chainring (since without the wheel's derailer, there's also no tensioner). I'll re-add the chain back into it once I have a freewheeler in there, since it will then be small enough for the derailer to work normally. Derailer must be mounted "upside down" relative to the way they normally would, so it works in the right direction of chain path to perform it's job properly. For that reason, I may only use a wheel derailer, and leave the motor derailer off entirely (since I would need to weld on a few inches of post *below* the crank mounts in order to have a place to mount it). There are other "little issues" I have to work out, too, mostly clearance of parts to each other.

One more thing this frame section gives me is posts for a second set of rear brakes, which I will likely need to add due to the extra mass from all the motor/battery/frame/etc so I can have the same stopping power I did before. But those will wait until I need them, since they add even more complexity to the system (more cabling, figuring out where to put the Y-cable splice to the rear brakes, etc). Normally, I'd want better front brakes, but since almost all the weight is added at the rear wheel itself, or behind it, it will force the balance to shift less to the front during braking, especially on level surfaces (where I usually ride). So more rear braking is ok in this case, though I will eventually probably improve the front braking as well, in some other way.

So, at the moment, it's mostly bolted together, with some various mounts in the process of marking and making, again hoping by this Saturday I have a testable v1.1.0.

Sunday, November 4, 2007

Brake lights and horn

The Electricle™ has a brake light now. And a horn.

The light itself used to be a Microtek 35MM film adapter/backlight for a scanner--I just put a red stagelight gel on it, and a bit of silicone to seal it against splashes. Bolted it in place of the clip for the light I've been using on my helmet (which acts more or less like the 3rd light on cars/trucks, making me just a bit more visible, which is always good).

The light already runs on 12vdc, so I just hooked it up to the switch I've now got on the rear brake lever, and (via diodes to make an "or" gate) to the headlight switch, so when I turn on the headlight I get the very bright solid taillight, or when I don't have the headlight on, I get a brake light when I even lightly pull the brake lever, before the brake actually engages, so I can indicate my stop before I actually begin braking.

I was going to put a few more diodes into the taillight circuit so it would be dimmer than the brake, but I knocked over my bin of parts and didn't have time to sort them out yet tonite, before makin' some food and getting to bed (and posting here while I eat first).

Horn's not real loud, but it'll getcher attention if I need it to, most times. I don't need one often, but I have *really* needed it those few times--for some reason my yelling voice isn't enough, but a horn people are sort of conditioned to respond to by paying more attention for at least a moment, looking around them. Maybe it will save me from a scrape someday. It only weighs a couple dozen grams, if that, so not much effort to carry around.


LTL on THEMAnime pointed out that I:

  • "might try and find an LED trailer light. They make smaller rectangle lights that are already set up for dim and bright, and because they are LED they don't take up much power."

I've checked out those kinds of trailer lights, and they're kind of pricey for somebody that still doesn't have a fulltime job (not for lack of trying), but does still have fulltime bills. :-) I don't quite have enough super-bright red LEDs to build one yet, though the circuit is really easy (you just light up more LED's for the brakes when using the taillight, or all of them if the taillight isn't already on).

The scanner light was two bucks (along with some other junk at the same time, some of which I've already used), and the diodes and other parts all came out of the same old laser printer I got another motor and controller circuits from (still in the design stage), which cost nothing because it was given to me.

One more thing about the scanner light is that it appears as a single non-directional flat red "plate" of light. All other lights I have seen "pre-made" are fairly directional to the rear, especially if made from LED's. So for cars not right behind me, I'm not nearly as visible on an otherwise badly lit road, especially if their headlights are not pointed at me or my reflective stuff. With the "plate" of light, if they are anywhere up to about 85 degrees from straight behind me (to either side or above!) they can still clearly see my taillight/brakelight (though they might not be paying attention, they *could* see it if they were!).

That's the single overriding reason I built this one this way.

As a bonus, there's plenty of room in the plastic casing to hold rows of amber LED's on each side above the red bar, to make turn signals in, and on the ends facing left and right to put marker lights in (probably red LED's with diffusers). The whole thing is still pretty small, fitting down under my cargo bucket, just about even with the top of the wheel.

Saturday, November 3, 2007

Alpha Test Partial Success

Well, it works, sort of. The problem is that in my haste to get *something* working so I could at least test the theory, I forgot the sprocket-tooth ratio bit, and essentially have them reversed from what I need to get any speed out of the motor (though I could get plenty of torque this way), with the largest sprocket (from the old Murry Biotech's pedal sprocket assembly) on the left side of the rear wheel, and the smallest (from the Biotech's old rear wheel entire sprocket/axle/etc assembly) at the motor end.

Thus, I get a speed at which I could probably crawl faster than it could move the bike. Ah, well, I basically still need to get tools to take apart the rear-wheel sprocket assembly, so I can take out the very smallest sprocket from one of the many I have, and attach that to the rear wheel's axle instead of the very large sprocket I have now, and use that very large sprocket along with two or three more of stepped smaller sizes in a new sprocket assembly on the motor axle.

I made a "clever, yet simple" fix for it temporarily, by simply bolting a larger sprocket to the largest of the motor-axle sprockets, since I haven't got the mechanics setup for shifting anyway; this will at least give me a usable speed for testing (though I know I could easily ride faster than it will go).

I am still making semi-permanent mounts for all the motor and axle stuff, so all this will be tested in v1.0.1 sometime after Monday (last day of work next week, only get two 3/4-days this time).

Friday, November 2, 2007

Bicycle Bonanza

Tonight I was working more on the Electricle™, and found the chain was a few links too long to possibly work around. Easy to fix, with a simple ten-buck chain tool, which I didn't have. So I took a short ride to a bike shop that I hadn't been to before, mostly because they would still be open when I got there, unlike any others in easy range.

Got the tool, and while talking to the shopowner about getting certain parts (which he doesn't carry), I mentioned that I sometimes get what I need off scrapped bikes or ones from thrift stores, garage sales, etc. He just happened to have gotten a pile of them dropped off that he hadn't looked thru yet, so we went out back and he decided only one of them was worth doing anything with, and said I could do what I wanted with the others.

I called a friend with a pickup truck, and we took the lot home. A couple were pretty bad, one having been in a horrible wreck at some point (when I got a good look at it's front fork, I got the shivers, because whoever was riding it can't have gotten away unscathed--it looks like it was hit by a car, at the very least). Three are actually almost intact and probably could be ridden after a bit of oiling and tightening up of things. Three more are almost just a frame with some bits left on, but useful bits. Another wrecked one has a slightly bent frame, but not so bad on the rest of it (though no wheels/rims).

There's two of them with the same SRAM Gripshifters I use on my bike, and another that uses a different make of Gripshifter I can still use. Two of the working derailers are indexed and can be used with my bike; a third is also indexed but is badly damaged (off the first wrecked bike). All the brake levers are good, and most are metal, instead of plastic. Most tires are junk, some dryrotted, but some rims are nice enough to use. I dont' like any of the seats, even the ones that aren't sunrotted. They're all hard and/or narrow.

The best part about all the frame-only bikes is that they are small ones, pretty much exactly what I was wishing for today to use as a mount for my motor and gearing, under the cargo rack. Too late today to actually do the cutting and stuff, because of the noise, but tomorrow morning I'll be continuing the work, and hopefully will have a testable setup by Saturday.

Then comes alpha testing, where I get to completely redesign everything based on whatever horrible things happen to it when I ride. :-)

Wednesday, October 31, 2007

Getting A Move On

I had another idea about how to mount the motor and drive the wheel, since I have had problems getting access to tools to try the first one, but I had to think about it for a long while to see if there was any stupidity involved, or any good reason not to try it. I thought of a couple of problems, but found a solution to one, and a temporary fix for the other, until I have access to a welder (and hopefully someone skilled at it's use).

It will put the drive back on the rear wheel, but still on a separate chain, on the *left* side, with a new sprocket mounted to the left side of the rear axle. That's what I need the welder for, but for now, I'm using JBWeld, which may be ok for tests, but I don't know that I could depend on it for very long, given the stress it will undergo.

The second problem I had with this way is that it would require me to physically pull the motor away from the drive socket to disengage it from the chain if I want to move the bike backwards, because the motor uses a worm gear inside, so will not turn at all when the chain runs in reverse (unless I *power* it in reverse, which the switch can do if I wire it up, since it's the window control out of the door).

The solution was to not use the bike-pedals for the sprocket mounting, but rather to use one of the junk bikes' rear wheel sprocket-and-axle assemblies, minus spokes and rim. When it's mounted backwards like I would need it to be in this case (to put the sprockets on the left side), it would make the ratchet inside the sprocket assembly work in the correct direction to let the chain move without the motor moving (otherwise not possible). This is the same thing it would have done when actually *in* the rear wheel that I was going to put on the front of the bike in place of the front wheel, in the original design, it's just going to be at the *motor* end of the chain now.

This would still give me bearings to rest the motor shaft & chain sprockets on, etc, and also give me the ratchet ability of the rear wheel so that I can still reverse the actual rear wheel without worrying about the motor.

So, now, I am using the rearwheel sprocket from the scooter's corpse, bolted to the former spoke mount on the right side of the above-mentioned former-wheel-axle to let the motor's gear mesh with it. It's just coincidence, but they do mesh just fine, and thus the motor can drive the scooter's sprocket, which drives the axle, which drives the sprockets on the left side of the axle, which drives the chain that then drives the sprocket JBWelded to the actual rear wheel axle, which drives the rear wheel and makes me go Vroom.

I hope. :-)


Because of the stuff off the scooter, I have enough parts I am testing out the theory of my alternate drivetrain, the one on the left side of the rear wheel, since I can't test the original design I came up with. I couldn't safely battery-weld the sprocket onto the bike's rear wheel, so I JBWelded it instead for the testing (it will still need to be permanently mounted if this works out); it ought to be hardened enough to remount the wheel on the bike tomorrow morning (it was applied around midday today), then usable by the next day, I'd guess. I still want to twist some good steel wire from the spokes to the sprocket's bolt holes where they line up in a couple of places to help absorb some of the torque/etc that is going to be generated by moving the thing with the chain, but I know it won't hold for all that long with just JBWeld, despite how hard that stuff gets. :-) This current idea still uses the window-crank motor off the Fort LTD, since that already has the reduction gearing built-in. I don't have a way to mount a gear onto the Kodak motors yet (they just have a partially-flat-sided smooth round shaft).

After the rear wheel is remounted, I have to determine the exact chain path and thus where I have to mount the motor, axle, and derailer/tensioner, then build brackets for each. If I'm lucky, I will be able to actually test drive it by Saturday, though I don't expect it to work the first time (probably need a total redesign once I figure out what stupidities not to do :-) ). I also will only be able to drive it directly from battery, as I have no controller built yet (and I can't fix the ScootNGo's, because they cleverly sanded off the markings on some parts, and others were burned too badly to tell). But at least it will be progress, which I am starting to need, with the job search and interviews happening recently.

Parts is Parts!

Since I had yesterday, today, and the rest of this week off, I biked down to Apache Reclamation to see what they had that might work for my purposes. There's a ton of stuff that probably would, but I didn't buy anything except a couple of DC motors that they had a whole bin of still in their wrappers (from Kodak, 1990 date code!), as experimental spares. I'd love to go back there again with a definite idea of what I need, measurements, etc, if I only could figure out exactly what that was. :-)

I also picked up a used ScootNGo electric from Deseret thrift store--unfortunately the motor smells and looks like it cooked at some point, and took several parts on it's controller with it (I wish I could have detected that smell before getting it; I might not have). However, it does have two working 12v batteries, about 15AH if I recall, so that'll help me get the test phase of the project going. Also has handlebar-mounted throttle, turnsignal switch, etc, all of which I can adapt to my bike. If I bought all the parts new that I can use off of it, it'd cost me about twice what the whole thing did, so it was worth it.

And Now I See!

Or rather, everyone can easily see me. While digging thru my boxes for other stuff, I found some jars of DayGlo paint I'd bought years and years ago at Hobby Bench on the clearance table, and decided it would be a good idea to make myself more visible. As a side effect, it also makes the bike junkier looking, thus potentially less of a theft target (though I've seen some pretty stupid stuff thieves choose to steal, so it might not matter much). It does make it pretty unique-looking, and highly visible, neither of which is a good thing for a theft target if they've got to ride away with the prize.

I deliberately did not use any particular care when painting it, as I only care that it is highly visible, not what it looks like, at least right now. I used bright yellow for as much of it as I could, till it ran out, then orange and red for the rest. If anyone ever hits me in daylight and then says they couldn't see me, I want to see their lens prescription--it better be so bad that they shouldn't even have a driver's license, because I think this bike can be seen from about 1/2 mile away now. At least. :-P



Seriously, it *has* already helped. I've had a number of cars that typically pass me in the morning on the way to work or the afternoon on the way home, which I easily recognize and am sure are the exact same ones, which before the paint job would pass so close to me I would be moved around by their air shockwaves, but now they (along with most others) move into the left lane where it exists, and pass as far to the left as possible in the same lane when there is only one. Also, people stopping for stop signs on the cross streets to my path would often not wait before, and I'd have to slam on my brakes to keep from hitting them as they went ahead anyway. Now, many many more of them wait till I'm past before going ahead (as they should per the law and safety reasons). I've even been thumbed-up by police and others for the "anti-collision paint job".

I'm still looking around for a really good deal on a roll of that reflective tape, which will help at night (I already have a brighter headlight than some motorcycles do, plus flashing taillights, and plans for more lighting I haven't had time/materials to build yet). Also, one of those vests like traffic control and construction people often wear, that is both DayGlo yellow with orange stripes, and has those reflective stripes on it in all directions.

I bought a new helmet (my other one recently had it's last impact that would let me trust it), and this time got an all-white one that I put some orange DayGlo stripes on. Again, I've gotta put my headlamp and backlight on it still, but it's very much more visible than the old one day or night.

Progress at last, after a fashion

Wow, it's been a while since I was able to put anything up. I got a part-time job at Petco that took a bit of my time, plus I've been spending more and more time trying to find a good-paying job to pay bills and rent with (the Petco job won't cut it for long, but it's better than nothing). I have been working on the bike project as I had time, just no real time to write it up coherently. Also, sadly, no time to draw it up, either.

First, a bit about cargo containers. I had been using the baskets you can see in the pics of my Columbia bike, the blue and white one. They work, but people can steal stuff out of them just by reaching in, since they have no lids (and even if they did, it's still just wire mesh, and have no security at all). Also, not weather proof, and can't hold small items without packaging them up first (which takes up valuable space and weight for just the packaging!). I've planned to do something about that for a while, but hadn't got round to it yet.

During the last few weeks, I did finally do something. I took the baskets off for now, and built a tube steel framework above the rear wheel like a regular cargo rack. It's made from the remains of an old computer desk (most of which I had already used to mount my window air-conditioner with early this summer). I have been collecting those rectangular plastic pails with lids that kitty litter comes in, both from my sister and from a friend, and finally figured some ways to mount them up.

Currently, only the one on top of the cargo rack is mounted, of which there will be pics as soon as I have time to dig up the camera and stuff (I'd've liked to take pics of the construction process, but I was in a hurry to get it done at the time, and forgot). I'll probably also include pics of the pieces, since I have to take it apart for some refits and maintenance anyway. The one I have now is mounted with the bottom of the pail toward the bike seat, long side horizontal across the bike to give the widest platform. It's just a bit wider than the rack, maybe 1/2". I bent into L-shapes a pair of gate-lock hasps from Stanley that I salvaged from the stuff CompUSA was throwing away during the closedowns, and bolted them onto the left and right sides of the lid to give me a way to lock the lid on reasonably securely (it's still possible to get into it, but it would not be fast and easy, and the simple sight of the padlocks on it would probably keep most thieves away from it).

I put the battery for the lights in there, up in the top front of it, where cargo generally wouldnt' be anyway. I used to have that battery zip-tied to the basket in front, which was not only insecure (more than a few batteries were stolen off the bike previously!), but also exposed it to direct sunlight, which I doubt is good for it. Now it's inside the white plastic pail, which should help reflect more energy away from it (relative to it's dark blue and medium gray battery colors). I considered building the charger into it, too, but I use the same charger for most of my gel-cells, so I'm not including it yet (it doesn't weigh much, so that's not a real consideration).

So far, the container has worked well, and allowed me to carry all the tools with me that I would normally need to fix anything, which I couldn't do before (because either people would steal them off the bike or I'd have to carry them inside with me whereever I go, which is not always possible--many places don't allow backpacks and stuff, because of too much theft, which I certainly understand). The same applies to water, snacks, etc, that otherwise I couldn't carry. The only change I had to make to anything on it was adding lockwashers to the screws holding the cargo rack on, as the screws vibrated loose (though not out completely) during the 25+ mile ride back from an interview in Tempe.

One other thing the container lets me do: use the Bike-on-Bus racks all the Valley Metro buses have. The baskets made the bike too wide to fit if there was a second bike, but with just the one rear container it's the same as any other bike, and fits fine. It's significantly lighter, too (the baskets are heavy steel wire). I don't know the exact weight difference, but I had a hard time picking it up before, and now it's easier.