🚚 Free delivery on orders over: €35 Croatia • €60 EU • $100 US

HOW TO PROGRAM DASDUINO CONNECT FROM ARDUINO IDE?

HOW TO PROGRAM CRODUINO NOVA FROM ARDUINO IDE?-Uncategorized

Your Dasduino Connect arrived and it’s time to get started? This is the right tutorial! Learn how to “implement” the necessary options for your Connect in your Arduino software and start with the programming!

HOW TO PROGRAM DASDUINO CONNECT FROM THE ARDUINO SOFTWARE?

STEP 1: First, we must install Arduino IDE (software). If you still haven’t done it, you can find directions for that here. For this procedure, you must install Arduino IDE 1.6 or newer version. If you have older version, deinstall it and install new one using this tutorial.

And also, if you don’t have drivers for CH340C, install them. Directions are here.

STEP 2: Open Arduino IDE. Go to File->Preferences on Windows, and if you are using OS X, go to Arduino->Preferences. You will see a field called Additional Boards Manager URLs. Copy next link on that spot:

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Confirm with OK.

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

STEP 4: On the bottom of the list, as a last item, there is esp8266 by ESP8266 Community. Choose as version 2.0.0(or the newest one in the moment of installation) and click Install.

STEP 5: The process itself will take some time, and after it is finished, feel free to close the Boards manager. Now under Tools-> Board, you have some new options. Choose Generic ESP8266 Module.

STEP 6: Now under Tools-> Board we have really a lot of options. The changes that still need to be done are: under the Flash size, choose 4M (1M SPIFFS) and as reset method: nodemcu. Of course, we need to select the appropriate serial port.

That’s it! You have successfully set the Arduino IDE for use with Dasduino Connect.

 

 

HOW TO WRITE CODE FOR CONNECT?

All that is true for Dasduino generally applies to Dasduino Connect. So all the functions, types of variables, the principle SETUP and LOOP’s. There are small details that do not work in Connect, but it is more for advanced users anyways. All details about ESP8266 core-in for Arduino can be found on the official GitHub.
This example will make our LED light that is connected to GPIO13 on Connect blink. We should solder a jumper on the lower side of plates to make LED actually blink.

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