• Worldwide Shipping

  • 24/7 Customer Support

  • FAQ
  • Worldwide Shipping

  • 24/7 Customer Support

  • FAQ

How to program Croduino NOVA2 from Arduino IDE?

Your Croduino NOVA2 has arrived and it is time to start working? This is the right tutorial for you! Find out how to "insert" options necessary for NOVA2 in your Arduino software and start programming!

How to program Croduino NOVA2 from Arduino software?

STEP 1: It is certain that we first have to install Arduino IDE(software). If you have not done it by now, find the instructions here. For this procedure you must have Arduino IDE 1.6 or more installed. If you have the old version, uninstall it and install the new one following these instructions.

Also, if you do not have the drivers for CH340, install them. The instructions are here.

STEP 2: Open Arduino IDE. Go to File->Preferences on Windows, and on OS X go to Arduino->Preferences. You will see a field Additional Boards Manager URLs. Copy the following there: http://arduino.esp8266.com/stable/package_esp8266com_index.json 

Screen Shot 2016-02-05 at 19.54.12 copy

Confirm with OK.

STEP 3: Go to Tools->Boards->Boards Manager.

Screen Shot 2016-02-05 at 20.03.25 copy

STEP 4: As the last item, at the bottom of the list is the esp8266 by ESP8266 Community. As version select 2.4.2 (or the latest at the time of your installation) and click Install.

STEP 5: The process itself does not last long, and after it is done, you can close Boards manager. Now, under Tools->Board you have some new options. Select Generic ESP8266 Module.

Screen Shot 2016-02-05 at 20.08.37 copy

STEP 6: Now under Tools->Board we have numerous options. The changes we still have to make are: select 4M (1M SPIFFS) under Flash size, as reset method: nodemcu, and under Upload speed we can select 926100. Ofcourse, you must select an appropriate serial port. After all the settings, the menu under Tools will look like this:

That is it! You have successfully adjusted Arduino IDE for use with Croduino NOVA2.

How to write the code for NOVA2?

Everything that is valid for Arduino/Croduino in general, is also valid for Croduino NOVA2. Therefore, all functions, types of variables, SETUP principle and LOOP. There are some details that do not work with NOVA2, but this is for more advanced users. All details about ESP8266 core for Arduino can be found on the official GitHub.

This example will, let's say, blink the LED connected to GPIO13 on NOVA2.

void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
Leave a Reply