Starting a new project. Input needed.
copacetic353
Posts: 52
Hello all,
I am a part of a research and development group at a University and I've been recently dispatched to build a system that points an antenna at a moving object.
Basically, I will be mounting the antenna on a tripod stand and I plan on using two motors to control orientation. One motor will control the 360 degree movement about its vertical axis and the other will control the antenna's pitch between 0 and 90 degrees.
I plan on using the propeller MCU and the propeller control board. I am going to be installing a GPS unit and a compass unit on the control board for real time tripod coordinates and direction so that I will not have to change the code every time the tripod's location is changed.
Upon brainstorming the design, I have come up with two problems (so far) to which I am not sure the solution.
1. I know how to detect the direction that the antenna is pointing using the compass module that I will be installing. However, I am not sure how the detect the anenna's position on its tilting axis from 0 to 90 degrees. Any ideas?
2. The system that I am building will be getting streaming data from a ground station via (probably) a serial connection. I don't know if this is even possible with the propeller and if so how to do it?
Thank you for your time!
I am a part of a research and development group at a University and I've been recently dispatched to build a system that points an antenna at a moving object.
Basically, I will be mounting the antenna on a tripod stand and I plan on using two motors to control orientation. One motor will control the 360 degree movement about its vertical axis and the other will control the antenna's pitch between 0 and 90 degrees.
I plan on using the propeller MCU and the propeller control board. I am going to be installing a GPS unit and a compass unit on the control board for real time tripod coordinates and direction so that I will not have to change the code every time the tripod's location is changed.
Upon brainstorming the design, I have come up with two problems (so far) to which I am not sure the solution.
1. I know how to detect the direction that the antenna is pointing using the compass module that I will be installing. However, I am not sure how the detect the anenna's position on its tilting axis from 0 to 90 degrees. Any ideas?
2. The system that I am building will be getting streaming data from a ground station via (probably) a serial connection. I don't know if this is even possible with the propeller and if so how to do it?
Thank you for your time!
Comments
2. If it's serial communication, then you can just use one of the OBEX objects.
How could I use the accelerometer do detect position and I am not sure what a potentiometer is?
Also the propeller chip is a very over powered microcontroller. It can do alot more than you think. Serial communication is very easy for it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
http://www.parallax.com/Store/Sensors/AccelerationTilt/tabid/172/CategoryID/47/List/0/Level/a/ProductID/97/Default.aspx?SortField=ProductName%2cProductName
http://www.parallax.com/Store/Accessories/MotorServos/tabid/163/CategoryID/57/List/0/Level/a/ProductID/507/Default.aspx?SortField=ProductName%2cProductName
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
http://obex.parallax.com/
You can find prebuilt drivers here and stuff here. The sensors section and motor control section will make you're life easier.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
www.dimensionengineering.com/accelerometers.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Adrian Sosa Araujo.- San Luis, ARG - Time Zone (GMT -3)
El planteo de un problema es mas importante que su soluci
A potentiometer is a variable resistor. It's usually in the format of a dial (think stereo speaker volume knob).
Parallax only has one prebuilt system with both a motor and encoders, and that's the wheel and motor mount. However, I don't think that will be best for you, since the resolution is a little low and the price is pretty high (for what you're looking for). The easiest solution and most reliable would be to make your own disk to look something like the following. The use a simple IR beam to determine when the slots pass. Note that this disk only gives you the speed, not absolute position. If you absolutely need the absolute position, then you'll need to make a much more complicated disk. If you don't, you can make an assumption about where it is based on (perhaps) limit switches.
Most RF devices (at least the complete solution types) offer as simple serial interface that you can use directly. It's not a problem, and requires only a couple lines of code on your part.
welcome to the forum.
You are free to ask questions as many as you like. You will receive help here.
My personal opinion is: as you are a member of a research and development group at a University it's up to you to do the details.
Every chief you might be working for after university expects that you can solve problems completely on your own.
(without asking the chief about details but of course asking other people that are experts to something)
The propeller can do really a lot. You can even connect a SD-card to store data on it.
If you're planning to process megabytes of data in very fast realtime (datathroughput more than 10kB/second)
there is a limit. Most other things are no problem. The Prop can even handle highspeed signals and frequencies.
The propeller is able to send and receive data at 115200 Baud = 14 kB/second
For send/receive kilobytes of data continuosly without any interruptions it will be a challenge
to keep the receivebuffer from overflowing
Send/receive at slower datarates and smaller datapackages than 10 kB that are coming in / going out intermitend are no problem
The prebuild program-code in the object-exchange save a lot of work and time.
BUT from your question I got the impression that your knowledge about programming and electronics is on a very basic level.
Without a medium knowledge about programming and elecronics - to say it positive - you have A LOT to learn.
As you are a group of students think about engaging one or two new members that have good skills in programming
(the programming-language doesn't matter they will get into the propeller-language called SPIN within two days)
and somebody with good knowledge about electronics.
best regards
Stefan