0

Is it possible to write a program to control the Arduino Uno, without using the Arduino IDE?

  • Do you mean without the IDE or using other IDEs? – gre_gor Jun 16 '17 at 12:27
  • In addition to alternate ways to write "Arduino" programs you can also directly target the ATmega328 without using the Arduino stuff at all. Though as a practical matter, the easiest way I've been able to ask someone got get avr-gcc and avrdude installed for such a project is to ask them to install the Arduino IDE and then look in the directory where a given version puts the compiler and flashing tool. – Chris Stratton Jun 16 '17 at 19:38
  • 1
    Possible duplicate of What are the other IDEs for Arduino? – sa_leinad Jun 17 '17 at 11:27
  • Possible duplicate of Running Arduino IDE in terminal? – gre_gor Jun 17 '17 at 14:06
  • Or is the question, if it's possible to make a program on a PC, to communicate with the Arduino, without the Serial Monitor inside the Arduino IDE? – gre_gor Jun 17 '17 at 14:09
1

I assume you mean the Arduino IDE?

Yes there are many options, for example plugins for Eclipse or Microsoft Visual Studio.

This link show others like:

  • CodeBender
  • Electron
  • Stino
  • GEdit
  • Komodo

Personally use normally the default Arduino IDE, but I don't like the fact you can use just a few files before it does not fit In the top bar, so than I use the Visual Studio plugin VisualMicro.

1

Most of the time I wrote code for arduino on codeblocks.

The other times on sublime text.

So the answer is yes.

1

You can program the Arduino hardware without using the Arduino IDE. Using avr-gcc and a handful of other tools, including make and avrdude, you can compile and download to the target Aduino hardware. You can even dispense with the Arduino bootloader, and program the hardware using the common ICSP interface. To do this, you need a hardware programmer, but you can make another Arduino into one very easily. Using this method frees up the space used by the bootloader for your own code. Naturally, you use the editor of your choice. For a bit of a taste, have a look at the Adafruit page on programming a trinket (technically not an Arduino, but the methods still apply).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.