What I'm interested in doing is connecting both an ethernet module AND a touchscreen to my unit.
Just kinda looking to the community for some ideas, suggestions, feedback, etc
I think it would be simple enough to connect one OR the other via serial and borrow the wifi library. I'm not really sure on the best way to use both these units together though.
Hardware I have right now is;
- Arduino Uno
- Arduino Leonardo
- 2x Ethernet Shields
- 2.8" TFT TouchScreen Shield (Seeed Studio model)
- Plus random parts, shields, etc acquired over time.
* I pretty much capped my spending allowance for a while on the two RA+ units so I have to make due with what I have for now lol.
I'm going off the info from another thread for the Ethernet portion of the setup (I can't post links)
Since the touchscreen consumes a ton of pins, I don't see any way of piggybacking the touchscreen and ethernet shield together.
Touchscreen Pin Assignment: Digital 2-17! (illustrated seeestudio wiki page TFT_Touch_Shield_V1.0)
First idea to come to mind is:
Leonardo/Touch <-> Uno/Ethernet Module <-> RA+
Leonardo RX/TX serial pin <-> Uno SoftwareSerial on unused pins
Uno TX/RX pins <-> RA serial.
Communication between the Leonardo/Touchscreen would be forwarded to/from the Uno/Ethernet
Is there a better way? A way to go directly to the RA vs. through the ethernet/uno?
As to why I would want the touchscreen AND the ethernet?
Mainly because I want the ability to quickly toggle relays without my phone, tablet, computer, etc.