Have you got any drawings or schematic of this, ? It is very confusing... Pwm with 15 pulses and an input ?Well I was hoping to use a Pico to run my model train layout thus:
Thread0 8 inputs from Hall effect devices sensing magnets under trains, 8 outputs switching points and 4 variables start-stop passed to
Thread1 generates PWM power drive to tracks, where a timebase of 16 0.002sec timeslots generates PWM pulses at 31.25Hz (such a slow PWM gives much better slow speed running) for 4 tracks but the 16th slot is used to measure the back-e.m.f. of the motors with a MCP3008, comparing with 4 potentiometer settings, and adjusting the pulse width 0 to 15 appropriately.
Is this too much to ask?
TTFN
rickticktock.
Statistics: Posted by gordon77 — Fri Aug 02, 2024 10:50 am