2 posts shown.
granitetiger16 said:I realize this doesn't directly answer your question, but if hardware is more your speed, wouldn't using an NE555 be a simpler fix? Or maybe just swap the sensor from the front wheel to the rear one?
If you're hunting for a semi-ready-made solution, a PLC might actually get the job done, though if you're dead set on a (budget) microcontroller route, I’d personally grab something from the ATmega series. Just order a basic microcontroller starter kit off eBay; it should stay well under $17.
I honestly think it's much easier to just go with the Raspberry Pi since I've already got one sitting right here, and moving a sensor from the front to the back wheel isn't exactly a walk in the park. You can pick up a Raspberry Pi Nano for just $2 or $3, so at that price point, there's really no reason not to use it.
Hey everyone, I’m going to try posting here first instead of starting an entirely new thread. To be honest, programming isn't exactly my bread and butter—I'm much more of a hardware guy—so I'm hoping to tap into the expertise of some folks here who actually know what they're doing.
I'm looking to install a speed limiter on my scooter to cap it at 31 miles because it's currently running too fast, which is giving me nothing but headaches during registration. The original speed sensor pulls data from the front wheel, but I can't use that for the inspection; when they put it on the rollers, only the rear wheel spins while the front stays stationary. So, I'm planning to mount an additional rotation sensor on the rear wheel, which should be easy enough. My idea is to handle the logic using an Arduino. Basically, I'd measure the signal period from the rotation sensor; if the interval is above a certain threshold (meaning it's within the max speed), the output remains inactive. However, if the timing drops below that threshold, it triggers a kill switch on the ignition coil to prevent acceleration until the speed drops back down. I really need some help conceptualizing the code for this. Does anyone have any suggestions, or perhaps someone has already tackled a project like this? Cheers!