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
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.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- cmurtaugh
- Posts: 3
- Joined: Sun Oct 17, 2021 8:46 am
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino Duemilanove and older ethernet shield
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
https://learn.adafruit.com/memories-of- ... ot-dot-dot
- cmurtaugh
- Posts: 3
- Joined: Sun Oct 17, 2021 8:46 am
Re: Arduino Duemilanove and older ethernet shield
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
Thanks!
--Colin
- cmurtaugh
- Posts: 3
- Joined: Sun Oct 17, 2021 8:46 am
Re: Arduino Duemilanove and older ethernet shield
FWIW, I was able to get the Adafruit_MQTT library working, so I have a path forward.
Thanks again!
--Colin
Thanks again!
--Colin
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino Duemilanove and older ethernet shield
Good to hear you found a solution. Thanks for the update.
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.