Serial Pins on the Expansion Dock?
-
I am not sure you follow me. That page you link to talks about a USB-TTY adapter.. I am talking about the UART on board the Omega itself. According to the pinout diagram the UART TX and RX are next to the Ethernet pins. But where are they linked to on the expansion dock? Are they linked on the expansion dock? Can I talk to the Omega UART directly? I have tried tracing the tracks on the back of the expansion dock but I am not even sure if UART-RX pin is connected to anything?
-
@T-NT The Serial TX and RX pins are not broken out on the Expansion Dock header. They are connected to the USB-to-Serial chip that allows you to access the serial terminal via USB.
-
@T NT
@Luciano-S. , I am not sure you follow me.
You are right ... i was not sure on the moment i just hat clicked on the Submit button
But after I made further researches and could not figure it out either.My conclusion was, if it not helps you, it helps someone who made a misinterpretation of your title as i made.
-
@Lazar-Demin said:
@T-NT The Serial TX and RX pins are not broken out on the Expansion Dock header. They are connected to the USB-to-Serial chip that allows you to access the serial terminal via USB.
Hmm Ok now I am confused.. because there are USB pins D+ D- on the Omega separately as well. What are those pins connected to then? Can I use them as a USB connector too?
-
@T-NT The Serial Terminal is accessed through the micro-USB port, the USB D+ and D- pins that are broken out on the header are the USB Host signals that are connected to the USB A port.
-
Hmm I see. So bottom line is unless I run without a dock I cannot access the UART directly. Fair enough, puts rather a crimp on using some UART RFID modules I have but I have some others that are i2c/SPI but I'd need to make another board to use them. Hey ho.
Thanks.
-
@T-NT
Unfortunately, yes.I2C/SPI
Definitely workable, I've used a breadboard to access other I2C based chips. And I'm currently working on the GPIO SPI driver, so stay tuned for that.UART
The Arduino Dock actually exposes the Omega UART TX and RX on a header, so you can use the direct UART connection there.
Another solution: USB-to-UART adapter, we actually sell them in the Onion Store: https://store.onion.io/collections/accessories/products/usb-to-uart-adapter
-
@Lazar-Demin said:
@T-NT
Unfortunately, yes.I2C/SPI
Definitely workable, I've used a breadboard to access other I2C based chips. And I'm currently working on the GPIO SPI driver, so stay tuned for that.Cool. I'll be interested in that
UART
The Arduino Dock actually exposes the Omega UART TX and RX on a header, so you can use the direct UART connection there.
Another solution: USB-to-UART adapter, we actually sell them in the Onion Store: https://store.onion.io/collections/accessories/products/usb-to-uart-adapterI see.. never looked at the Arduino dock.. don't have an arduino that would fit it.
Thanks.
-
@T-NT
You don't need an Arduino
The Arduino Dock actually has the ATmega chip on it, and the shape is meant to be compatible any Arduino shields you might have lying around.
-
@Lazar-Demin This might be a dump question but is it possible to "unblock" the UART from the usb-to-serial chip?
So somemhow remove the binding of those pins to the chip (without hardware modification) and use it for my gps module instead?
-
@Benjamin-Rau No, sorry, you cannot detach the UART from the usb-to-serial chip without modifying the hardware.
A few alternatives for your problem:
- Grab an I2C to UART bridge chip
- Get a different GPS module that supports I2C or SPI out of the box
- Wait until the Onion GPS Expansion is in stock!
-
@Lazar-Demin Unfortunately i ordered the inventor kit and am waiting for the GPS expansion for about 3 months now. In 4 weeks i start a three months road trip which i bought the onion for
For now i use my Arduino as USB-to-TTL converter, now i am dealing with npm ipv6 resolution problems which makes me unable to install SerialPort npm module to read the attached ttyACM0.
"cat" is not useful here because i dont know how to do that asynchronous.
Cheers Ben
-
@Benjamin-Rau we're working on resolving the npm issue, stay tuned!
-
@Lazar-Demin said:
@Benjamin-Rau we're working on resolving the npm issue, stay tuned!
just made a link to find things faster ...