Arduino IDE and VSCode (Arduino Microsoft dan PlatformIO)

Posted on

Arduino

The Arduino microcontroller board allows you as a developer to create various types of electronic projects that can be automated. There are several applications that can be used to program microcontrollers, such as Arduino IDE and VSCode with Arduino extensions from Microsoft and PlatformIO. This article will explain the differences between each of these software.

Arduino IDE

Arduino IDE is an open-source application that allows developers to program Arduino microcontroller boards. This IDE is specifically designed for use by novice users who want to learn to program Arduino boards. The user interface is simple with its capabilities being easy for anyone to use.

Beda Arduino IDE dan VSCode (Arduino Microsoft dan PlatformIO)
Arduino IDE 2

Pros:

  • Easy to use for beginners
  • It’s light and doesn’t require high hardware specifications
  • Free and open source

Cons:

  • Limited only to Arduino microcontroller boards and several other products such as ESP, STM32
  • Limited features and development capabilities available
  • Does not support GIT

Arduino by Microsoft in VSCode

Microsoft developed an Arduino extension that can be used with Visual Studio Code (VSCode). This extension allows you to program Arduino microcontroller boards in VSCode, which is a more powerful development environment. VSCode has additional features such as better source code management, debugging capabilities, and support for developing various types of software.

Beda Arduino IDE dan VSCode (Arduino Microsoft dan PlatformIO)
Arduino Microsoft

Pros:

  • Good integration with Microsoft development environment
  • More features and development capabilities than Arduino IDE
  • Support for several types of Arduino microcontroller boards
  • Supports GIT

Cons:

  • Limited only to the use of the Arduino microcontroller board
  • Higher learning curve than Arduino IDE

Baca juga : Upload to Github (Git) from VSCode Beginner

PlatformIO di VSCode

PlatformIO is an open-source development platform that can be used for various types of microcontroller boards, including Arduino. PlatformIO offers complete support for various board types and additional features such as unit testing, debugging, and dependency management.

PlatformIO can be used in the VSCode development environment, allowing you to leverage the power of VSCode in developing source code.

Beda Arduino IDE dan VSCode (Arduino Microsoft dan PlatformIO)
PlatformIO

Pros:

  • Supports Atmel AVR, Atmel SAM, Espressif 32, Espressif 8266, Freescale Kinetis, Infineon LPC, RISC-V, Silicon Labs EFM32, ST STM32, ST STM8, Teensy, TI MSP430, TI Tiva, WIZNet W7500.
  • Supports Arduino Frameworks, CMSIS, ESP-IDF, ESP8266 RTOS SDK, Freedom E SDK, Kendryte Standalone SDK, Kendryte FreeRTOS SDK, libOpenCM3, mbed, PULP OS, SPL, STM32Cube, WiringPi, Zephyr RTOS.
  • Complete features and development capabilities
  • Support for dependency management and unit testing
  • Supports GIT

Kekurangan:

  • Higher learning curve than Arduino IDE and Microsoft’s Arduino extension in VSCode
  • Requires higher hardware specifications than Arduino IDE

Baca juga : Cara Program ATtiny13 Dengan Arduino

The choice of software depends on the user’s needs. If users are just learning to program Arduino microcontroller boards, then Arduino IDE is the right choice. If users want to take advantage of a more powerful development environment, then the Arduino extension by Microsoft in VSCode can be considered. However, if users want complete support for various board types and additional features, then PlatformIO in VSCode is the best choice.