Some additional photos of my test setup as promised:
connections to the L9110s:
Connections to the arduino to pins 7 and 8 per the code. Note that I'm simply using the 3.3v output in this case since this test unit is always powered by USB. In the unit in the bike, it's using the 5v...
Let me post back later with a photo of the wiring from my spare bench setup so you can compare against your own. At best for now, all I have is a photo below of my current unit that's presently tucked away in the bike, but you can't see much of the L9110 in it!
Your connections should be...
Hi PeacePirate,
I haven't published the new code with the L9110 but it's easy for you to incorporate. PS I'm using a single L9110-S (S for surface mount) rather than the whole PCB you have above. You can see pair of them on your PCB:
All you need to change in the code is:
add the pin...
As for #1, I suspect the first thing that would happen is that you would get a magnet/speed pickup error! Not sure what you would hope to achieve with this though? To the motor, it would look like the wheel is moving very slowly, as the magnet remained visible, but this wouldn't align with the...
In the case of setup mode where it's just a constant repeating pulse, I set a desired speed in code (15kph typically) and then solve for required wheel RPM, milliseconds per revolution and pulse time, being the duration the electromagnet is firing. That pulse time is simply 1/12 of the...
Update on the reversing pulse:
Good news is that I've completed the code changes to run the L9110 driver. These first included the rewrite of how the multiplier behaves at low speeds. In the past, the first five wheel revolutions from stopped just pulsed the coil in unison with the passing...
Yes the dashed line is the field produced by the coil. In fact it switches much faster than the what's induced by the natural analog motion of the rim magnet - I was actually thinking of slowing it down! You can see it's just about vertical vs the slight slope in the blue Bosch line as the...
Quick update. Using the L9110 driver (thanks @tatane for the tip on this) I'm able to produce a reversing coil signal with exponential growth and decay which very closely matches the original Bosch rim magnet profile. Snip below using some data captured using my phone.
I'll incorporate this...
Eeep I'm on Software version 5.17.0 on the drive unit! App version 1.17.2(1037).
I'll spend some time to integrate the + - pulse behaviour on my test bed. I'll come back with an update.
I don't think I'm brave enough to update the drive unit firmware though!!
Anything's possible of course but I'm still a bit skeptical of this. I just think there's too many variables that are unaccounted for. And sure, Bosch want to demonstrate that they're policing the max speed rule for a given market, but surely not at the expense of false positives being thrown...
No not at the moment. I got the driver in case I encountered trouble but didn't need it. I might give one a go on my bench setup to in case I'm actually a long way behind on the firmware...
Hi Frank,
Let me check the version tomorrow to confirm, I'm not sure off-hand, but it must be an older one as I'm not facing those problems.
I actually picked up some L9110S stepper motor drivers to accommodate a reversing pulse but had the need to get it setup. You might find using something...
Hi guys,
I've been running my updated setup with hall sensor and new coil since early December and it's working well. Changes from the original design in the tutorial are as follows:
Addition of small OLED display with two buttons to show simple ride stats and allow for user configuration of...
Yeah I figured the same. @Karamba! is on the money: I think what we need is a frame that will suit a full-ish power motor but with a smaller battery. Say for example the Kenevo SL to suit the M820.