Skip to content

With Task Manager || Dual-Mode 3D-Printed Servo Follow Focus, 2-Stage smoothing, Expo, Potentiometer, 0.42" OLED and Sleep Mode for ESP32

License

Notifications You must be signed in to change notification settings

EmanuelBender/Servo_Follow_Focus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smooth Dual-mode Servo Follow Focus

TaskManagerIO, 0.42" OLED, Potentiometer, 3D printed enclosure, 2-Stage smoothing, Expo Setting, Auto- idle, no Jitter and Sleep Mode for ESP32

by eBender [Emanuel Bender]

Features

  • Automatic Idling to save power and gear
  • Expo Setting
  • Deep Sleep Mode /w Timer (engages when poti set to 0)
  • no jitter
  • Button switches between:
    Responsive Mode (Stage 1 Smoothing with ResponsiveAnalogRead)
    Smooth Mode       (Stage 1 + Stage 2 Smoothing with Moving Average)

Specs & Speeds
Servo Speed:   0.06sec
Servo Update:  333Hz
Poti Update:     333Hz
Screen:             50fps

Variables
smoothValue  0-255 - applies Moving Average smoothing strength
Expo                0.0-5.0 - applies exponential curve to the poti input
Hertz               50-333Hz - for different Servo models and update speeds
TaskManagerIO speed 1-4       changes update frequency of all tasks and subsequent update speeds

Parts
ESP32 (minimum: Microcontroller /w I2C, 1 ADC Input, 1 Digital Input, 1 PWM Output)
0.42" 32x64 OLED I2C Screen
25g S0025M Servo (0.06-0.08s, 2.6-3KG, 333Hz, 2BB, MG)
10k Potentiometer
1x Momentary Button
2S BMS Balance Module
2S Battery Charger TP5100
6v 3A Buck Voltage Converter
2x 18650 Battery
3D Printed enclosure (files coming to thingyverse)
22/24AWG Wires, M3 or M5 Screws & Inserts

Issues:
Servo Motor is too loud for quiet filming / Audio recording
might switch to Stepper Motor

About

With Task Manager || Dual-Mode 3D-Printed Servo Follow Focus, 2-Stage smoothing, Expo, Potentiometer, 0.42" OLED and Sleep Mode for ESP32

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages