Forums - SARCNET

School Amateur Radio Club Network
School Amateur Radio Club Network
School Amateur Radio Club Network
School Amateur Radio Club Network
Title
Go to content

SARCNET Mini Satellite-Antenna Rotator Mk1

SARCNET
Published by Julie & Joe in Satellites · 24 August 2019
Here at SARCNET we are really into satellites, mainly because our students just think they are really cool: Being in space and whizzing around all the time! They can’t get over the fact that we can listen to them, download data and images from them, and sometimes even talk through them. Unfortunately most of the really interesting satellites are in a Low Earth Orbit (LEO), meaning that they have a good overhead pass maybe only once per day and then you can only interact with them for maybe up to 15 minutes.

We communicate with these satellites using radio signals, of course, but some of the satellites are really tiny and we need a good, high-gain, directional antenna to pick them up. If you need to use such an antenna, you have to keep it pointed at the satellite all the time or you won’t hear it. You could do this by hand, but it turns out that an automatic, computer-controlled, satellite-antenna rotator is big, big advantage. Not the least for little kids who have trouble holding the antenna still!

Now satellite-antenna rotators are usually big and expensive, so we decided to come up with our own, portable design, which can be set up quickly at any of our schools, without any complicated on site calibration. Our original and novel design uses two, 3D Micro Electro-Mechanical System (MEMS) sensor arrays. By combining both accelerometer and magnetometer readings, measuring the Earth’s gravitational and magnetic fields, we can figure out just where the antenna is pointing. And, by using a little Arduino-compatible computer and some small motors, we can make the antenna point in any direction we want. Just connect this rotator to a Windows laptop or a Raspberry-Pi Linux computer running a satellite tracking program and you have a workable, hands-free system.

And here it is, our Mini Satellite-Antenna Rototor Mk1:



Full construction details are on our projects page.

In this topic we will discuss all sorts of hints and tips to building and using this rotator. It should be a lot of fun!


21 comments
VK2BYF
2019-08-24 07:08:26
Is there a reason for mounting the elevation motor near the bottom of the die cast box rather than at the top? I was thinking of mounting the elevation motor in the centre near the top to allow the antenna to be mounted closer to the pivot point and therefore requiring less counterbalancing weight on the elevation arm. So long as the antenna reflector clears the box there should be no detuning of the antenna.
Bob vk2byf
Julie & Joe
2019-08-24 07:20:43
Yes Bob, it is actually very important. It is all about reducing the torsional moments exerted on the motor bearings. When the antenna is mounted on one side of the rotator there is an extra rotational force, or torque, on the azimuth bearing. Any distance between the azimuth and elevation axes, or moment, increases this torque. The motors are only light duty and they actually only have brass bushes, not real bearings. So the more torque - the more wear and tear.
Regards,
Julie and Joe
Denis VK6AKR
2019-08-24 07:25:49
Hello all,

Fellow WA VHF Group member Robert VK6FRDM and I are building Mk1 rotators, and have the bits together for the Mk2 version as well. Just letting you know that Robert has beaten me to the finish line and demonstrated it yesterday at our second "Activity Day" for July. Several photos taken which I think Robert will send later.

The Mk2's sprockets and chains caused us some interesting hassles sourcing, but we will be getting there by boring out the bosses of some Australian-sourced parts to suit our 25mm tubing.

Finally a caution! Arduino Pro Micro's can be "bricked" quite easily by attempting to upload code to the incorrect version! I.e. inadvertently selected the 8MHz version in lieu of the 16MHz version. Happily they can be "un-bricked" with a little fiddling but better not to have to tread that path. Look carefully at the oscillator for frequency. In our cases the Arduinos were not clearly marked in the silk screen.

73, Denis VK6AKR
Julie & Joe
2019-08-24 07:31:51
Hi Denis,
Congratulations to you and Robert for your success. We would love to see/publish the pictures. The WA VHF Group is again leading the way.

Yes the Pro Micro boot loader is both a blessing and a curse. It is an especially "fun" way of picking up any simple coding errors in the constructor of a C++ class object. Thank you for reminding us about it. We will publish the "unbricking" procedure on the website. We must have just assumed everyone could do it with their eyes closed.

Regarding the MK2: Please see our Mini Satellite-Antenna Mk2 forum.

As always, please let us know how we can collaborate with you guys on any future projects.

