![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Code for 'Smart Regulator' featured in 'Model Engineer', November 2020 on. Contains all work to August 2020 including all code described. Top level algorithm development is quite spares, leaving some work for you! Any questions - jon@jons-workshop.com
Dependencies: mbed BufferedSerial Servo2 PCT2075 I2CEeprom FastPWM
Diff: Alternator.h
- Revision:
- 5:6ca3e7ffc553
- Parent:
- 4:28cc0cf01570
diff -r 28cc0cf01570 -r 6ca3e7ffc553 Alternator.h --- a/Alternator.h Fri Aug 07 13:06:03 2020 +0000 +++ b/Alternator.h Sat Dec 05 12:40:17 2020 +0000 @@ -1,5 +1,8 @@ +/******************************************************************************* + DON'T FORGET TO REMOVE SOLDER LINKS SB16 AND SB18 ON L432KC BOARD +*******************************************************************************/ -#define GPS_ // Not the crap one I tried! +//#define GPS_ // Not the crap one I tried! const double ALTERNATOR_DESIGN_VOLTAGE = 14.0; // Used to scale down max field pwm when available voltage higher than this const double DRIVER_NEUTRAL = 0.18; // Proportion of driver's pot travel deemed to be zero power request