Arduino Duemilanove and older ethernet shield

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
cmurtaugh
 
Posts: 3
Joined: Sun Oct 17, 2021 8:46 am

Arduino Duemilanove and older ethernet shield

Post by cmurtaugh »

Hi --

I'm trying to use the AdafruitIO Arduino library with an Arduino Duemilanove and and older ethernet shield (EthernetW5100). I'm trying to run the adafruit_00_publish example, but I'm not seeing any data in the Adafruit IO dashboard, and I'm not seeing anything at all on the serial monitor.

Should the library work with this hardware?

Thanks!
--Colin

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino Duemilanove and older ethernet shield

Post by adafruit_support_bill »

The Duemilanove is an Atmega328-based board and has only 2K of SRAM to work with. You may be running into memory problems. This guide has some tips on diagnosing memory problems and optimizing memory usage:

https://learn.adafruit.com/memories-of- ... ot-dot-dot

User avatar
cmurtaugh
 
Posts: 3
Joined: Sun Oct 17, 2021 8:46 am

Re: Arduino Duemilanove and older ethernet shield

Post by cmurtaugh »

Ah, gotcha! I was able to get the connection to work by commenting out the line where the counter is defined and the one where counter->save() is called, but it makes sense that this 12-year-old board is probably the issue :-)

Thanks!
--Colin

User avatar
cmurtaugh
 
Posts: 3
Joined: Sun Oct 17, 2021 8:46 am

Re: Arduino Duemilanove and older ethernet shield

Post by cmurtaugh »

FWIW, I was able to get the Adafruit_MQTT library working, so I have a path forward.

Thanks again!
--Colin

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino Duemilanove and older ethernet shield

Post by adafruit_support_bill »

Good to hear you found a solution. Thanks for the update.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”