Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Stepperdriver | 438 | 10 months ago | 11 | mit | C++ | |||||
Arduino library for A4988, DRV8825, DRV8834, DRV8880 and generic two-pin (DIR/STEP) stepper motor drivers | ||||||||||
Tmcstepper | 366 | 4 months ago | 132 | mit | C++ | |||||
Silentstepstick | 329 | a year ago | JavaScript | |||||||
Stepper Motor Driver based on a Trinamic TMC2100 / TMC2130 / TMC2208 / TMC2209 / TMC5160 / TMC5161. | ||||||||||
Teensystep | 229 | 9 months ago | 8 | mit | C++ | |||||
Fast Stepper Motor Library for Teensy boards | ||||||||||
Ethersweep | 170 | 20 days ago | 7 | other | C++ | |||||
Open Source, easy to use Ethernet connected stepper motor controller. Built in FreeCAD, KiCAD and Arduino. | ||||||||||
Accelstepper | 94 | 4 months ago | 14 | other | C++ | |||||
Fork of AccelStepper | ||||||||||
Scant | 92 | 2 months ago | 6 | mit | Python | |||||
open-source 3D scanning and processing pipeline | ||||||||||
Steppersim | 78 | 6 years ago | 19 | mit | ||||||
Simulates stepper motor driver systems | ||||||||||
Polargraph_server_a1 | 43 | 5 years ago | 1 | C++ | ||||||
Enderloop | 41 | a year ago | C++ | |||||||
Astroberry DIY provides the INDI drivers for Raspberry Pi devices:
Features:
If you use astroberry software repository just run:
sudo apt-get install indi-astroberry-diy
Otherwide you need to compile the software from sources.
Download and install required libraries before compiling Astroberry DIY. See INDI site for more details. In most cases it's enough to run:
sudo apt-get install cmake libindi-dev libgpiod-dev
Then you can compile the driver:
git clone https://github.com/rkaczorek/astroberry-diy.git
cd astroberry-diy
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
You can install the drivers by running:
sudo make install
OR manually installing files by running:
sudo copy indi_astroberry_focuser /usr/bin/
sudo copy indi_astroberry_relays /usr/bin/
sudo copy indi_astroberry_system /usr/bin/
sudo copy indi_astroberry_focuser.xml /usr/share/indi/
sudo copy indi_astroberry_relays.xml /usr/share/indi/
sudo copy indi_astroberry_system.xml /usr/share/indi/
Enable 1-Wire interface using raspi-config or adding 'dtoverlay=w1-gpio' to /boot/configure.txt for temperature compensation support (reboot required). Run Kstars and select Astroberry Focuser (Focuser section) and/or Astroberry Relays (Aux section) and/or Astroberry System (Aux section) in Ekos profile editor. Then start INDI server in Ekos with your profile, containg Astroberry drivers. Alternatively you can start INDI server manually by running:
indi_server indi_astroberry_focuser indi_astroberry_relays indi_astroberry_system
Start KStars with Ekos, connect to your INDI server and enjoy!
Note that your user account needs proper access right to /dev/gpiochip0 device. By default you can read/write only if you run driver as root or user who is a member of gpio group. Add your user to gpio group by running sudo usermod -a -G gpio $USER
To use restart/shutdown functionality add this line to your /etc/sudoers file or /etc/sudoers.d/010_astroberry-nopasswd (this assumes you run INDI server as astroberry user):
astroberry ALL=(ALL) NOPASSWD: /sbin/reboot, /sbin/poweroff
For custom labels you need to save configuration and restart the driver after changing relays' labels.
A stepper motor
Stepper motor controller - DRV8834 and A4988 are supported Starting from version 2.5 you can set your own BCM Pins on Options Tab! Default Motor Controller to Raspberry Pi GPIO wiring from v2.6 (changed!):
Default Motor Controller to Raspberry Pi GPIO wiring before v2.6:
Note: Make sure you connect the stepper motor correctly to the controller (B2, B1 and A2, A1 pins on the controller). Remember to protect the power line connected to VMOT of the motor controller with 100uF capacitor.
DS18B20 temperature sensor connected to BCM4 / PIN7 for temperature reading and automatic temperature compensation Note: You need to use external 4k7 ohm pull-up resistor connected to data pin of DS18B20 sensor
Relay switch board eg. Waveshare RPi Relay Board (B) Default pins, each switching ON/OFF a relay (active-low). Starting from version 2.5 you can set your own BCM Pins on Options Tab!
Note: All inputs are set to HIGH by default. Most relay boards require input to be LOW to swich ON a line.