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

HOW TO PROGRAM DASDUINO CONNECT FROM ARDUINO IDE?

Dasduino CONNECT (ESP8266)-Dasduino & Arduino

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

HOW TO PROGRAM DASDUINO CONNECT 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

Confirm with OK.

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

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.

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 Dasduino Connect.

 

 

 

 

HOW TO WRITE THE CODE FOR CONNECT?

Everything that is valid for Arduino/Dasduino in general, is also valid for Dasduino Connect. Therefore, all functions, types of variables, SETUP principle and LOOP. There are some details that do not work with Connect, 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 Connect

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