Etherten ip being reset after sending DMD data..

The Dot Matrix Display (DMD) is a 32x16 array of high-brightness LEDs for visually striking effects. [Product Page]
Post Reply
Aussie_Wombat
Posts: 51
Joined: Tue May 22, 2012 12:52 pm
Location: Adelaide, South Australia

Etherten ip being reset after sending DMD data..

Post by Aussie_Wombat » Fri May 25, 2012 2:31 pm

Hi all,

Set up manual ip, and send ip to serial

Serial.println(Ethernet.localIP()); //print out the findings.

reports ip is set to my network..(10.1.1.11)

loop through the UDP code and then DMD.drawMarquee code( no DMD output ), and ip still reports as correct when no udp bytes received.(10.1.1.11)

receive bytes over ethernet (UDP) code then DMD displays returned bytes, but then reports ip has been reset to 0.0.0.0

and nothing works again.

used
digitalWrite(10,LOW)
-DMD code-
digitalWrite(10,HIGH)
and the DMD display does not show anything and the ip stays as set (10.1.1.11). Comment out these lines and the DMD displays the text, but the ip gets reset to 0.0.0.0 when the Marquee has finished..?????

Any ideas...

Dennis

Aussie_Wombat
Posts: 51
Joined: Tue May 22, 2012 12:52 pm
Location: Adelaide, South Australia

Re: Etherten ip being reset after sending DMD data..

Post by Aussie_Wombat » Sat May 26, 2012 2:17 am

Some output from the serial..

Firstly with setting pin 10 LOW then run the dmd code, then set pin 10 HIGH. There was no output on the DMD at all, but the time between the ip logging was as if it was outputting the marquee..

Code: Select all

Serial output
**********************************************
10.1.1.11
returned data

10.1.1.11
returned data

10.1.1.11
returned data

10.1.1.11
returned data

10.1.1.11
returned data

10.1.1.11
Received packet of size 144
From 10.1.1.4, port 56526
Contents:
This is going to be the test to see if it can handle a long string of text I mean a long string of text , so now some symbols !@#$%^&*(){}[]:";'
returned data
This is going to be the test to see if it can handle a long string of text I mean a long string of text , so now some symbols !@#$%^&*(){}[]:";'
10.1.1.11
returned data

10.1.1.11
returned data

10.1.1.11
returned data

*************************************************
Now the serial output with the pin 10 LOW/HIGH commented out... The DMD displays the text returned from the UDP....

Code: Select all

Serial output
*************************************************


10.1.1.11
returned data

10.1.1.11
Received packet of size 144
From 10.1.1.4, port 56526
Contents:
This is going to be the test to see if it can handle a long string of text I mean a long string of text , so now some symbols !@#$%^&*(){}[]:";'
returned data
This is going to be the test to see if it can handle a long string of text I mean a long string of text , so now some symbols !@#$%^&*(){}[]:";'
0.0.0.0
returned data

0.0.0.0
returned data

***********************************************************************
IP reports back as 0.0.0.0
Is DMD corrupting the ethernet, by using the same pin as SS??
Can I change the SS pin for the DMD to another pin ( NOT D10 )?
Will try to jumper a new SS pin to the DMDCON, and check it out.....

Aussie_Wombat
Posts: 51
Joined: Tue May 22, 2012 12:52 pm
Location: Adelaide, South Australia

Re: Etherten ip being reset after sending DMD data..

Post by Aussie_Wombat » Sat May 26, 2012 9:21 am

Hi all,

problem was power supply problems ..

Added the power pack and all is ok now... (not just usb power)

Thanks to everyone that helped :oops:

Cheers Dennis

Post Reply