Kind regards and keep in touch,
Julie and Joe.
Denis VK6AKR
2019-08-24 07:34:35
Thanks Julie, Joe

Was blissfully unaware of the other ways to brick a Pro Micro. Always learning. Yes the un-bricking details would be useful on the website, I think.

73, Denis
Julie & Joe
2019-08-27 16:06:13
Hi Denis,
You wrote in another forum:
“I wanted to comment that in my build of the Mk1 rotator I am going to include an LM7809 style voltage regulator fed from the 12-volt motor power source, feeding into the Pro Micro's RAW pin. The idea here is that in the event that 12 volts is applied and the USB power disappears - flat laptop battery, disconnected USB cable, etc - there is no concern about the driver board feeding back into the Arduino's I/O pins. In the absence of a controlling PC, the Arduino would enter a pause state so no danger of the motors being activated and creating havoc.”
This is a very interesting subject indeed!
The Pro Micro can run off the USB Port. But powering other things as well as the Pro Micro requires the J1 jumper, which bypasses the on-board 5V regulator and supplies 5V directly from the USB Port.
The L298N Motor driver logic will not run off the Pro Micro regulator. The regulator will get hot. So, the J1 jumper was used.
The L298N Motor driver has its own on-board 5V regulator, but it only works when 12V is connected.
With the current wiring, which has a 5V link from the Pro Micro to the Motor Driver:
1. If you supply USB and 12V, everything works fine and you can control the rotator from the PC.
2. If you supply USB only, everything works except the motors are only driven with 5V. They may turn a bit, but not much, which surprises some readers. So not good.
3. If you supply 12V only, everything works, but there is no control via USB of course, so no point.
Alternatively, if you remove the 5V link from the Pro Micro to the Motor Driver and supply USB only, the motor driver draws power from the Pro Micro signal lines, which is not good.
If you leave the 5V link from the Pro Micro to the Motor Driver and remove the 12V jumper on the Motor Driver board the Motor Driver can only be powered from the USB (via J1).
Possibly the latter is a better solution for all cases above. We would be interested in your analysis and experimentation.
So, in summary, we don’t think you don’t need a separate 9V regulator and certainly it should not be connected to the Pro Micro RAW input, which powers everything via the poor little Pro Micro on-board regulator.
73 Julie and Joe
Denis Brown
2019-08-28 23:20:47
Ouch!! Thanks very much for the detailed analysis... it is a lot more complex than I had first imagined! Back to the drawing board.

On a brighter note you'll have had input from Robert VK6FRDM who is very well advanced with constructing both Mk1 and Mk2. To the extent that he has demonstrated Mk1 to a group of school students and has a toe in the door for future demos and possibly establishing a continuing group. Robert's rotators were both on display at the most recent HAMfest here in Perth where they attracted considerable interest from fellow operators. I too will have a Mk1 and Mk2 "in the fullness of time" but a few other household projects ahead of them in the pipeline.
73, Denis
Piotr
2019-11-26 07:01:42
Hi everyone. I have just started building this fantastic equipment. One question concerning calibration. In the youtube video it's recommended to point sensors north ans parallel to magnetic filed inclination, which, in Southern hemisphere, means above horizon. Do I understood well, that here, in northern hemisphere, I should point sensor towards north and slightly below horizon (magnetic inclination is 69,34)
Julie and Joe
2019-11-27 02:39:03
Hi Piotr,
That is an accurate observation, sir!
If however it is easier for you pointing the sensor upwards, just turn around and do the entire calibration process facing South.
Kind regards,
Julie and Joe.
Jem
2020-04-06 06:38:42
Hi, I'm building the 1b version with the L298N. Although it's been queried above, I'm still concerned that the Arduino Vcc is shown connected to the 5v output from the motor driver ( the motor driver onboard 5v jumper is shown as fitted ). This means that the USB supplied 5v is shorted to the 5v output from the motor driver. Not good. They will fight each other and something will fail. I understand that the motor driver should not be powered off the USB 5v because of the current drawn. I therefore believe that the 5v jumper should be left on the motor driver ( to allow the onboard regulator to supply the current for the motor driver ) and the connection between Arduino Vcc and motor drive 5v should be removed. All signals are referenced from a common ground, so they will still be ok. Could someone review my thoughts please ?
Kind regards,
Jem.
Julie and Joe
2020-04-07 17:52:04
Hi Jem,
Your solution is fine, too. It will work so long as the PC USB and 12V supply are both connected. However, we can advise that the 5V outputs from the PC and Motor Driver do not fight and nothing will fail. We left the 5V connection intact so that we could command the system into demo mode and then disconnect the PC. It is a good demo for the kids. If the 12V supply fails, the PC powers everything just fine, but the motors hardly move because they only have 5V drive. We have never seen a PC USB over-current problem report. Hope this helps.
Kind regards and stay safe.
Julie and Joe.
Peter
2020-06-07 08:27:19
Hi, I am using 10DOF Lsm303d L3gd20 BMP180 Breakout Module from gluckimhaus at ebay.com, but actually there is LSM303DLHC installed as I realized later. Also I2C scanner shows me 0x19, 0x1E, 0x69 and 0x77 devices. It seems that 0x19 and 0x1E is LSM303DLHC, 0x69 is L3GD20 and 0x77 is BMP180. But I am afraid that something is wrong. Debug shows me values e.g. -422,247,-4095,-32623,32451,-32639, where -4095, -32623 and -32639 are always static values during sensor movement. Also during calibration I get again these 3 numbers together with some zeros (4.8,-350.0,-3.0,-4095.0,-32623.0,32559.0,-32639.0,205.0,207.0,0.0,0.0,63.0,0.0). Is my sensor board faulty or what mistake I made? Thanks, PH.


