Let's Make Robots!

Alternate Arduino IDE

My project is getting pretty complex, and now i have started using different "voids" other than setup and loop.

Im sure i have seen people using an "alternate" IDE to the standard Arduino one.

One which lets you minimise brackets, to de clutter the work space.

Can anyone reccomend me an alternate IDE,, assuming i didnt imagine it?

are there various ones with advantages and disadvantages?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Try this one. Personally, I like the editor itself like other program has better function than plain original Arduino IDE. The bad part is: it's very picky on your board. I was having hard time with other clone Arduino.

http://www.robotc.net/download/arduino/

Separating related code into it's own file(s) also helps reduce clutter.  It can have other advantages, too, like speeding up compiling when your program gets large and making that code available for other projects.  For instance, if you have a large amount of code for sweeping an ultrasonic sensor and keeping the measurements, you could put that into its own file and reuse it in a later project.  You only need to look at/deal with that code when you need it.  That reduces clutter and makes it easier to find what you need at any given time.  I don't know how the Arduino IDE handles separte files, but I'm sure plenty of others here can tell you.  There is a bit of a learning curve with it, but it isn't too hard.  Well worth it in the long run.

Seperate files is damn useful.

I am not so familiar with arduino development. I am mostly a C# or python guy, learning C at the moment aswell.

In C# each one of my classes gets its own .cs file unless its like 5 or 6 lines in which case I tend to stick it on the end of the nearest .cs it matches up with. Visual Studio then lets you arrange .cs files into folders so lets say I was writing a program for the netduino (.netMF based microcontroller, basically programmed in C#) and I had 3 or 4 classes related to rangefinding (I might be using both ultrasound and IR in my project) then I could create a folder called "RangeFinder" and in that folder keep my 3 or 4 .cs files neatly tucked out of the way yet easy to find when I need them.

That's what happens when you use the Tabs. Each Tab is a seperate file in the folder.

There is a great plug-in for Arduino that is available for Microsoft Visual Studio. Visual studio is one of the best IDEs out there and the plugin is very stable.

In Visual Studio (with Arduino plugin) you can:

  • Go To Definition (F12) that lets you jump directly where your variable, object or function is defined.
  • Find all references (Shift-F12) that gives you all locations where your variable, object or function is used
  • Intellisense that gives you a dropdown list of available methods for any object. Both built in and your own.
  • Autocomplete functions so if your type while<tab><tab> your get;
                while (true)
                {
                   
                }
  • With the debug option your can set breakpoint in your code and monitor values as the processor is running. This is not as good an implementation as you find in .NETMF but still beats the heck out for Serial.println(value);

The drawback is that its only available for the professional version of Visual studio (as the plugin option is only available there). But you can try it out for 90 days for free.

http://www.visualmicro.com/

 

MariaMole – an alternate Arduino IDE aimed at advanced users http://hackaday.com/2012/11/29/mariamole-an-alternate-arduino-ide-aimed-at-advanced-users/

That looks really interesting. I'm goint to try this one out.

That is the one i saw i think!

However my primary OS installation is Ubuntu. I have Windows, but only use it for running Steam. (compooper games). So im out of luck for now

OddBots tab suggestion has sorted out what I needed ideally though. So im pleased :)

Ahhh, an other Linux user, yeah!

You have the perfect IDE right there under your fingers. The shell and a decent terminal application.

I write almost all my code directly in vi(m) and then simply flip a tab to compile, upload and start serial monitor. Do you need more files open at the same time, more tabs, or break them out to separate windows. Investigate how to write Makefiles.

No fancy integration here please!

 

Our LMR fellow Jantje from Belgium is working on this one. An Eclipse Plugin for Arduino. As soon as you are on Eclipse the IDE's C++ language support will boost you.