Serial Pins on the Expansion Dock?
-
@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 ...