PnP Focus: The simplest-ever Arduino focus controller

PnP Focus: The simplest-ever Arduino focus controller


I want to share with you the Arduino-based focus controller named "PnP Focus". As the name implies, I want it to be as easy as "Plug and Play". No soldering. No hassle with firmware upload. You simply 1) buy the readily available components, 2) stack them, and 3) upload the firmware by a single click.

Features:
- Manual control
- LCD display
- Temperature sensor
- compatible with Moonlite ASCOM driver
- compatible with commercially available focuser motors.
I have tested with various motors from
- Robofocus
- Moonlite
- USB_Focus
All of them use the DB9 male connectors. See the wiring below. It also works with the popular DIY stepper motors:
- 28BYJ-48  (5V and 12V)
- 17HS13-0404S-PG27 (12V)


Components required:
1) Arduino Leonardo board. ($5-$10)
2) Ardumoto L298P motor driver board ($9). Choose the board that use Pin 3, 11, 12, 13 for driving the motor.
3) 1602 LCD and keypad shield ($2-$10). I recommend the 1602 LCD and keypad shield by DFRobot ($10).
4) DS18B20 Temperature Sensor. I recommend the sensor by DFRobot ($4). The sensor is connected as shown in the first figure.
 The total cost is less than $30.



Installation:
1) Visit https://github.com/aruangra/PnP-Focus , download the file "upload.zip" and unzip the file.
2) Then connect the micro usb cable between Arduino Leonardo and your PC.
3) Double click the file "upload.exe". The firmware will be uploaded to the Arduino board. And it is ready.

How to use:
- You can use the ASCOM Moonlite focuser driver to control the motor.
- For manual control, the keys are as follows:
LEFTMOST:  Save the position to EEPROM. For manual control, the position is not saved. Use this key to save the position.
LEFT: Move in
RIGHT: Move out
UP: Backlight On/Off
DOWN: Fast/Slow movement

If you have any question or comment, please visit:
https://www.cloudynights.com/topic/594658-pnp-focus-the-simplest-ever-arduino-focus-controller/

Anat Ruangrassamee, Ph.D.
Bangkok, Thailand



Comments

Post a Comment

Popular posts from this blog

PyTSX: Imaging automation for TheSkyX using Python

iAstroHub: IoT for Astrophotography