So guys you want to learn Arduino IDE? let's learn how to use Arduino IDE. Do you Know, you can generate HEX file from Arduino IDE. and also you can upload program in ATMEGA categories IC's DIP as well as TQFP. using Arduino IDE. Let's learn use of Arduino IDE.
You can Dowload ZIP File from above link. and also you can download Arduino IDE for LINUX or MAC OS X from arduino.cc.
After installation open your Arduino IDE and you can see this Page.
If you have your code then paste here, otherwise Arduino IDE have it's own Examples. In this Page you can paste your copied code.
compile/ verify is just for verifying your code without hardware.
And for uploading the code press ctrl + U otherwise go through sketch > upload. or go with pictures.upload your code to your Arduino board bt selecting PORT.
Download Arduino IDE
You can Download Arduino IDE for Windows from this Link: - Download Arduino IDEYou can Dowload ZIP File from above link. and also you can download Arduino IDE for LINUX or MAC OS X from arduino.cc.
After installation open your Arduino IDE and you can see this Page.
What you need
- Arduino IDE
- Arduino Controller/Board
- USB B Cable
Upload or Compile
You can compile your code by pressing crtl + R otherwise go into Sketch > Compile.compile/ verify is just for verifying your code without hardware.
And for uploading the code press ctrl + U otherwise go through sketch > upload. or go with pictures.upload your code to your Arduino board bt selecting PORT.
If you are using USBasp programmer then you can upload program using sketch> upload using programmer. first select Programmer as a USBasp in Tools > Programmer > USBasp.
then upload your sketch.
then upload your sketch.
And select your USB port in Tools> port > COM 3. Please select your port.
If your code is handwritten ans so complicated code, then go with this auto format sketch.it helps you to know your code in better way. try it once when your code is long.
If your code is handwritten ans so complicated code, then go with this auto format sketch.it helps you to know your code in better way. try it once when your code is long.
Examples
If you are new with Arduino IDE then you can select any example of code in File > Example > Blink. Blink program is for blinking you LED continuously with some delay. You can easily find Blink program in Examples.
For output go to Serial Monitor. and check your OUTPUT.
Remember one thing if you are using Serial Monitor then please select your BAUDRATE.
Serial Monitor |
Remember one thing if you are using Serial Monitor then please select your BAUDRATE.
Here, you can go now with Arduino IDE.
Post a Comment