appliedprocrastination / OpenMacroRail

Software for OpenMacroRail - Embedded Firmware and Web Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenMacroRail Firmware and Web-interface

Build firmware and deploy GitHub Page

Summary

The OpenMacroRail Firmware provides a web-interface for accurately moving a camera in small increments in order to do focus stacking. The OpenMacroRail project also consists of a DIY-friendly circuit-board design that can be manufactured for around $30 if you have access to a soldering iron. The circuit board is designed for photographers with electronics skills rather than engineers with photography skills. In addition, some external hardware is also required (like a macro slider, a motor, and a camera).

Already have the hardware? Get started!

Other parts of this project:

Getting Started

Quick Start

The fastest way to install the OpenMacroRail software on the ESP32 is by going to the OpenMacroRail online installation website. This website will enable installing the latest OpenMacroRail firmware-release to your ESP32 directly from the web browser (Chrome, Edge and Opera are supported) without installing any unnecessary software on your computer.

  1. Go to the OpenMacroRail online installation website
  2. Follow the instructions there

Setting up the development environment

The development environment for this project is slightly more involved than a generic Arduino project. Mainly due to being based on the ESP32 microcontroller, which is not officially supported by Arduino themselves. The ESP32 is luckily incredibly popular in its own right, and is well supported in the Arduino ecosystem once everything has been set up correctly. Here is a basic guide for how to get started.

  1. Install the Arduino IDE
  2. Add ESP32 board manager URL: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
  3. Install "esp32 by Espressif Systems" from the Arduino Boards Manager.
  4. (Planned in the future. Not currently needed) Install ESP32 filesystem upload plugin for Arduino IDE (SPIFFS = SPI-Flash File System): https://github.com/me-no-dev/arduino-esp32fs-plugin
  5. Install the following libraries via the Arduino Library Manager:
  6. Select "Tools->Board->ESP32 Arduino->ESP32 Dev Module"
  7. Build and flash firmware
  8. Connect to WiFi Access Point named "OpenMacroRail-AP"
  9. Enter your WiFi credentials (these will be stored in EEPROM on the ESP32)
  10. Connect to the same network with your mobile phone or computer
  11. In a web browser, on your mobile phone or computer, enter the URL OpenMacroRail.local
    1. Alternatively:

      Set Baud Rate in Serial Monitor to 115200 and wait for IP Address to show up

    2. Type IP address in browser to access the user interface

  12. Plug 12V power in the power jack to enable the motor

Various documentation:

About

Software for OpenMacroRail - Embedded Firmware and Web Interface

License:MIT License


Languages

Language:C 55.7%Language:C++ 29.6%Language:HTML 14.7%