[PD] Forwarding serial data through an Arduino (with firmata) to a serial display

Fred Jan Kraan fjkraan at xs4all.nl
Wed Jun 5 19:18:12 CEST 2013


On 2013-06-05 14:24, Ingo wrote:
> Hi everybody!
> 
> I am dealing with the problem that I have changed to a new mainboard which
> doesn't have a serial port anymore. I'm on Ubuntu Natty.
> 
> I used to send LCD display data to my remote on the normal serial port using
> [comport]. The display itself has a serial interface. The remote uses a
> separate cable and [comport] for USB going to the arduino.
> 
> Is it possible to transfer the serial data for the display through the
> arduino using the arduinos serial out to feed the display (with a baud rate
> of 19200) ?
> 
> I still need to use firmata for all other arduino stuff.
> So it should be like an addon to firmata. Or is this already possible with
> the current firmata?
> 
> If anybody has done this before I'd appreciate any help!

I did some Arduino programming but not much with Firmata.

It is possible, but it probably means you have to create your own
firmata sketch which includes the SoftwareSerial library. With an
Arduino with more serial ports, like the Mega2560 or Leonardo, you won't
need SoftwareSerial but still a custom Firmata. You also need a
TTL-to-RS232C voltage converter between the Arduino and display.

It is probably much simpler to use a separate USB to serial adapter.
Those work out of the box with Ubuntu and you only have to change the
serial port name in your patch.
> 
> Ingo

Greetings,

Fred Jan
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 




More information about the Pd-list mailing list