Alright guys, Bosch cables turned up - now things can get going! I'll get messages out this evening. Photo below of a completed device mounted to its shipping board, along with the front cover of the user guide.
Exactly right yes; LPP, lights, HPP, doesn't really matter. I think with the lights ports there may be some built in logic to conserve the last few percent of battery power.
What a strange response from Canyon... I'd be checking at another dealer if you can, perhaps a Trek if there's one local to you? Otherwise, you could instead request one of the light ports to be activated, or the HPP (high power port). Same cable I believe?
Apologies for the silence on the build of these devices lately, still waiting on the Bosch cables. Once they arrive it's a quick final point to solder them in place; all other components are completed.
Once complete, I'll post some final photos and begin reaching out to those first ten users...
Hi Canyon,
I believe the LPP is disabled by default, so safe to say that if you haven't requested your dealer to turn it on, it's off. To confirm you could carefully probe the port with a multimeter and check for 12v, but it's very small in there. Best just to approach your dealer and ask for...
Finally, most of the components turned up for the first batch of Megabobras. Still waiting on the Bosch LPP cables, but the remaining parts are assembled and are waiting to drop the cables in.
There have been a few upgrades since the original tutorial. These models all now run on the RP2040...
That probably doesn't matter, as in practice that direction would change depending on the random orientation the rim magnet is installed in - spin it 180 and it'll reverse.
I put together a H Bridge type circuit to reverse the current running through the coil, accounting for the positive to negative pole change of the magnet as it passes. Here's a quick demo of the coil output.
First attachment shows running in positive direction for one second, then off, then...
Hi Mervious,
I ran the same setup through my test bench but couldn't reproduce the same as you found above.
First attachment shows the module running in Setup mode; constant pulsing to produce 15kph.
Second shows Normal mode. Since this is on the desk I had to trigger the reed sensor with a...
That's quite interesting I have to say. Maybe just triple check your reed sensor, try rotating it perhaps? If it were getting stuck closed occasionally it would produce this behaviour.
If not, It could be something to do with the magnet duration variable. I've got a setup on the bench at the...
Regarding the magnet staying on at lower speeds - the pulse length is proportional to the reed time the reed switch is triggered, meaning the pulse will grow at lower speeds and shorten at higher speeds. Perhaps in those cases above your wheel happened to stop at or near the magnet?
Thanks very much for the update Koekie. I wonder if regardless of the code, the higher delay setting, ie speed limit moved up to 50kph, is enough to expose it simply by unrealistic power consumption. Power provided by the motor to sit at 50kph will of course be significantly higher than known...
Hi Mervious,
As Ashley mentioned, I finally got around to updating the code in the original tutorial to include the 2sec max magnet time. Also added the setup mode along with some other debugging stuff. You can just ignore the LED and setup mode content - you should just be able to drop this...
The first batch of ten Megabobra's is spoken for. Assuming they're positively received, I'm happy to build some more if there's further need. I suspect their might be given Ashley's success with the standard speed sensor (ie non rim magnet) here ;) ;)
For those of you who already making up that...