Vincenzo said:
I could not find a seller or price for this Crystalyte cruise control module, though. I am having a tickling feeling that I found something so rare that only one flashy name business thought about it and is not in Alibaba or banggood or ebay!
Unless Crystalyte themselves still sell it from their main site (you can ask them) then I don't know anywhere to get them except used. Somewhere around here I have a couple of them, went digging for them some months back to get interior pics for someone else but didn't find them at the time.
2. For a microcontroller, it is super easy to implement with code, but I would love to make something out of jelly bean components, op-amps, comparators, transistors, ... etc. The lower part of your thoughts is close to my thinking, a relay can switch between the throttle input and the resistance provided by the circuit (or may be an analog switch).
If you're thinkng of op-amps, there are slightly simpler ways using an S&H chip; Maxim has made some interesting ones (they also make digipot chips useful for things like the very few controllers that actually require a potentiometer throttle because they use the resistance itself not just the voltage, such as for safety check to see if throttle is fully connected, etc. (IIRC 4QD brushed controllers do this) I think this is one
https://datasheets.maximintegrated.com/en/ds/DS1843.pdf
but only glanced at the datasheet.
a mouser search for 1ch s&H
https://www.mouser.com/c/semiconductors/amplifier-ics/sample-hold-amplifiers/?number%20of%20channels=1%20Channel
BTW, another consideration for this CC I forgot to mention before: do you want it to maintain the actual speed you are at? Or just the amount of throttle you'd last used?
If the former, it has to be significantly more complex, as the CC module needs to know the wheelspeed so it can monitor that and modulate it's output to maintain the speed. This is which is probably why it's nowadays usually a function of the controller, since the controller often has access to wheelspeed data.
The Cycle Analyst does it this way, for instance (though it doesn't access controller info, it gets this data from the motor hall sensor for DD hubmotors, or a separate wheelspeed sensor).
If the latter, it's simpler, but unless you're on flat paths with no winds, etc., it's potentially a lot less useful as it may have to be overridden or reset by the rider so often that it's more a hindrance than a help.
Finally, waw!... did you make one for yourself, or you're just loving the idea like I do?
Neither. I am just a problem-solver, and sometimes I already know of solutions or can easily see how something can work, and can pass that on.
CC is not useful to me because of those frequent speed changes in traffic, primarily. At one time I made long rides on the canal paths here, and CC was useful in many of those cases, but nowadays I only really ride my short work commute and occasional similarly-short grocery trips.
I was hoping that there was a ready made cheap ebay thing that does it, but it looks like this whole field is still very new and that is why every opportunist in the west is making up a weird brand name for chinese bikes and components and selling 20-50 times the Chinese prices.
The field of CC itself is actually very old, and CC is not a commonly used function for bicycle stuff-there is simply too little opportunity to safely use it because riding in traffic or on paths there are so many stops/starts and speed changes so often that CC is virtually useless for the majority of rides, and actively dangerous for some.
The field of ebikes is also not new (decades old at this point), just that they've become cheap enough for small businesses (that don't know anything about what they buy and sell) to buy containersful of cheap crap they can dump for enough profit to be worth doing.
Regarding existing items, there are some things that can do it that already exist. This search lists some relevant results, inlcuding some DIY projects; I don't know how many are readily available or if the DIY stuff has reached a buildable state:
https://www.google.com/search?q=ebike+cruise+control+module