Allowing an Uno and Teensy 3.6 to talk to each other

Starting up a project involving a Teensy 3.6 running a 64x64 pixel display. And a Uno running a 2.8" TFT Touch Shield.
End objective: 6 - 8 icons on the TFT, when 'clicked on' will send a signal to the Teensy, aprox 50 ft away to tell it to display a corresponding image on the 64x64. Teensy will then echo back to the Uno that the display is on/ or if a short video, that the video has ended.

I am trying to understand the best way for Teensy and Uno to talk to each other. And possibility what pins to use.

UART serial works well over that distance, but logic level shifters are required when connecting I/O pins between 3.3V (Teensy) and 5V (Uno) devices. Otherwise, there are lots of options with radio modules.

50 ft might still be good enough to go just with Serial (with a voltage adapter) with a quality cable.

Worth trying …

Then you go either with pins 0 and 1 (and GND) on the UNO if you don’t need the serial monitor or any other pin using software serial.

On the teensy you can have multiple UART so you should use a hardware based one.

Then I would suggest to study Serial Input Basics to handle the command language

@jremington Thank you for pointing out the voltage difference between the two, I totally forgot about that!
@J-M-L Noted about using the software serial. I did use that in a previous project, so that should'nt be too hard to replicate. (As I am sure i am going to want the serial monitor on pins 1 and 0 during testing.

Realistically the distance should be no longer than 25ft. I am figuring on using some Cat6 to carry the signal between the devices.

@J-M-L Could I also swap out the Uno for a nano and just run it at 3.3v and skip out on the shift register? (Both devices will be running off the same power supply. )

A nano runs at 5V too

The Pro Mini (with 3.3V option) would be a better choice for direction connection, but you need a programming adapter like the FTDI or my favorite from Pololu, which is the most versatile programmer available for AVR boards.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.