Download Latest Version myFilterWheel-200-05.pdf (1.7 MB)
Email in envelope

Get an email when there's a new version of myFilterWheel ASCOM DIY

Home / Firmware
Name Modified Size InfoDownloads / Week
Parent folder
Clives Wemos Firmware 2020-11-03
Alans Mods 2019-07-25
myFilterWheel-Firmware200-07.zip 2023-10-14 401.8 kB
myFilterWheel-ChangeLog.h 2023-10-14 4.1 kB
Tests.zip 2023-06-24 16.6 kB
myFilterWheel-Firmware-200-05.zip 2022-01-31 23.7 kB
myFilterWheel-Firmware-Readme.txt 2022-01-31 4.0 kB
Firmware-FilterWheel-Readme.txt 2022-01-01 2.4 kB
Totals: 8 Items   452.6 kB 0
---------------------------------------------------------------------------------
myFilterWheel 
(c) Copyright Robert Brown, Clive Stachon, Pete 2016-2022. 
All Rights Reserved.
---------------------------------------------------------------------------------

200-05 23-Jan-2022
Change code in pushbuttons to avoid warnings when pushbuttons are not enabled
Add choice of find index using LDR or using STEP counts
Add machine states to handle case 21: move motor steps and a halt command (only for setup of filterwheel)
Use seperate code paths for handling find index and move to slot
Rewrite all classes to have an explicit start() function (not having setup code in class constructor)
Rewrite serial comms class, link Arduino serial event to execute class serial event
Fix error in void FilterWheel::reset_filterwheel(void)
Fix debug code
Fix swap in init code for led/ldr 
Fix for LED not turning on/off
Fix for find index code
Fix for homeonconnect and homingmethod code
Fix for motor enable/disable not being in correct state for moves
Fix for write to eeprom not waiting for MYINTERVAL to occur

200-02 16-Jan-2022
Add FINDHOMEMETHOD to controllerconfig.h
Move HOMEFOUND - ldr value indicating slot 0 - to myFilterWheel class
Fix for case state_move_to_home: use myfilterwheel->get_maxsteps() instead of MAXSTEPS
Fix for home pushbutton not working correctly
Fix for Move Slot 0 returning immediately
Fix for Find Index not updating slot number when index is found

200-01 09-Jan-2022
Add maxsteps
Rewrite logic for find index, add additional states for state machine
Revise filterwheelconfig.h (and rename as controllerconfig.h)
Add HOMEONCONNECT

200-00 08-Jan-2022
Change revision number of firmare

126   07-Jan-2022
Rewrite of code

125
Improve code to find_index on power-up/reboot

124
Fix for index adjust value

123
Fix for move buttons not working in Windows app

122
Fix ULN2003 stepping issue

121
Fix for ULN2003 error

120 
Add index adjust commands get/set

119
Swap Advance and Home buttons over
Fix compile error if Homebutton was defined
Add support for 4 slot filter wheels

118
Rewrite findindex routines

117
Fix bug in enableoutput() - should only apply to drv8825
Fix bug in state_moving - should disable output to stepper motor AFTER move is complete
Fix bug in state_move_to_slot - should enableoutput to stepper motor BEFORE trying to move stepper motor
Fix big in comms.h case GF returning incorrect value for a 9 slot filter wheel

116
Expand to 5,7,9 slot filter wheels
Add command in serialcomms.h to return number of filterwheel slots
Move config to filterwheelconfig.h
Fix bug in nextfilter when advance button pressed [could move to invalid slot number]
Fix bug in nextfilter - incorrectly calculating next filter slot
Fix bug in loop() that saves settings to EEPROM

115
Add MotorDelay Get/Set commands to serial comms

114
Move filter steps into EEPROM
Add command to move motor by specified number of steps
Add commands for reversing motor direction
Add commands to get/set steps between filters

113
If goto filter 0 use find_index
If set slot position to 0, use find_index

112
Fix for pushbuttons

110 26102020
Add test code for buttons in Tests folder
Prevent changes to filterwheel if filterwheel is already moving

109 26102020
Add init() code for pushbuttons, ldr etc

v1.08 29092020
Add config sections
Let users disable buttons on older hardware

v1.07 29092020

v1.06_DRV8825 12072020
added physical buttons

v1.05_DRV8825 12072020
Made optical homing work

v1.03_DRV8825 18122016
Add code to handle stepmode and motorspeed for DRV8825
Back to 1 LED/Photocell design

v1.02a_DRV8825 10122016
Redesign of hardware, now use 5 LEDS and Photocells
Will need to Recode move to slot later once harware is ready
Recode Find Index done
Add extra commands for DRV8825, motorspeed, stepmode, reset arduino and write eeprom
Source: myFilterWheel-Firmware-Readme.txt, updated 2022-01-31