Julie and Joe
2020-06-07 10:41:55
Hi Peter,
The Rotator6.ino Arduino Sketch supports both LSM303D and LSM303DLHC 3D Sensors.
The lsm.h module defines the LSM303DLHC Registers as 0x19 and 0x1E.
So it looks like you are correct:
1. It is an LSM303DLHC; and unfortunately
2. Something is wrong because all values should change in response to the "b" command when the 3D sensor is moved around.

The I2C bus is obviously working for some register values not others. So the software is working normally, at least in some cases. It is more likely to be a hardware problem. Now, the I2C bus is a high-speed transmission line. Its performance, in your case, appears to be marginal - possibly resulting from noise, due to voltage spikes, or waveform distortion, due to reflections, cross talk or extra line resistance or capacitance. It is unlikely to be power supply noise, e.g. motor commutator noise, as this would not be correlated with the data transfer. Whereas waveform distortion possibly could only effect certain sequences of bit-transitions, eg. Certain bus addresses. There are bus termination resistors on the boards we use (GY-511) as part of the 5/3V level shifting networks. The only things we can think of are:
1. The I2C cable is too long
2. The I2C cable is shielded
3. The I2C bus is not terminated at the sensor

Please check these and let us know.

Kind regards and stay safe,
Julie and Joe
Etienne P41E
2020-07-03 12:35:33
Hi all. I am currently working on my Mk1c project I just requested for the sketch and received a nice reply within a day. I'm following the instructions now trying to upload the sketch but getting some error codes when doing so.
The error says.
Rotator6:40:19: error: timer.h:not such a file or directory
compilation terminated.

I dont know if I'm missing something.
Not so familiar with arduino programming.
Just did some basic tutorials.
I hope it's not a big issue.
Thanks for your time and I'll be pending for more information.
73 de P41E
Julie and Joe
2020-07-03 12:45:14
Hi Etienne,
Have a look at https://www.sarcnet.org/rotator-mk1.html#CompilationInstructions
You should see the following tabs in the Arduino IDE:
Rotator6, cal.cpp, cal.h, fil.cpp, fil.h, lsm.cpp, lsm.h, mot.cpp, mot.h, timer.cpp, timer.h, vec.cpp, vec.h - That's 13 tabs. If you have any problems let us know.

