Hi all,
I'm interested in building a GPS logger and transmitter for a weather balloon. I am wanting to avoid arduinos for this project, thinking that using a 'proper' microcontroller will fair me better in terms of me actually _learning_ something. However, I have not done any really serious programming before, and this is where I am lost. At uni we have concentrated on C++ for consoles, so I would think that C would probably be the best suited language for me. I have a pic18f4520 dev kit too, so if we could base the project on that, that would be really great. Below is a very simple sketch of my overall plan.
I envisage the system working by receiving a NMEA sentence, which is then read by the pic. This sentence is then written to an SD card in a .txt file and then transmitted via the radio module.
I have done a bit of research and quite like the look of this GPS module:
http://www.ebay.co.uk/itm/For-Ardui...sGames_RadioControlled_JN&hash=item5af565e741
And this radio module:
http://uk.farnell.com/radiometrix/ntx2-434-650-10/rf-module-tx-fm-434-65mhz-10kbps/dp/1348829
I reckon that hardware wise, the connection between uC and GPS module should be relatively straighforward, as it is just a case of connecting the GPS Tx to a uC input. I plan to use a standard SD card, and plan to use on uC port to control the SD card operation and writing. If I am correct I should need to connect 4 pins to the uC; Chip Select/Slave Select, MOSI, MISO, and data.
As for the transmission, I believe I can use PWM to send the data to the RF module which then transmits it.
However, here is where I kind of hit a wall. I have no idea as to where to begin with the programming. I have tried reading things like Microchip App notes, alas I am not clever enough to be able to understand them quite as much as I would like. Perhaps I have jumped the gun and need to consider more of the hardware layout, but I am now stuck. Compared to what we have done in uni, this is very different. I would describe myself as being able to figure my way around small projects on computer based C/C++, but the embedded side is very new to me.
If anyone can offer any help or advice, I would be really grateful. Ideally, I would love to be able to finish this before I go back to uni (ironically less access to components/test equipment/etc at uni), which will be mid January. However, I appreciate Rome wasnt built in a day.
I would also like to point out that this has nothing to do with _any_ uni work/assignments/etc, I am just itching to do something.
What should I next look into?
Regards,
Sparky
I'm interested in building a GPS logger and transmitter for a weather balloon. I am wanting to avoid arduinos for this project, thinking that using a 'proper' microcontroller will fair me better in terms of me actually _learning_ something. However, I have not done any really serious programming before, and this is where I am lost. At uni we have concentrated on C++ for consoles, so I would think that C would probably be the best suited language for me. I have a pic18f4520 dev kit too, so if we could base the project on that, that would be really great. Below is a very simple sketch of my overall plan.
I envisage the system working by receiving a NMEA sentence, which is then read by the pic. This sentence is then written to an SD card in a .txt file and then transmitted via the radio module.
I have done a bit of research and quite like the look of this GPS module:
http://www.ebay.co.uk/itm/For-Ardui...sGames_RadioControlled_JN&hash=item5af565e741
And this radio module:
http://uk.farnell.com/radiometrix/ntx2-434-650-10/rf-module-tx-fm-434-65mhz-10kbps/dp/1348829
I reckon that hardware wise, the connection between uC and GPS module should be relatively straighforward, as it is just a case of connecting the GPS Tx to a uC input. I plan to use a standard SD card, and plan to use on uC port to control the SD card operation and writing. If I am correct I should need to connect 4 pins to the uC; Chip Select/Slave Select, MOSI, MISO, and data.
As for the transmission, I believe I can use PWM to send the data to the RF module which then transmits it.
However, here is where I kind of hit a wall. I have no idea as to where to begin with the programming. I have tried reading things like Microchip App notes, alas I am not clever enough to be able to understand them quite as much as I would like. Perhaps I have jumped the gun and need to consider more of the hardware layout, but I am now stuck. Compared to what we have done in uni, this is very different. I would describe myself as being able to figure my way around small projects on computer based C/C++, but the embedded side is very new to me.
If anyone can offer any help or advice, I would be really grateful. Ideally, I would love to be able to finish this before I go back to uni (ironically less access to components/test equipment/etc at uni), which will be mid January. However, I appreciate Rome wasnt built in a day.
What should I next look into?
Regards,
Sparky
Attachments
-
7.3 KB Views: 132