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.
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.
Sure - you can use Serial.begin with the new baud rate in between sending and recieving and sending ...
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??
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.