Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 1 month ago

Any tips on what would be the best way to determine the number of backlash steps?

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 1 month ago

Is there a way to have INDI calculate the necessary number of steps for backlash compensation? Or should I determine it by hand?

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

I DID IT!!!! I took the risk and increased the voltage to 12 V, and not it works! I have no idea why it says 3.45V on Amazon, must be a typo!!

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

On the Amazon page it says "nominal voltage: 3.45 V, nominal current: 1.5A (monophase)".

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

It's not a 28BYJ-48 (unipolar), but a Nema 17 (bipolar). I don't think the a4988 can drive unipolar motors, so I purchased this one for testing. The motor does not vibrate nor gets warm. Looks like no current is flowing at all. Maybe Vref is too low. The voltage on the motor pins on the driver board rises to 4.6 V while I'm sending commands. Starting to think it's a matter of current.

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

Thank you very much Radek,

I have wired everything and checked all connections with a multimeter. The motor just won't work. I'm starting to think it must be some sort of software issue, for instance missing libraries.
I attached pictures of the RPi and board, and screenshots of the "Astroberry Focuser" tab under INDI. Please not that the default port is /dev/ttyUSB0. This is weird, why should it be USB?

When I send move commands via Ekos, the voltage on SLEEP rises to 3.3, so I think the RPi does send commands. I checked the voltage of the motor at rest, and the readout is 1.5 volts on each of the 4 pins relative to motor power supply GND. Strange.

Vref does not go beyond 1.2V. Is that enough?

Any explanation?

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

I finally got to load the indi_rpifocus driver, I had to recompile them source. I get the Astroberry Focuser tab in my Ekos client. I still DO NOT manage to get the motor going. Could anyone who has managed to get the a4988 board working tell me which pins of the a4988 board should be connected to? Including power lines, I mean.
Thanks!

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

I have double checked all connections and they're alright. This is what I get when I load indi_rpifocus in indiserver:

2017-09-05T17:29:58: Driver indi_gphoto_ccd: pid=2008 rfd=3 wfd=6 efd=7
2017-09-05T17:29:58: Driver indi_asi_ccd: pid=2009 rfd=4 wfd=9 efd=10
2017-09-05T17:29:58: Driver indi_lx200autostar: pid=2010 rfd=5 wfd=12 efd=13
2017-09-05T17:29:58: Driver indi_rpifocus: pid=2011 rfd=8 wfd=15 efd=16
2017-09-05T17:29:58: listening to port 7624 on fd 11

What could the problem be? Could it be that my Ekos client (running on my Mac) does not recognize the driver? I am still puzzled by the SLEEP-RESET connection dilemma.

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

