I'm having some issues getting my megabobra working. At first I printed out Koekie's holder for the winding and filled it out with 0,3 mm wire (I managed to get approx. 100 turns into it before it was full). I'm using 5,2V for the whole system and the electromagnet was giving out 3,2 ohm of resistance. At first I added 15 ohm resistor to it, but it was really weak. Then 11 ohm and then 6,7 ohm (measured). With 6,7 ohm resistor, total resistance was 9,9 ohm, meaning 0,53 A / 2,73 W. I made my own code for finding out the location for the magnet (Koekie's seemed a bit complicated for the purpose) but the speedometer shows nothing but 0.0 for speed.
The magnet felt still quite weak so I designed and printed a bit bigger "winding holder" which had 19mm inner diameter for the wire and same outer diameter of 35 mm, allthough the "length" of the space for wiring was constant, needed to print with supports. I managed to get approx. 200 turns into that one, estimated by the resistance of 6,3 ohm
Online AC magnetic field calculator for solenoids and coils. It is the most advance and most accurate method for calculating magnetic field. It also calculates many important coil design parameters such resistance, inductance, wire length and more.
www.accelinstruments.com
I added 4,7 ohm resistor with that one, making the total resistance for the magnet 11 ohms. That means 0,47 A / 2,46 W. This magnet feels a lot stronger already, but when I went up to the bike trying to find the correct location, I only see 0.0 km/h. But this time I got twice the problem showing that the magnet is too strong! So some improvement I guess.
The question really is, is the location for the magnet really that accurate, like in under 1 mm it goes from working to not working? Because I feel like I have checked the whole area with 1 mm movements and keeping the magnet there for some seconds. I have especially targeted the area shown in this video:
Attached some photos. I took the motor out from the bike to have good access to the motor. But still no winnings yet...
The location where the "too strong magnet" errors came shown in second photo.
And then the megabobra shown in third photo, just in testing setup still

will be made cleaner if / when I get it working.
Attached also my codes that I have been using. Testing code for finding the location (giving out pulses without the wheel rotating), and then I modified megabobra's code to include a 5 second max time for the electromagnet. If the spoke magnet stops right where the reed sensor is, it seems to have the electromagnet on indefinitely. 5 seconds should be long enough to not get the setup too hot for no reason.
View attachment 119709
View attachment 119710
View attachment 119711