Skip to content

A Antenna rotator controlled my MQTT statements

Notifications You must be signed in to change notification settings

vk2jnc/mqtt-rotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

mqtt-rotator

An antenna rotator controlled using MQTT statements.

The antenna rotator was 3d printed using this repository https://www.thingiverse.com/thing:4664558 I will be making some edits to the model for some extra support on the EL stepper motor - once updated will attched those files.

This is very still a work in progress - and i'm not good at coding!

Pre-reqs

Adafruit motorkit - pip3 install adafruit-circuitpython-motorkit or https://github.com/adafruit/Adafruit_CircuitPython_MotorKit Paho Mqtt - pip3 install paho.mqtt.client for manual publishing mqtt az el apt install mosquitto-clients

To Run

python3 mqtt-rotator.py

another terminal to manally move it - mosquitto_pub -h "Mosquitto Broker" -t rotator -m "'EL' 'AZ'"

format it expects to see is el dregrees then a space then az dregrees for example "27.2 148.5"

To Be done

  • add park function (move to park position)
  • add stop function (stop at current position)
  • add reset function (reset current degrees to 0)
  • add threading for multiple motor movement and updating values whilst moving

About

A Antenna rotator controlled my MQTT statements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages