Pages: [1]   Go Down
Author Topic: Changing NMEA Baud Rate  (Read 1102 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quick query.

I have a Arduino Uno.

My Idea is inputing NMEA data at example 38.4K baud rate and output it at exsample 4.8K baud rate using the TX (1) and RX (0) pins.
Is this possible? With this board or any other?

Thanks in advance.
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 525
Posts: 26548
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure - you can use Serial.begin with the new baud rate in between sending and recieving and sending ...
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 12
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Someone about 2 years ago was working on a PIC project where several microcomputer boards on a yacht type boat would be the interfaces to engines, electrical management, lighting, winches etc, and talk NMEA 4800 out. The idea was another micro would be a receiver/multiplexor and send all the data to existing display/control systems..  There are commercial multiplexors for NMEA but I don't know if they do other than 4800.

Might be something on boatdesign.net

newsoftserial is very well written bit-bang serial and key to something like this. Are there existing examples of baud rate translation projects??



 
Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 525
Posts: 26548
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you wanted to bring in a burst of data via the hardware UART and buffer it up, and dole it out slower via newsoft serial, or adding another hardware modem chip, or using a uC that had more UARTS, that could certainly be done. Implement a protocol to keep the sending from overrunning you while you fed out the slower data.
Depending on arduino model selected, the amount you buffer (in RAM say) would range from small to slightly more unless external hardware was added.
Compare the  Uno/328 to the Sanguino/644 (or upgrade to 1284), Mega1280, Mega2560.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: