local_dani_21
Well-known member
Hi
I'm in the middle of a project building an installation using severeal SPI-driven TFT displays using an Arduino Yun. The displays are on the 32u4-side of the yun because it's the easy way to handle multiple SPI devices using it's libraries. The images to be displayed are stored on the AR9331-side of the yun - making it very easy to upload them using WIFI or ethernet from the internet. I then use the built-in Bridge library (and it's co-libraries Process, FileIO etc.) to transfer the images from the AR9331 to the 32u4 and send them to the displays.
Since the 32u4 is very limited in flash- and RAM-memory – I ran out of space very quickly.
Then I thought maybe it would be a good idea to replace the 32u4 with a teensy! Maybe the Teensy 3.1 with a lot more flash, RAM and MHz! Looking at the Arduino Yun schema (http://arduino.cc/en/uploads/Main/arduino-Yun-schematic.pdf), it should be possible to simply put another microcontroller using UART to Arduino Yun pins 0 and 1. The level converter (yuns processor expects GPIO levels to be +- 2.5V) is already onboard the yun.
Since the Bridge libraries are only built into Arduino IDE 1.5.8 and Teensduino only works with Arduino IDE 1.0.6 I tried to backport the libraries to the "old" library Arduino 1.0.X-style - which didn't work since I know very little about Arduino libraries.
--> I would find it very cool if there was a Teensyduino that works with an Arduino IDE that has the bridge library (etc.) onboard.
One could think further: The bridge works VEERY slowly (5 minutes for 1.5 MB of data). Why not connect the processors together alternatively: If there was an USB-possibility, that would speed up things extremely! Or over Ethernet or WiFI (that wouldn't block the USB-port for programming the teensy over the Arduino IDE - if blocked, one would have to re-plug the cables all the time)!
And if the server-side of this USB-/Ethernet-/Wifi-bridge were written in a language other than one that runs only on arduino yun, would maybe be portable to Raspberry Pi or other cool servers.
I would be the greatest fan of anybody who would be able to do such things!
Best regards, Dani
I'm in the middle of a project building an installation using severeal SPI-driven TFT displays using an Arduino Yun. The displays are on the 32u4-side of the yun because it's the easy way to handle multiple SPI devices using it's libraries. The images to be displayed are stored on the AR9331-side of the yun - making it very easy to upload them using WIFI or ethernet from the internet. I then use the built-in Bridge library (and it's co-libraries Process, FileIO etc.) to transfer the images from the AR9331 to the 32u4 and send them to the displays.
Since the 32u4 is very limited in flash- and RAM-memory – I ran out of space very quickly.
Then I thought maybe it would be a good idea to replace the 32u4 with a teensy! Maybe the Teensy 3.1 with a lot more flash, RAM and MHz! Looking at the Arduino Yun schema (http://arduino.cc/en/uploads/Main/arduino-Yun-schematic.pdf), it should be possible to simply put another microcontroller using UART to Arduino Yun pins 0 and 1. The level converter (yuns processor expects GPIO levels to be +- 2.5V) is already onboard the yun.
Since the Bridge libraries are only built into Arduino IDE 1.5.8 and Teensduino only works with Arduino IDE 1.0.6 I tried to backport the libraries to the "old" library Arduino 1.0.X-style - which didn't work since I know very little about Arduino libraries.
--> I would find it very cool if there was a Teensyduino that works with an Arduino IDE that has the bridge library (etc.) onboard.
One could think further: The bridge works VEERY slowly (5 minutes for 1.5 MB of data). Why not connect the processors together alternatively: If there was an USB-possibility, that would speed up things extremely! Or over Ethernet or WiFI (that wouldn't block the USB-port for programming the teensy over the Arduino IDE - if blocked, one would have to re-plug the cables all the time)!
And if the server-side of this USB-/Ethernet-/Wifi-bridge were written in a language other than one that runs only on arduino yun, would maybe be portable to Raspberry Pi or other cool servers.
I would be the greatest fan of anybody who would be able to do such things!
Best regards, Dani
Last edited: