Page 1 of 1

Uploading a code to Controllino MINI

Posted: Tue Dec 18, 2018 1:27 pm
by Prisma
Hi! I'm totally new in the arduino World and i got some questions about uploading a code (in arduino Ide):

When i upload a code to Controllino, how could i be sure that the code is IN the Controllino?
When a i press "upload" the Controllino's led from the input (IN1) lights a orange led, is this the signal of a uploaded code?
Please i need to upload mi code u.u

Re: Uploading a code to Controllino MINI

Posted: Tue Dec 18, 2018 1:43 pm
by ABeTEC
Hello Prisma!

Yes. Look:
When you press on the Upload button at the Arduino IDE (after installing the drivers and plugins of Controllino to the IDE, what you already did), the IDE first compiles your code again, and if there are no errors, it uploads it to the Controllino.

Since the pins to transmit the code into the Controllino (into the processor) are the same than TX and RX of the RS232 Serial port (TX = Transmit, RX = Receive) and some orange LED's are connected also to the same pins, they will blink for any communication between your PC and the Controllino.

After looking at the blinking of this LED's, you can be sure that the code is uploaded.
And, if you want more, you can connect the Controllino to the supply (batteries, transformators, etc) and look if it does what you wrote on your code.

Sure it exist some software to compare the contect of the Controllino with your compiled code. But I think it isn't necessary.

Wbr,
Alfredo

Re: Uploading a code to Controllino MINI

Posted: Tue Dec 18, 2018 8:53 pm
by ivan
Hi Prisma,

in addition to the answer before (thanks ABeTEC!): if you get no errors in the Arduino IDE after uploading and it says "Done uploading." in the green field on the bottom of the IDE...

Image

...then you can be almost sure that everything went fine. Just try it out with some simple code, like the LED blink example. Don't forget to use Pin #4 instead of #13 like seen in the screenshot or in the Blink example from Arduino IDE.

Also, check out the Tutorials section on the CONTROLLINO homepage for some examples and how-tos to get started quickly.