Arduinos sending data between each other
Moderators: adafruit_support_bill, adafruit

Arduinos sending data between each other

by drummerboyx on Fri Dec 07, 2012 6:58 am

Hey!

So I have two Arduinos. One is a Duemilanove and one is a Nano. The Duemilanove receives DMX data, and I want to send 5 channels of the data to the Nano to send over the serial port to my computer. I can't use the Duemilanove to do that, because it's communicating with the timer chip (for DMX receive). I don't think I can use digital read/write and connect 5 wires to the digital outs of one to the digital ins on the other right? Because digitalRead/Write can only produce HIGH and LOW.

Any ideas on how to do this?
drummerboyx
 
Posts: 80
Joined: Wed Feb 10, 2010 6:36 am

Re: Arduinos sending data between each other

by adafruit_support_bill on Fri Dec 07, 2012 7:19 am

I want to send 5 channels of the data to the Nano to send over the serial port to my computer. I can't use the Duemilanove to do that, because it's communicating with the timer chip (for DMX receive).

You should be able to use SoftwareSerial on the Duemilanove to send it back to the computer. Unless I am missing something, having a Nano as a middle-man doesn't offer much value.
User avatar
adafruit_support_bill
 
Posts: 29057
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduinos sending data between each other

by drummerboyx on Fri Dec 07, 2012 7:58 am

Well it's communicating with the timer chip at 25,000 baud through the serial port - so it's in use. I need another Arduino to send the incoming DMX data to my computer using serial.
drummerboyx
 
Posts: 80
Joined: Wed Feb 10, 2010 6:36 am

Re: Arduinos sending data between each other

by drummerboyx on Fri Dec 07, 2012 7:59 am

OH! SoftwareSerial!!! BRILLIANT :) I'll definitely try that out asap. Thanks, a lot!
drummerboyx
 
Posts: 80
Joined: Wed Feb 10, 2010 6:36 am