solarsamuel
New member
Hello,
I'm working on a project where the big picture goal is to stream data from a raspberry pi 4 to a Teensy in HID keyboard mode to a computer screen.
A button is pressed on the raspberry pi and the raspberry pi transmits characters to the Teensy and the Teensy then sends the same characters to a computer via HID keyboard mode. The characters appear in the program or interface on the computer (could be notepad, URL search bar, any interface really).
Has anyone tried something like this, or seen anything like this before?
There seem to be a few ways to do this, and here is what I'm thinking, but I'd like feedback.
Raspberry Pi 4 ---------->
If raspberry pi button is pressed then transmit characters, for example "I love Teensy" as I2C master (could be via serial or other means if needed). The raspberry pi code could be written in python, C++, or other.
----------> Teensy 3.6 in HID keyboard mode ------------>
Data, for example "I love Teensy" is received as an I2C slave. This data is then buffered if needed, or sent directly to the computer. Code would be written in Teensyduino on the Arduino IDE.
----------> Laptop connected to Teensy via USB
Computer is connected to the teensy via USB cable. Characters, for exampled "I love Teensy" are "typed" into the program(s) on the machine like notepad, terminal, excel, etc... and appear on the computer screen.
Anyone tried anything like this before?
I'm working on a project where the big picture goal is to stream data from a raspberry pi 4 to a Teensy in HID keyboard mode to a computer screen.
A button is pressed on the raspberry pi and the raspberry pi transmits characters to the Teensy and the Teensy then sends the same characters to a computer via HID keyboard mode. The characters appear in the program or interface on the computer (could be notepad, URL search bar, any interface really).
Has anyone tried something like this, or seen anything like this before?
There seem to be a few ways to do this, and here is what I'm thinking, but I'd like feedback.
Raspberry Pi 4 ---------->
If raspberry pi button is pressed then transmit characters, for example "I love Teensy" as I2C master (could be via serial or other means if needed). The raspberry pi code could be written in python, C++, or other.
----------> Teensy 3.6 in HID keyboard mode ------------>
Data, for example "I love Teensy" is received as an I2C slave. This data is then buffered if needed, or sent directly to the computer. Code would be written in Teensyduino on the Arduino IDE.
----------> Laptop connected to Teensy via USB
Computer is connected to the teensy via USB cable. Characters, for exampled "I love Teensy" are "typed" into the program(s) on the machine like notepad, terminal, excel, etc... and appear on the computer screen.
Anyone tried anything like this before?