I am going to double check all connections with a multimeter then. One thing that is not clear to me is if I should connect the RESET pin with the SLEEP pin, which is in turn connected to GPIO23 on the RPi3. It does not say anything on the Readme file ( https://github.com/rkaczorek/astroberry-diy/blob/master/README ), but it is usually connected as shown in many other images on Google (see here ).

Regarding Vref, it should be measured between the GDN pin powering the board and the top of the potentiometer, right? The Nema 17 has a nominal current limit of 1.5 A monophase (does it mean "per coil"?). What value should Vref be set to? 3 V?

Do I need to power the motor via Vmot (nominal tension 3.45 V) or is the board powering it via Vdd?

Sorry for all these questions, which you might find stupid or obvious, but this is the first time I deal with stepper motors.

Maurizio

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

I've been busy trying to get myself a PiFace Digital 2 but no luck, these little things seem to disappear faster than they are supplied. Should definitely get one asap. In the meantime I have received a Nema17 motor and a4988 driver board. I have tried to connect the board to the RPi3 as per instructions in INDI Astroberry website, but no luck. When I load the indi_rpifocus driver in indiserver, no Astroberry Focuser tab will show up in Ekos. I have installed INDI Astroberry from the .deb file at https://sourceforge.net/projects/astroberry/ . Any idea why it's not working?

Maurizio

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

Dear Helge,
if I understand correctly, I must load the astroberry-piface driver, right? Can you confirm that it supports the PiFace Digital 2? My RPi3 runs on Ubuntu Mate, but as I read here ( http://indilib.org/forum/general/699-astroberry-initial-release.html?start=24 ) it may not work on Ubuntu Mate.

Read More...

Maurizio Baldassarre replied to the topic 'DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

Hi Helge, thanks a lot!
So I need to get myself PiFace Digital 2, right? Can it handle two motors in parallel (I plan to have for the guider scope, too)?

Maurizio

Read More...

Maurizio Baldassarre created a new topic ' DIY focuser w/o Motor HAT or PiFace?' in the forum. 2 months ago

Hi folks,

I have just bought a bunch of 28BYJ-48 stepper motors and each came with its own ULN2003 driver board ( Amazon link here ). I can control the motors with Python by connecting the driver board pins to some GPIO pins on my RPi. My question is: do I need some kind of hardware interface between the RPi and the motors (such as Adafruit motor HAT or PiFace digital) even if I already have the driver boards? Will I be able to perform automatic focusing within Ekos using e.g. Astroberry Focuser simply by connecting the driver boards to the GPIO pins?
Thanks!

Maurizio

Read More...

Maurizio Baldassarre replied to the topic 'PHD2 on RPi3 running INDI Server?' in the forum. 3 months ago

Hi Gerryr,

thanks for your exhaustive reply! I did benchmark my direct wifi connection using

iperf
and it turned out to be approximately 45 Mb/sec over a distance of less 2 meters. I am not planning to take my Mac a long distance away from my scope anyway. Just being able to sit in my car or at picnic table while the scope is taking pictures will be enough. If my Mac had an ethernet port, I would have definitely be using a cable to connect to the RPi. In the beginning, both my Mac and the RPi were connected to my home WiFi router for testing, and I only got a top speed of 9 Mbit/sec. Now it makes sense in the light of your explanation, as the router is downstairs and there are a few walls in between. That's what made me go for a direct WiFi.

Kaczorek, I think I have never really considered running KStars/Ekos locally on a RPi3, as I thought it would be too demanding for that small thing, but apparently it's not! How smoothly does KStar run on a RPi3? I should definitely give Astroberry a try.

Thanks!

Maurizio

Read More...

Maurizio Baldassarre replied to the topic 'PHD2 on RPi3 running INDI Server?' in the forum. 3 months ago

Thanks for your quick reply!

I do use KStars on my Mac and I use VNC to connect to the RPi, which anyway has a touchscreen so it's fairly easy to start and control applications. I will give it a try and see how it works!

Would you also suggest stopping VNC while acquiring/guiding?

Thanks!

Read More...

Maurizio Baldassarre created a new topic ' PHD2 on RPi3 running INDI Server?' in the forum. 3 months ago

Hi everyone,

I am running INDI server on a RPi3 to which I connect from a MacBook Pro. The connection between Mac and RPi3 occurs through an ad-hoc WiFi connection. I would like to use PHD2 for guiding as I found it gives the best results with my mount, and I was wondering which option be the best, quickest and most accurate between the following:

1) Running PHD2 on my Mac;
2) Running PHD2 on my RPi3;

My main focus is to get quick and reliable guiding, but I wonder whether a direct WiFi connection is fast enough for the data to be sent from the RPi3 to the Mac, processed, and sent back the mount.

Regarding option no. 2, would it suffice to enter the Pi's IP address in the Host field?

Do you guys have suggestions you would like to share?

Cheers,

Maurizio

Read More...

Maurizio Baldassarre created a new topic ' Logitech webcam won't work with indiserver on a RPi3' in the forum. 4 months ago

Hi everyone,
I have the following problem: I own a Logitech B525 webcam which I use a guider in Ekos. Everything works perfectly when I run it locally on my laptop. However, when I try to connect everything to my RPi3 and run indiserver, my Ekos client won't connect to the camera on the RPi3. I get the following message in the text box under the V4L2 CCD tab "Using default recorder (SER File Recorder)", and the light stays yellow.
Here is the command I use to start indiserver on the Pi:

indiserver -v -m indi_gphoto_ccd indi_lx200autostar indi_v4l2_ccd

Please help!

Maurizio

Read More...

Do you have any link to those so I see what they look like?

Read More...

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!