Search results

  1. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    maybe best to pick up an arduino and pi now as the supply chain for these was seriously disrupted and only now is recovering. It's going to take a while until you're comfortable with using them so a little winter tinkering before you actually need them might be a good idea. The biggest issue I...
  2. H

    Mixing hub motors dual control?

    No expert here; but I just finished a dual motor build. What worked good for me was a magic pie on the front (with regen braking enabled) and a geared hub on the rear (Bafang in my case) that can freewheel. The direct-drive in the front offers really good braking without the pads touching the...
  3. H

    Portable programmable CAN Module

    I looked over the specs of the Adafruit RP2040 CAN Bus Feather and noticed it's a 3.3v board. You probably will need a level shifter to interface to the controller. They are cheap and easy to use but in the long run it might be better to find an equivalent canbus controller on a 5v board.
  4. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    I have the Arduino Mega 2560 and Pi 4b 8gb purchased from X2Robotics here in Canada; The arduino connects to the Pi using USB; both of these are really robust and play together well. They are both powerful versions that can pretty much handle anything you throw at them. I've been using SQLite...
  5. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    The nano33 iot's are 3.3v boards. The mega I had laying around, and am now using, is a 5v board and works perfectly. The main issue was the usb port on the nanos. I tried powering from USB and then tried powering them with 12v directly because I thought it was a USB power issue. Both nano were...
  6. H

    Hub Motor Dynamic Efficiency

    I listened to you; now every mile, my onboard arduino/pi calculate, displays, logs and plots the Wh/mile for each motor, the total of the two and the Wh/mile power input of the solar panels; based on the data log of two cycle analysts. I put a bar indicator of the total output and total input...
  7. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    Just for the record, I wanted to sum up my experiences with the Nanos and where the design finally ended up. I went through several pairs of Nano's and it always ended the same; failure of one of the nano's to upload and intermittent failure to have a usb port assigned by the raspberry pi. I...
  8. H

    Two Cycle analysts - One Grin Tripwire

    My dual-motor ebike has two batteries and a Cycle Analyst for each one. I want to use the autocruise feature on the CA's for both motors so I need an ebrake signal to deactivate the autocruise. Can I parallel the ebrake/ground of two cycle analysts to one Grin Trip-wire?
  9. H

    Hub Motor Dynamic Efficiency

    I was focusing on the motor but the enertia of the entire ebike system as a whole should be taken into account. When the system is at a steady-state condition; constant velocity, constant load, there would be no acceleration factor; so force = mass x acceleration = 0. But wriggling the throttle...
  10. H

    Hub Motor Dynamic Efficiency

    If someone can help me with this, it would be much appreciated: Using an arduino output to control throttle; what is the most efficient way to apply power to a hub motor? I've noticed when I control the throttle when pedalling normally, that my battery seems to drain faster than if I use PAS. My...
  11. H

    Paralleling Motor Cutoff Switch

    I finally got the bike to a point i could power it up. I tested the voltage across the two motor cutoff wires: 0v. I touch the wires together and the controller recognizes it as an ebrake. I'm back to square one as I don't have a similar detection circuit for the nanos :( So I went ahead and...
  12. H

    Paralleling Motor Cutoff Switch

    Right now I have one ebrake motor cut-off switch wired to the front controller and one wired to the rear. (I didn't want a four brake lever bike:) The front wheel uses regen braking. I put the grin tripwire (hard grounding) on the front brake lever so I can cut off the rear controller with the...
  13. H

    Paralleling Motor Cutoff Switch

    I have a grin tripwire switch that I want to wire in parallel to one ebike controller and two arduino nanos. The tripwire has two wires (no V+) that must be signal and ground. So when I hook them into the controller I think there will be controller voltage on the signal wire. If so, I'll need to...
  14. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    I finally received level shifters to change the cycle analyst ttl output from 5v to 3.3v so the nano33 IOT could read the logging directly. Turns out it was one of the rare mods that worked the first time:) Now that the nano has the direct power feedback from the CA, I can set up a closed loop...
  15. H

    Dumb question: why are there e-power cutoff brakes at all?

    You don't need them until you REALLY need them; I went through the shorted throttle scenario as well. My standard advice to beginning riders is if things start going awry, just pull in the brake. (This applies to experienced rider as well)
  16. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    So now I'm in the phase of ride, fine tune, ride... I'm just using the front wheel control right now to get it calibrated. It's responding well to the inclines and backing off power when leaning. Nice! The handling is markedly improved with the extra weight and a driven wheel on the front...
  17. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    The Cycle Analyst throttle input is steady as a rock using the analog output of the nano33; I'm sold on these little boards. I also managed to get the throttle signal of one board to be read from the other board. (First I tried to parallel the nano output; both to the CA and the other nano's...
  18. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    Relay wiring can get a bit confusing 😰 so I made myself a sketch before I started on the connections. (The traction relay bypasses the CA during an event so the nano has full control. Usually it just passes the CA output to the controller.) and IRL, this is what it looks like:
  19. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    Thanks for the guidance, amberwolf :) The 12-magnet solution is pretty slow when I need it the most at low speeds; but remember when the tire breaks free it's gonna turn a lot faster :) At 30 mph, a 24-magnet ring would produce a pulse every 7 millis; my front wheel sketch is running at 11...
  20. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    I'm back to using the nano33 iot as in the OP for the DAC0 analog output (for the throttle). One nano33 is running the front motor throttle and one the rear. Since I need to read the 5v CA data log, I introduced the raspberry pi into the design. The pi actually handles 4 serial connections; CA...
  21. H

    Satiator programming cable circuit

    I was up half the night, two days ago trying to sort out grin's ttl cable plug for a CA, so I feel you're pain. Finally I got the log dump working on the TTL level but it ended up being a trial and error at the end when I was too tired to think or gd forbid open up the CA. I can confirm that at...
  22. H

    E-bike mid-drive motors hardly outperforms hub motors

    It's an old tarmac road and is actually called "19 degree hill" (because nobody can pronounce the real name). When I want to test how things are working, I head over that way and challenge it. When I had only 500w to battle it with, it always won. The locals used to take their new cars packed...
  23. H

    E-bike mid-drive motors hardly outperforms hub motors

    I climb true 19-degree hills with my 750 watt hubmotor with a 35a controller. Pedalling like crazy , I use the mechanical gears to keep the motor from bogging down. Every direction from home is uphill and I mean big hills rolling away towards the horizon. 10,000 km later and I'm rewarding her...
  24. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    Just a followup, I surfed over to Golden Motors and found they sell two different CA programming cables. One has a TRS plug and is for CA's only: https://goldenmotor.bike/product/cycle-analyst-programming-cable/ The other cable has TRRS plug and is said to be compatible with CA, phaserunner...
  25. H

    Cycle Analyst V3 interface to Arduino Nano33 IOT

    OK. So I made the ground connection between CA and the arduino. Then I tried each of the three wires in the Rx terminal of the ardino. It's always the last one you try, which in this case was the green wire. I'm getting the CA logging stream into the Arduino so all is good!
Back
Top