scivorti.blogg.se

Opensprinkler github dan
Opensprinkler github dan







opensprinkler github dan

I did find out that Wojtek Kosak did make it work without any driver, so it might have been my fault it did not work. no driver, these motors do not consume too much power (about 20ma VERIFY), so in theory the Arduino can power it, however, when I tried it, the motor produced inconsistent movement for various speeds, I suspect due to the fact I didn't implement micro-stepping in my source code.

opensprinkler github dan

My colleague, Allan Schwartz from whatimade.today suggested the i2c route, I had doubts it will work over long distance, but as it turns out there have been uses for i2c over long distances with repeaters (such as PCA9515), I still didn't get around to test the long distance repeater solution, but the datasheet does specify you may not use more than one repeater, but does it also include parallel repeaters?.) Using the i2c as a bus for the entire assembly makes things simpler over communicating with 20 or more USB virtual com ports.ĭifferent layouts, either a PCB per motor or a PCB for 4 motors, which makes things a lot simpler on one hand but won't work if I wanted to add some more visual effects such as addressable Leds. ATmega32u2/4 for USB connectivity to i2c/spi ATmega328 for board MCU, connected to a driver, hall effect sensor and i2c/spi bus ATmega328 for board MCU, connected to a driver, hall effect sensor and canbus, which can be used without a transceiver on short distances. I've thought about the following options for controllers: I've also thought about using the micro-switches for addressing but i don't think its a good use of available pins, even if used with resistor ladder.

OPENSPRINKLER GITHUB DAN DRIVER

He actually implemented what I thought to make, I've had a single motor with the same driver, I've had to add a step up (since the driver needed a minimum of 8v and used an ATmega328 instead of the STM32F103), I've had to use a a higher voltage than actually needed since the motor would miss steps and the maximum speed wasn't great since I've used AccelStepper which isn't very efficient.









Opensprinkler github dan