PDA

View Full Version here: : openDrive - What is it all about ?


rmike
02-12-2011, 05:33 AM
Hi,

i would like to clarify what the project openDrive is all about.


It's:


a universal telescope mount control



open source and open hardware (GPL) community project enabling amateur astronomers to program their own ideas and to learn how things work. (maybe establishing some kind of standard, so folks can build up upon the work of others in the field of electronics, programming and astronomy and don't need to invent the wheel again and again)



a DIY project with free schematics and open source firmware



modular and extensible with various robust PCBs serving different tasks connected through a bus with power, SPI and I2C etc. (80mm x 100mm PCBs linked with a stackable 64 pin connector)



powerful enough to drive bigger mounts/motors accurate and fast


What openDrive is NOT:


a faked DIY project with no building plans or kits available



running proprietary firmware with no way to fix bugs or add extensions to it yourself



commercial (anybody could of course sell PCBs and part kits or even assembled boards)


So far the following features are planned or have already been implemented (Take a look at this video: http://www.youtube.com/watch?v=PWyo-2PWCHA (http://www.youtube.com/watch?v=PWyo-2PWCHA%29:)):

Stepper motor driving board:


64 micro step resolution
up to 30V operation
high current (2.5A_eff/coil = 5A_max/motor)
fast slew (more than 20rps with a Escap P530 motor at 24V)
build in sequencer with internal calculation of acceleration ramps etc. (pictures: https://github.com/selste/openDrive/wiki/Hardware)

MCU board:


based on the ethersex project: www.ethersex.de (http://www.ethersex.de) or https://github.com/ethersex/ethersex
AVR ATmega1284P mcu with 128kB flash and 16kB ram
Ethernet:

with an internal webserver for configuration of mount parameters etc.
control of the mount through LX200, INDI or ASCOM (youtube)
bootloader for firmware upgrades via network


small object catalog on dataflash
RTC with battery backup
2 and 3 star alignment
input for low cost GPS receivers for accurate time sync and location info (like the MediaTek MT3329, http://shop.trenz-electronic.de/catalog/product_info.php?cPath=105_139&products_id=759)
synced to radio time signals (f.ex. DCF77 in Europe)
PPEC - permanent periodic error correction - with hall or opto sensor at the worm
ST4 guiding input
focuser stepper motor connected through I2C (TMC222 based)
multiple 1-wire temperature sensors (DS18B20)


You could of course build your cpu boards hw & sw based on Arduino
(The ethersex sw will also run on Arduino hw, as long as the mcu is equivalent).
Or use some completely different mcu like pic, arm, etc.
I didn't choose Arduino because:


the (original) mcu boards are to expensive for what they offer
very limited memory in the affordable hw versions
did not find any complex software projects using it
many many very useful things are already implemented in the ethersex sw. http://old.ethersex.de/index.php/Feature_Liste (in German; an English wiki is on it's way: www.ethersex.de (http://www.ethersex.de))

Handbox:


wireless and wired operation with a small display (pictures and schematic: http://opendrive.gizmor.org/forum/viewtopic.php?f=18&t=194&start=10)

I/O-board:


various I/Os for example for a dew heater (PCA 9532 based)

Power-board:


switching converter from the input voltage to the internal 5V supply
fuse
battery deep discharge protection
(initially there were plans for a internal (12V->30V) 150W power converter ;-), but these were abandoned because of the availability of low cost notebook power converters (12V->24V) on the market)


There are plans for a linux add on board (probably based on raspberrypi),
[as a second stage but only if enough folks participate in the first]:



webcam (usb) based auto guiding
(automated) pointing model generation for stationary observatories
large object catalogs
camera control


How to get started?:



get the NetIo from www.pollin.de (http://www.pollin.de) somehow to Australia or
route your own PCB from the schematics and build the boards or
you could also start on an perfboard with just the ATmega1284P (http://www.ebay.com.au/itm/ATMEL-ATMEGA1284P-PCB-ATMEGA644P-ATMEGA32-ATMEGA16-components-/280750209522?pt=LH_DefaultDomain_0&hash=item415e0439f2) and an ENC28J60 adapter board like this for example: http://www.ebay.com.au/itm/ENC28J60-Network-Module-Schematic-51-STM32-LPC-AVR-/260875093296?pt=BI_Electrical_Equip ment_Tools&hash=item3cbd5e0530
start playing with ethersex: www.ethersex.de (http://www.ethersex.de) or https://github.com/ethersex/ethersex and discover it's features


I hope to find participants for this development in the very active Australian DIY community. (I'd like to visit you guys at the other side of the planet some day...)


Michael

P.S.
It's totally o.k. to hear critical comments about this concept but I'm also aware that some people will try to badmouth it because they like to sell their own stuff...

Poita
02-12-2011, 09:23 AM
This is extremely exciting, I've been looking to modify my EQ6Pro to belt drives, but have been looking for software to drive it with.
Looks like a good project for the rainy days that are predicted!

cfranks
02-12-2011, 10:33 AM
I'm also interested in using this to resurrect my Losmandy G11.
I searched for NetIo on the Pollin.de site but found no reference?

Charles

rmike
02-12-2011, 06:14 PM
Hi Charles,

just google: pollin.de netio

here is the shop link:
http://www.pollin.de/shop/dt/MTQ5OTgxOTk-/Bausaetze_Module/Bausaetze/Bausatz_AVR_NET_IO.html

Michael

cfranks
02-12-2011, 10:34 PM
Thanks Michael, I had searched the shop for NETIO instead of NET-IO. I don't read or speak German so it is difficult to know what to purchase as a Single Motor Starter Kit. This should keep costs down while evaluating how/if it will drive my G11.

Charles

Poita
04-12-2011, 09:23 AM
Google translate is your friend.
http://translate.google.com.au/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.pollin.de%2Fshop %2Fdt%2FMTQ5OTgxOTk-%2FBausaetze_Module%2FBausaetze%2FB ausatz_AVR_NET_IO.html

You can then click around the rest of the site and it will stay in English.

cfranks
04-12-2011, 10:19 PM
Thanks Peter, I have used Google Translate but only for blocks of text. This way is great. Probably going to cost me a lot of money now that I can read how 'useful' these are.

Charles

Poita
05-12-2011, 06:00 AM
The video is very impressive, controlling it all from the iPad and really fast slew speeds.
http://youtu.be/PWyo-2PWCHA

rmike
05-12-2011, 08:55 AM
Hi Peter,

regarding the noise during slew i would like to mention a couple of things:


it's a self made secondary gear with 15:60 teeth => 1:4 reduction ratio
it's not yet adjusted perfectly
it's not yet greased in any way...

@ everybody:

Emphasis of this project is not building a low cost telescope drive control.
We like to make it as low cost as possible but you can't get high motor currents and accuracy from cheap electronics.
So you have to calculate around 2 x 65 EUR here in Europe for the motor driver boards. Compared to that the rest like cpu board is not very expensive any more.
There were thoughts about designing a single RA/DEC motor driving board based on a TMC428/429 and two TMC246 for people with less current requirements. This board could deliver up to 1.6A current per motor coil resulting in 2.2A_eff per motor. This would still be enough for a Escap P530 for example. Taking the eagle files form our current board the design would not be very difficult any more and i could also assist a little...
=> until now nobody volunteered to design the board.
Maybe i do it at some time later when all the other software related tasks are done.

Michael