I will try to make it short. Idea is for making possible use my ebike legally. Requirement are 250w and PAS(not throttle). I can adjust in phone app 250w. Only problem that Sabvoton don't communicate with PAS without Cycle Analyst.
When PAS is moving sensor is sending spikes of voltage. I am trying to make some circuit that recognize signal from PAS and give some constant voltage between 1 and 5v. I have been trying use PIR sensor like this one:
https://www.ebay.com/itm/HC-SR501-IR-Pyroelectric-Infrared-PIR-Motion-Sensor-Detector-Module-DC-5V-20V/253045605416?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649
I have removed pyroelectric sensor and use only circuit. When applying voltage spikes from PAS to this pin where black cable go circuit output constant 3.35v. Perfect. The only 2 problems are that whatever way i move pedals bike run which was expected and acceptable. Other problem is that it take few seconds to start and few seconds to stop. Maybe it have something to do with potentiometers. I will keep trying soon.
I share this information i hope if someone can get it further. Will be nice if someone know arduino. I am also thinking to use "555 timer" triggerd by PAS.
View attachment 1
When PAS is moving sensor is sending spikes of voltage. I am trying to make some circuit that recognize signal from PAS and give some constant voltage between 1 and 5v. I have been trying use PIR sensor like this one:
https://www.ebay.com/itm/HC-SR501-IR-Pyroelectric-Infrared-PIR-Motion-Sensor-Detector-Module-DC-5V-20V/253045605416?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649
I have removed pyroelectric sensor and use only circuit. When applying voltage spikes from PAS to this pin where black cable go circuit output constant 3.35v. Perfect. The only 2 problems are that whatever way i move pedals bike run which was expected and acceptable. Other problem is that it take few seconds to start and few seconds to stop. Maybe it have something to do with potentiometers. I will keep trying soon.
I share this information i hope if someone can get it further. Will be nice if someone know arduino. I am also thinking to use "555 timer" triggerd by PAS.
View attachment 1