GPS, RF Module CC1101

Hi, i have a month that i started using arduino and i am currently working on a project that i want to get data from a gps and then i want to transmit the data using a cc1101 rf module to another module. I am not sure about the pins i should use. I am thinking using altsoft serial library for the gps using pins 8,9 and for the rf modules to connect them via SPI. Does that sound right?

Does that sound right?

Maybe. Post links to the hardware you will be using, not vague descriptions, if you want better answers.

I am using gps click l10 and i connect its tx pin to pin 8 and its rx pin to pin 9.
For the rf modules i use two cc1101 and i want them both to transmit and receive(i use two arduino). I am also sharing in the photos how i will connect the modules to the arduino.

Thanks in advance

CC1101.PNG

CC1101Arduino.PNG

This is a fairly advanced project, it will take a while and you need to do it in stages.

Forget the radio (cc1101) bit for now.

Get the GPS connected and working first. You nead to be able to can read from the GPS and work out how to print the location to the serial monitor.

I would suggest the TinyGPSplus library, it does the job very well and is easy to understand. There are sample programs in the \examples folder of the library.

Buenas tardes compaƱeros soy totalmente nuevo en arduino, me gustaria q me ayuden orientandome, estoy realizando un proyecto de geolocalizacion con arduino, se trata de trazar una ruta, obtener el recorrido de un autobus, obtener la distancia(km) del recorrido, y determinar el consumo de combustible durante el recorrido o ruta, deseo almacenar los datos en una BD, para luego ser visualizados en una aplicacion web, el total de km recorrido, la cantidad de combustible consumida durante el recorrido, y visualizar la posicion del recorrido del autobus les quedo de antemano muy agradecido por la ayuda.

I have already read the gps and wrote a program to print my location, also the time in my timezone and finally i calculate some distances using the haversine formula.
I am in the stage where i want to connect the rf modules but i am not sure how. Also i think i have trouble writing a program for the modules.

I am also sharing in the photos how i will connect the modules to the arduino.

I am in the stage where i want to connect the rf modules but i am not sure how.

You either know how, or you don't. Which is it?

Also i think i have trouble writing a program for the modules.

You think you will? Or, you do? If you haven't connected them, and tried to send data, how do you know that you will have trouble?

Chrypapa:
I have already read the gps and wrote a program to print my location, also the time in my timezone and finally i calculate some distances using the haversine formula.

Useful information to have included in your first post, avoids the volunteers on here wasting their time advising you to do stuff you have already done.

As for the CC1101, there are very likely some transmit and receive example programs in the the library you have chosen to use, so try them first.

If you want someone to write a program for you ask in 'Gigs and Collaborations' but be prepared to pay.

PaulS:
You either know how, or you don't. Which is it?

Well yeah you are right i am basically totally confused because i didn't know if it would work, connecting both the gps and the modules to the arduino

PaulS:
You think you will? Or, you do? If you haven't connected them, and tried to send data, how do you know that you will have trouble?

I don't know how the modules work so i am having trouble for how should i compose my program. I want both of them to send and receive data. So, should i write a program for both trasmitting and receiving and upload it to both my arduino?

I am very thankful of your quick replies.

srnet:
Useful information to have included in your first post, avoids the volunteers on here wasting their time advising you to do stuff you have already done.

You are right about that, i just wanted to be sure that i haven't already made a mistake. My bad.

srnet:
If you want someone to write a program for you ask in 'Gigs and Collaborations' but be prepared to pay.

No thank you, i want to do it myself. I will try using the examples and understand a thing or two.

However, i want to thank you for your time

When your project is all done and you discover GPS receive problems, consider your transmitter may be creating noise on the GPS frequencies that overload the GPS receiver.

Paul