Comments (5)
You can check out my fork at https://github.com/jryd2000/astroberry-diy to see a ULN2003 implementation. Unfortunately to make it easier to code I removed the other 2. I also made some changes to implement aborts.
from astroberry-diy.
No it doesn't work with ULN. To be honest I don't think it is a good idea to use this low level IC for stepper motor control with rasperry pi. It uses 7 GPIOs and needs complete software based implementation of stepping. In my opinion it's an overkill. Why would you like to use it?
from astroberry-diy.
Hi Radek,
I think it may be a reasonable feature since ULN2003 is enough to control standard unipolar geared steppers like the ones in Moonlite or Robofocus solutions. It requires four lines to control the stepper. I may try to implement this - just let me know if I should work with the branch and pull request or do you prefer to fork the repo.
Best regards,
Lucas
from astroberry-diy.
Hi Lukasz,
Are we talking about this IC? This is a bare metal IC containing 7 Darlington arrays. I assume you would like to use just 4 of them and control stepper coils with it. Pretty straight forward however you cannot use stepper library on raspberry pi the same way as on arduino. As the result you need to code whole procedure from scratch, including step sequence etc. I'm ok with pull request but to be honest I'm not sure you can easily integrate code needed for ULN2003 with this Astroberry DIY driver, or I'm missing something obvious. If you want to go this way let me know if you need any help
from astroberry-diy.
Well done! This shows however that integrating it to the existing driver is not a piece of cake and takes a lot of work. I will think it over how it can be done so maybe we'll come back to this topic some day
from astroberry-diy.
Related Issues (20)
- Stepper Driver DRV8825 HOT 1
- Astrobery Relays On/Off seem to be the opposite HOT 3
- Request: Support Wireless connection with Stepper moter HOT 2
- Change initial value of minimal value of FocusMaxPosN HOT 1
- Saving and Loading Multiple Named Configuration Files HOT 3
- Support for second A4988 to control filterwheel HOT 3
- Access for compiling and installing Astroberry_focuser driver on RPi4 HOT 2
- Disable Standby mode HOT 2
- Help : usage of astroberry-diy with Ubuntu 20.04 HOT 9
- Support for servo-motor for focuser HOT 1
- Standby timer not reset by new command HOT 3
- Joystick axis support HOT 2
- Allow for null value for BCM pins in relays
- Let user define number of relays
- Configuration saving issue for joystick parameters HOT 1
- Critical Focus Zone Improvement
- When building, the warning "deprecated" is displayed. HOT 1
- CH42 board HOT 2
- In function 'AstroberryFocuser::Connect()', gpiochip number is incorrect when Raspberry Pi model number is 5. HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astroberry-diy.