greatscottgadgets / hackrf

low cost software radio platform
https://greatscottgadgets.com/hackrf/
GNU General Public License v2.0
6.43k stars 1.51k forks source link

sweep for transmit #364

Open yhyamak opened 7 years ago

yhyamak commented 7 years ago

is there any way to modify sweep.c to make it in tx mode is there a plan to do that or is this possible ? because i have to hackrf and i want to make one of them a tracking generator and another one as a spectrum analyzer

┆Issue is synchronized with this Basecamp todo by Unito

f4grx commented 7 years ago

you can use osmocom_siggen from gr-osmocom, but it needs a gui. there is also osmocom_siggen_nogui that you can use as a base to make a python/gnuradio based tracking generator.

petem001 commented 6 years ago

yhyamak have you been able to do a sweep generator ?

yhyamak commented 6 years ago

Yes ...but not as real tracking generator I use osmocom_siggen but its not good enough It has a bandwidth about 10 mhz But i need more than that

petem001 commented 6 years ago

Ok thanks for the feed back, could it be that the bandwith limitation is caused by the max transfert rate is set at 10 mb/s in the python script? will check on this. Thanks again for the feed back

yhyamak commented 6 years ago

You are welcome . I think it mist be edited in frimware level It is same as RX .it just need to make a new function in sweep.c

feramo commented 6 years ago

Hi yhyamak, not sure if you are still interested in making a tx sweep, but it is not necessary to make changes at firmware level. I am starting a new sw for doing this sweep, if you are interested I can let you know when it gets ready. Actually, I already have one done, but it is a console program that calls osmocom_siggen, so it is takes a while to start, not suitable for a tracking application... What I am doing now is a mix of sweep and transfer tools.

jinnu92 commented 5 years ago

hi Feramo sweep transfer is completed or not I am very interested in this.

yhyamak commented 5 years ago

Hi feramo , sorry for long time to reply ,yes I'm very intresting to solve this issue , so if you can let you know when it gets ready i will be grateful to you , and i hope to tell me what you have done until now ,if i can help to develop the firmware i will do my best

cyberkul commented 5 years ago

Im also interested in this. So far its just an idea for doing RF-antenna measurements. I want to have the receiver in a drone, and transmitter at the ground, flying a predermined pattern, doing signal strength measurement at waypoints. If I could do syncronized sweeps on both receiver and tranceiver, I could get antenna pattern diagrams for a lot of frequencies "at once". If this is not possible I could still sweep either the receiver, or transmitter, and step the one that is not sweeping.

luoGanda commented 4 years ago

i am not sure - but this is probably not a lot of work to write this peace of code. I would write this peace of firmware - but i don't have knowledge how hrfLib/rfPackets work and currently no time for it.

Some mentioned osmocom_siggen. Yes, but that is a simulation of what some peace of a code could do. Currently hardware is capable of something that there is no software for it. It would be quite handy option - i hope this will be a part of updated firmware.

Also, some code could be checked directly from portapack's code for this - but i don't know if there it's also simulated through already made library calls, or written from scratch for real.