Indeed, i have a working rotor controlled by a pi.
I use a small 10$ board called a DIO, It provider 7 input/output/pwm and 5 of those can be used as a analog input. The rotor was fitted with a 10-turn potentiometer. I used the psu and the relais from the original (time based) controller. All wired up, it is controlled by a python program an a library (I wrote). Those DIO's are available in I2C and SPI. My library is then used to control an LCD and touch buttons (also supported in the library).
I was going to add rotctrl(d) compatible interface, again in pure python.
Besides that, my Lib can run on two machines, supplying the I2C and SPI busses over top/ip.
Mail me if you need more info/pictures or discussion.
Verstuurd vanaf mijn iPad
Op May 28, 2013 om 17:49 heeft Wouter Weggelaar <wouterweg@...> het volgende geschreven:
> I think what Nate meant is what Martijn PB0NER already made on the Pi. (yes, that IS his callsign)
> He uses some I2C or SPI expansion boards and has the whole stuff talking USB network sockets as well.
> He was also using the Hamlib to Python bindings I think.
> No Idea if he has something ready for "the wild" but I've seen some pointing rotators.
> I've CCd martijn.
> Wouter PA3WEG
> On Mon, May 27, 2013 at 6:38 AM, Darrel J. Van Buer <darrel@...> wrote:
>> Lack of analog input on RPi complicates controlling many rotators.
>> While a few have (often expensive) RS232 options, more commonly there is
>> an analog output (or internal) signal tied to a potentiometer in the
>> Rotator is then commanded with either a relay in parallel with operator
>> switches or sometimes a logic level signal.
>> There are some Arduino projects that implement a rotator controller
>> speaking one of the common serial protocols. The Arduino has several
>> analog inputs, some relay output board accessories and serial and/or
>> serial USB ports for listening to the computer.
>> It's usually easier to drive the controller and using a long cable
>> between controller and rotator given the relatively large amount of
>> power needed by the motor.
>> With a standard protocol implemented in the Arduino, it's pretty easy to
>> configure HamLib to talk to an Arduino.
>> The new Beaglebone Black is another option - analog inputs, Linux and
>> network interface built in, $45. But it's so new, both the OS drivers
>> and accessory boards rapidly evolving targets.
>> On 05/26/2013 12:37 PM, Nate Bargmann wrote:
>> > * On 2013 26 May 11:26 -0500, Jim Talens wrote:
>> >> I may have stumped upon Hamlib too early in my learning curve! Still, my
>> >> goal is to remotely control my Orion RC2800PX rotator without using a
>> >> computer. That is, by using Wifi or Ethernet connection to my router at
>> >> both ends. Has such a project been published, to you knowledge, using a
>> >> Raspberry Pi platform? The RPI can be used to activate an LCD to indicate
>> >> azimuth and the rotator does have an RS232 interface.
>> > Hi Jim, and welcome to Hamlib.
>> > I don't know of anything off-hand. From your description it looks to me
>> > like you're wanting to do:
>> > RPi --> router <--- network ---> rotor
>> > If that is not correct, then let us know.
>> > As cheap as the RPi is I am thinking of doing something similar using a
>> > pair of surplus Alliance U-100 TV antenna rotors with the RPi driving
>> > the motor control, so my idea looks like:
>> > Computer with Gpredict <--- network ---> RPi with Hamlib --> rotor
>> > controller --> rotors.
>> > Note that at this time no Hamlib backend exists for my idea! I am
>> > looking at using the RPi GPIO pins to drive the circuit desribed in
>> > December 1998 QST (I think that is the issue). I won't get to it for a
>> > while. ;-)
>> > Perhaps others on the list will have some ideas. As I see it, you'll
>> > need something between the network and the rotor (I say that not being
>> > familiar with your rotor at all) and that is where I think the RPi will
>> > work best for me. The rotctld network daemon will run on the RPi and my
>> > computer with Gpredict should work with it over the LAN just fine. At
>> > least that is my hope. Ha!
>> > 73, de Nate >>
>> Darrel J. Van Buer, AK6I
>> Try New Relic Now & We'll Send You this Cool Shirt
>> New Relic is the only SaaS-based application performance monitoring service
>> that delivers powerful full stack analytics. Optimize and monitor your
>> browser, app, & servers with just a few lines of code. Try New Relic
>> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
>> Hamlib-developer mailing list