E-Bike Speed Divide by 2 Flip Flop One-Shot Project
20201002,JWH
Notes:
1. Signal pulse and count used as interchangeable terms here
2. Working prototype uses CD4013 IC Chip but requires additional voltage source (see requirement #2)
3. 74HC series chip likely better fit for 3.3V control
4. Control (MCU) reads half actually speed resulting in pedal assist enabled at 2X actual wheel velocity
Fixed Hardware:
1. Magnet actuator (Cyclometer Speed Magnet)
2. Pick-up (N.O. Reed Switch)
3. Motor control unit MCU (Pin1 3.3 VDD RED) (Pin2 COM BLK)
Requirements:
1. Output 1 pulse for every 2 input counts
2. Circuit VDD same wire as signal (no external voltage source)
3. Short-to-Ground (Pin 1 touches Pin 2) = 1 input signal (negative edge trigger)
Extra Bonus:
1. Momentary push button to toggle between 1:1 mode and 2:1 mode
2. "Fail safe" IC defaults to 1:1 mode
Similar product that accomplishes task through Amtel Chip
https://www.ebiketuning.com/comparison/bosch-gen2-tuning.html
Normal Operation: 1:1
Pick-up to MCU
¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯
Functional Operation: 2:1 latching
Prototype 4013
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|____________________________________|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Desired Operation: 2:1 pulsed
IC output MCU (clocked by Pick-up)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯
Request:
Provide guidance, recommendations or schematic on how to accomplish stated objective
20201002,JWH
Notes:
1. Signal pulse and count used as interchangeable terms here
2. Working prototype uses CD4013 IC Chip but requires additional voltage source (see requirement #2)
3. 74HC series chip likely better fit for 3.3V control
4. Control (MCU) reads half actually speed resulting in pedal assist enabled at 2X actual wheel velocity
Fixed Hardware:
1. Magnet actuator (Cyclometer Speed Magnet)
2. Pick-up (N.O. Reed Switch)
3. Motor control unit MCU (Pin1 3.3 VDD RED) (Pin2 COM BLK)
Requirements:
1. Output 1 pulse for every 2 input counts
2. Circuit VDD same wire as signal (no external voltage source)
3. Short-to-Ground (Pin 1 touches Pin 2) = 1 input signal (negative edge trigger)
Extra Bonus:
1. Momentary push button to toggle between 1:1 mode and 2:1 mode
2. "Fail safe" IC defaults to 1:1 mode
Similar product that accomplishes task through Amtel Chip
https://www.ebiketuning.com/comparison/bosch-gen2-tuning.html
Normal Operation: 1:1
Pick-up to MCU
¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯
Functional Operation: 2:1 latching
Prototype 4013
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|____________________________________|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Desired Operation: 2:1 pulsed
IC output MCU (clocked by Pick-up)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯
Request:
Provide guidance, recommendations or schematic on how to accomplish stated objective
Attachments
-
15.1 KB Views: 19
-
423.9 KB Views: 24
-
443.7 KB Views: 25