I have it working with a DRV8825_HW203_F focuser, and the example code works with that version. Of course you require a F version because some messages about data input are done using the LCD.
There may be still a few bugs left in the code but it seems to be working.
This might be handy for people who have the built the LCD version and want to control it in the field without a computer?
Note that the code is provided for a membrane 4x4 as specified from the specific supplier. Not guareented to work with other keypads or 4x3 keypads, the hardware is pretty specific and if you want to try this, make sure you get the right parts etc as I do not have enough time at present to help any other variations.
Hope to post a youtube video of the prototype working soon, time permitting.
Cheers
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I will try to post a short video of the keypad working. At the same time I was doing the PCB and etching I whacked together the design and layout for a Power Supply Unit, up to 2.5A max, with 3.3V, 5V, 9V and 12V and with 0-12V adjustable, as I had some spare regulators and a 12V transformer lying around.
Here is the PCB and the final board with components mounted. The variable pot is for controlling the 0-12V adjustable output, whereas the 3.3V, 5V, 9V and 12V other outputs are fixed. Will be fitted to a case with transformer, bridge rectifier, large smooting capacitor, Voltmeter and Ampere Meter, with Banana jacks for the 3.3/5/9/12/12adj outputs).
This should prove handy for providing power for all future projects.
Hi
I have been busy testing a keypad option with a membrane 4x4 keypad interfaced to the Nano using a PCF8574 chip (it is I/O with I2C).
Its now ready for general release and testing. I have posted details re this here
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/OPTIONS/Keypad4x4/
I have it working with a DRV8825_HW203_F focuser, and the example code works with that version. Of course you require a F version because some messages about data input are done using the LCD.
There may be still a few bugs left in the code but it seems to be working.
This might be handy for people who have the built the LCD version and want to control it in the field without a computer?
Note that the code is provided for a membrane 4x4 as specified from the specific supplier. Not guareented to work with other keypads or 4x3 keypads, the hardware is pretty specific and if you want to try this, make sure you get the right parts etc as I do not have enough time at present to help any other variations.
Hope to post a youtube video of the prototype working soon, time permitting.
Cheers
Robert
Menu options for the keypad are
User accesses menu by pressing * key
Menu option displayed on LCD - user can use A or B on keypad to scroll options
0=Goto Pos
CPos=value
user types in the new position using 0-9 digits
press # to finish
1=Set Pos
CPos=value
user types in the new position using 0-9 digits
press # to finish
2=Set maxStep
maxS=value
user types in the new position using 0-9 digits
press # to finish
3=Set Stepmode
StepMode=state
1 2 4 8 6 3
user types in digit 1 = FULL, 2=HALF, 4=1/4, 8=1/8, 6=1/16, 3=1/32
press # to finish
4=Set TempPrec
TR=value
5 2 1 0
user types in digit 5 = 0.5, 2=0.25, 1=0.125, 6=0.0625
press # to finish
5=Set CoilPwr
CP=state
user types in digit 0=OFF, 1=ON
press # to finish
6=Set ReverseD
RD=state
user types in digit 0=OFF, 1=ON
press # to finish
7=Set C/F
TM=state
user types in 0=C, 1=F
press # to finish
8=Get Firmware
ProgramFilename
ProgramVersion
press # to finish
9=Set MotorSpd
MS=value
user types in 0=S, 1=M, 2=F
press # to finish
Here is the prototype
1st Dec 2016
I cleaned up the LCD code for the keypad menu and it looks good to go. Have uploaded the revised version under the same filename.
Here is the final PCB and then with components mounted. Just need to trim the PCB to size for mounting in a small case.
I will try to post a short video of the keypad working. At the same time I was doing the PCB and etching I whacked together the design and layout for a Power Supply Unit, up to 2.5A max, with 3.3V, 5V, 9V and 12V and with 0-12V adjustable, as I had some spare regulators and a 12V transformer lying around.
Here is the PCB and the final board with components mounted. The variable pot is for controlling the 0-12V adjustable output, whereas the 3.3V, 5V, 9V and 12V other outputs are fixed. Will be fitted to a case with transformer, bridge rectifier, large smooting capacitor, Voltmeter and Ampere Meter, with Banana jacks for the 3.3/5/9/12/12adj outputs).
This should prove handy for providing power for all future projects.
Have a happy holidays
Robert
Here is a video of the working version fitted to myFocuserPro2 controller.
https://youtu.be/Am122JxRAik