Kind regards and stay safe,
Julie and Joe.
Sérgio Batista
2020-08-06 09:04:28
Hi Julie and Joe.
I am working in the version with L298N and LSM303DLHC. I did all procedures like recommended, but after the calibration process, I disconnect and reconnect pro micro to the PC via USB port, and the motors start moving slowly. Moving around the sensor, the AZ motor respond both directions, but the EL motor turn only in one direction.
When I disconect everything, and put the set up on the tripod, and turno on the 12v, AZ motor start moving. In the instructions, says that at this point, shouldn't have any movement.
Can you help me please.
Tks
Julie and Joe
2020-08-06 16:44:36
Hi Sérgio,
It could be a couple of things:
1. Check the wiring and the 5V PWM drive signal to the EL motor is present on either pin 9 or 10 as the sensor is pointed up or down.
2. Check the configuration:
//Please uncomment only one of each of the following MotorTypes, SensorTypes and SerialPort types:
//const int MotorType = PWMDIR; //Please uncomment this line for the LMD18200T DC motor driver.
const int MotorType = FWDREV; //Please uncomment this line for the L298N DC motor driver.
//const int MotorType = ACMOTR; //Please uncomment this line for the triac AC motor driver.
//const int SensorType = LSM303D; //Please uncomment this line to use the LSM303D sensor.
const int SensorType = LSM303DLHC; //Please uncomment this line to use the LSM303DLHC sensor.
3. Our Mini Satellite-Antenna Rotator is a closed-loop control system. For stabilized operation the 3D Sensor has to be rigidly connected to the lift arm on the EL shaft, and the AZ shaft has to be rigidly connected to the tripod. Use the bench setup
4. If the motors move when not commanded to do so check the controller input wiring and the ground connection. The controller does not have pull-up resistors and will drive if an input is floating.
5. Complete the https://www.sarcnet.org/rotator-mk1.html#SetToWork2 procedure on the bench before mounting on a tripod.
Hope that helps. Good luck!
73, and keep safe, Julie and Joe

Steve McGuire
2020-08-08 10:48:02
Hi Guys,
I have recently completed my version of the Mini Rotator v1b.
Only problem I had was one motor was DOA, so a replacement was ordered, problem solved.
Thanks so much for sharing this.
I have read in your status reports that some builder/s have used an Esp8266 to replace the usb cable with a wifi link. I too have achieved this to my windows 10 computer.
My question is how did others achieve the link for the wifi network to talk to rotctld?
The way I did this, to me, seems way too complicated and I wish to simplify the setup on my Win10 computer.
Any help is appreciated.
Thanks again,
Steve VK4SMC
Julie and Joe
2020-08-08 11:08:37
Hi Steve,
The motors sometime suffer from dirty commutators and air gaps during transit. The SARCTRAC Manual troubleshooting section describes the problem and a potential fix: https://www.sarcnet.org/sarctrac/SARCTRAC%20Manual.pdf. It says:

1.Motors don’t work when connected to 12VDC: If you bought our kit, the motors are 100% tested prior to shipping. However, during transport, shock and vibration sometimes makes the brushes disconnect from the commutator: See Figure 2 to see how it works. This can be fixed easily by poking a squashed toothpick into the crescent-shaped holes and GENTLY tickling the gold brush wires. Connect the motor to 12VDC, lift and re-seat the brushes until it starts working. In some cases, a spray of Isopropyl Alcohol through the holes can help shift grease on the commutator. Contact us for gearbox issues, BEFORE you open the gearbox.

Regarding the WiFi link: We have used a pair of ESP8266s one as a WiFi Access Point and Telnet Server and the other as a WiFi Client and Telnet Client. It works fine, with the benefit you don't need a WiFi router. We haven't published the code for it, though. The other option is to use a pair of ACP220 modules as mentioned here: https://www.sarcnet.org/rotator-mk2.html#RotatorMk2a, although we haven't tried it, but it should work well. We have tried several Bluetooth modules as well, but only on the SARCTRAC RPi Platform. We concluded that the linux distro we were using didn't support them properly for serial communications, but they may work as a direct Bluetooth serial link. Using the RPi as an Access point was also strangely problematic. Good job on your success.
Stay safe and keep in touch.
73, Julie and Joe.
Sérgio Batista
2020-08-08 21:35:38
Hi Julie and Joe, thank you very much for your help.
I did a check on all the wiring and it looks like everything is fine.
I remade some welds and both engines rotate in both directions.
But, I still have problems after finishing the sensor calibration process.
After this process, I disconnect the USB cable and when reconnecting, the AZ motor starts to move slowly according to the position of the sensor.
As described in the Set to Work Instructions (Part 2), there should be no movement of the motors until 12volts is turned on, correct? Just for information, the assembly box is plastic.
I don't now what is wrong.
Julie and Joe
2020-08-09 07:47:33
Hi Sérgio,
The operation you describe is normal. Without 12V connected the motors may still move due to 5V being supplied to them by the USB. However the drive is very weak. Please describe any remaining problems you may have.
Kind regards,
Julie and Joe.

Back to content