Micropython Drivers
Timeline
Not logged in
Public Repositories
mwm's Repositories

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

23 check-ins

2017-09-21
15:07
Update documentation to include timed changes to PWM & Servos Leaf check-in: f5c0015044 user: mwm tags: trunk
15:03
Add the timed change feature to pwm check-in: 0dc376e027 user: mwm tags: trunk
2017-09-19
21:44
Fix the Fundumoto class so it actually works check-in: 76b27716eb user: mwm tags: trunk
15:28
Tweak comments & readme. check-in: 779249a2f4 user: mwm tags: trunk
15:17
Rewrite the servo driver to use the new PMW µ-second pulse length/width code. Document it as such. Fix pulse_width function to use the pwm pulse_width, not the channel one. Fix min/max/centre to default to the appropriate percentages. Calculate angle from pulse widths, not stored. Add speed code. check-in: ef922f4041 user: mwm tags: trunk
12:47
Add pulse width control. Pulse_width is measured in µ-seconds. We now calculate percentage from the timer values rather than saving it, as changing the pulse_width changes the duty cycle. Also change the "width" parameter to "length", as it's the length of the cycle, not just the on pulse, which is conventionally "width". check-in: d4c36aef38 user: mwm tags: trunk
2017-09-16
10:49
Refactor the hbridge drivers. fundumoto.Fundumoto class with motor(motor_name) method. Add drv8835.PololuShield with motor(motor_number) method. Fix hbridge to set speed to zero for coast/brake in RUN_* modes. check-in: 68761ff1ca user: mwm tags: trunk
09:21
Tweak descriptions of motor driver layers. check-in: cf0bf9ffeb user: mwm tags: trunk
09:01
Move pwm2.py to top level directory. check-in: 2c71522ffc user: mwm tags: trunk
09:01
Rewrite the h-bridge description, add pwm. check-in: 835ec572d5 user: mwm tags: trunk
2017-09-12
13:45
Swap the pins around to match our current setup. check-in: 66273f9f62 user: mwm tags: trunk
13:45
Use self. instead of HBridge. for modes. check-in: aecc13a29e user: mwm tags: trunk
11:19
Update fundumoto to use the new ONE_SPEED mode check-in: 4ac4f5e1d3 user: mwm tags: trunk
2017-09-10
10:52
Fix typo: 835 -> 8835 check-in: 3be0fd66d9 user: mwm tags: trunk
10:51
Tweak the README again. check-in: 452534370e user: mwm tags: trunk
10:51
Update README to reflect the reorg. check-in: 54543c64bb user: mwm tags: trunk
10:43
Add the HCSR04 sonic rangefinder driver. check-in: 3e3c8ffbdb user: mwm tags: trunk
10:31
Add the BSD license check-in: b19992fe4c user: mwm tags: trunk
09:57
Add the package import point. check-in: 5a39d4d727 user: mwm tags: trunk
09:54
Refactor into a package and logical modules. HalfBridge (renamed to HBridge) is in hbridge.py. Gang is in gang.py DRV8835 is in drv8835.py and uses HBridge. fundomoto just shows the NWO. Added hbridge.md as a text explanation of hbridge behavior. check-in: ff3b4aa227 user: mwm tags: trunk
09:53
Add note about not working with 3.3volt logic, not tested check-in: 73590cb43a user: mwm tags: trunk
05:39
Initial import from the Tank repo. check-in: 68a00bba3c user: mwm tags: trunk
05:37
initial empty check-in check-in: 021654a8b6 user: mwm tags: trunk