Can I replace the MKR1000 with the MKR1010?

Hi there,

I'd like to get my husband the components to build the following domotic greenhouse project for his birthday as it combines two hobbies of his.

This project calls for the MK1000, but I'm wondering if I could get the newer MK1010 instead without needing to amend the code? Is it backward compatible with MK1000 code?

Many thanks for your help


You do need to amend the code to use it with the MKR WiFi 1010. On the code for the master, it’s quite easy. Just change this line:

#include <WiFi101.h>


#include <WiFiNINA.h>

On the code for the slave, it’s a bit more complicated. The author of the tutorial used an Arduino Uno for the slave. The Uno has EEPROM memory, and thus has an EEPROM library that is used. However, the MKR WiFi 1010 does not have EEPROM memory, and so can’t use the EEPROM library. There is an alternate library that uses the flash memory of the MKR WiFi 1010 to allow functionality (non-volatile data storage) similar to EEPROM:
but it will require multiple lines of the slave code to be modified to use that library. We are happy to help you or your husband out with that.

Thank you so much pert! That was a really useful reply to get a sense of the complexity. I think where possible I will buy the recommended components and if we get good at Arduino and want to upgrade it, I will be back here for some help!

Thank you so much again :slight_smile:

You're welcome. I'm glad if I was able to be of assistance. It sounds like your husband is going to have a very nice birthday present!