Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:20 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Read GPS & Transmit

Author Message
edu001
Regular Member

Joined: 14/07/2014
Location: United Kingdom
Posts: 82
Posted: 07:08am 15 Jul 2014
Copy link to clipboard 
Print this post

Hi

I have just purchased my first micromite

The programme I have in mind requires that I receive GPS Data on COM1 and transmit on COM2 is this possible ?

 
PicFan
Senior Member

Joined: 18/03/2014
Location: Austria
Posts: 133
Posted: 08:31am 15 Jul 2014
Copy link to clipboard 
Print this post

Yes, i think it is possible, i can not see a problem.
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 08:40am 15 Jul 2014
Copy link to clipboard 
Print this post

Hi edu001,

As PicFan says, this is possible. If you have any questions then do post them on this forum because there are plenty of people willing to help.

Why not give more details as to what you wish to achieve so that you may get inspiration from other members.

Good luck with your first project . . .

WW
 
edu001
Regular Member

Joined: 14/07/2014
Location: United Kingdom
Posts: 82
Posted: 10:27pm 15 Jul 2014
Copy link to clipboard 
Print this post

Thanks for the reply

What I am trying to do is read the gpgga NEMA data from the GPS (COM1) 9600 baud

Read the temp from the DS18B20

Then combine the 2 into a string and send to COM2 set to 50 baud

 
halldave

Senior Member

Joined: 04/05/2014
Location: Australia
Posts: 121
Posted: 02:30am 16 Jul 2014
Copy link to clipboard 
Print this post


As a suggestion use this example code to read GPS Com1:
http://geoffg.net/Downloads/Micromite/GPS_Clock.bas



' Define your Temp Port
DS18B20 START 15 ' connect to port 15

OPEN "COM1:4800" AS #1 ' open the GPS serial interface
OPEN "COM2:50" AS #2 ' open your port to write to

Do

' read some GPS Data, refer to GPS_Clock.bas

' write to Com2:
print #2, "Temperature: ",DS18B20(pin)

Loop


 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025