Pedal Sensor

djson280

100 µW
Joined
Dec 10, 2021
Messages
8
Hello all I am new here.

I have an electric bicycle which has a pedal sensor which starts the motor when I start pedaling.

I want to connect this sensor so that it is always on.

So that the motor is always running.

I am trying to teach my dog to run next to me when i'm on the bike.

He is really frighted of the bike and pulls me off the bike if I try to ride it.

So i want the bike to go at walking speed without me pedaling.

I have problems with my back and after a few seconds of pushing the bike, I get pain in my pack and after 2 or 3 minutes I can't stand the pain.

Hence why I have an electric bike.

of course a few minutes of walking next to me and the bike, is not helping the dog to get used to walking with the bike.

So i want the bike to drive itself for around 10 minutes then as the dog gets used to it, i will increase the time duration until he is happy to walk along side, then I will try riding the bike.

here is a photo of the sensor and the connector.

I think the connector is a 4 or 6 pin that pulls apart.

the connector on the rear wheel is a 6 pin.

once i have the sensor running the motor all the time, I will control it with the speed regulator on the handle bars.

Thank David
 

Attachments

  • WhatsApp Image 2021-12-10 at 10.52.44.jpeg
    WhatsApp Image 2021-12-10 at 10.52.44.jpeg
    109.8 KB · Views: 265
  • WhatsApp Image 2021-12-10 at 10.52.11.jpeg
    WhatsApp Image 2021-12-10 at 10.52.11.jpeg
    142.5 KB · Views: 265
djson280 said:
So i want the bike to go at walking speed without me pedaling.

Does the bike have a display with buttons on it? If so, it may have a Walk Mode that gets engaged by holding down one (or more) of the buttons. This typically makes the motor run at a constant speed equivalent to typical walking speed, and you can stop it by pulling a brake lever or turning the system off or using the same button combination again.


So i want the bike to drive itself for around 10 minutes
Are you going to be holding the bike up during this (just using the motor to do the pushing)? If not, and you want it to just move all by itself while you handle the dog, you're probably going to have to lock the steering to keep it going straight, and add training wheels to it to keep it from falling over.


I think the connector is a 4 or 6 pin that pulls apart.

the connector on the rear wheel is a 6 pin.
The rear wheel connector shouldn't have anything to do with the pedal sensor (PAS). The PAS itself can be one of a number of types:
https://ebikes.ca/getting-started/pas-options.html
If it is the simplest 3-wire option, then it just outputs a pulse every time a magnet passes it; there may be one or several magnets on that ring on the pedal crank shaft.

This type is easy to bypass, by building a simple 555 timer circuit that pulses at the same speed range you would be pedalling at. You would just put a button on the handlebars (or wherever) that you hold to keep it pulsing (so taht if you have to let go it doens't leave the wheel still spinning). There are many websites including http://allaboutelectronics.com and http://www.555-timer-circuits.com/ that have examples and calculators for the external parts needed, and the 555 chips are cheap. This page shows the Astable mode you would be using for this application.
http://www.555-timer-circuits.com/operating-modes.html

It can also be done with other circuits; anything that creates a continous pulse train that you can set the frequency and pulse width of will work, but the 555 is easy and well-documented.

If it is a 4-pin dual-signal type, then there are versions of that that can also be tricked by a 555 timer circuit; you might need two of them though.

Other versions it depends on what exactly the signal looks like as to how to trick it.


once i have the sensor running the motor all the time, I will control it with the speed regulator on the handle bars.
Does it already work this way? Meaning, when you pedal, does it then let you control it with the speed regulator? (throttle?)

If it does not, then changing it so that it does will likely require changing the controller / system out for one that does allow this behavior.
 
Hey David

It sounds like you would like to be able to control the motor with a throttle without pedalling, most controllers will have a connection for the PAS sensor and a throttle, the throttle will allow you to control the bike without having to pedal, most controllers with PAS capability have an LCD where you can set the strength of the PAS, it that way you could pedal slowly with your dog! Their both three wires and plug into the controller. Good luck.

Andrew
 
Hello all

Thanks for the input.

No walk button, had that on my last bike, but not on this one.

Training wheels, great idea, I am looking into making them right now.

So what did I do in the end???

I took the chain off, so that the crank can be turned with a little cane that I rotate ever couple of seconds.

The dog is much better with the bike, and now we go down the lane with him, pulling me most of the way.

He just needed to get used to the bike, now he trusts me and accepts the bike, all is good.
 
Back
Top