The Arduino is an open source prototyping platform based on the Atmel Atmega series micro controllers used for different applications like making a led turn off and on, home automation, robotics and many more. Arduino is based on easy to use, flexible, hardware and software. It’s made for artists, designers, engineers, hobbyists and anyone with the slightest interest in programmable electronics.
You need to get an Arduino board (obviously), there are different Arduino boards to choose from personally I recommend the Arduino Uno for beginners, The UNO is the best board to get started with electronics and coding. If this is your first experience tinkering with the platform, the UNO is the most robust board you can start playing with. The UNO is the most used and documented board of the whole Arduino family. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. For more information click here
Download the Arduino software for free at https://www.arduino.cc/en/Main/Software and install (if you purchased our starter kit the Arduino IDE is in the pack), the installation shouldn’t take long depending on your internet speed, the Arduino IDE look like this
Connect your Arduino to your laptop/desktop with the serial cable, when connected the on-board LED should come on. To set it up, in your Arduino IDE go to “Tools>>Boards” to select the type of board you are using and go to “tools>>port” to select the port the Arduino is connected to.
Once that is done you can test your board by going to “File>>Examples>>Basics”
My personal favourite is Blink because it’s easy to setup and who doesn’t love blinking lights. You don’t need any external circuitry because the Arduino comes with an on-board LED. Click on the verify button below the File button then upload the code to the Arduino by clicking on the upload button next to the verify button then Viola! You have done your very first Arduino project (if you get an error check your connection). You can have fun by changing the values of the
delay(); in the code .
To make an external LED blink you will need some other components
-Resistor (10k ohms)
Connect the components as shown in the schematic diagram
Pin 4 to LED(anode)
GND to resistor
you can add more LEDS in parallel but note that the more the LED connected the dimmer they light up.
The code has been modified
Inside the loop function, the commands first of all turn the LED pin on (HIGH), then 'delay' for 2000 milliseconds (1 second), then turn the LED pin off and pause for another second. You are now going to make your LED blink faster. As you might have guessed, the key to this lies in changing the parameter in () for the 'delay' command. This delay period is in milliseconds, and so if you want the LED to blink twice as fast, change the value of 1000 to 500. This would then pause for half a second each delay rather than a whole second. Upload the sketch again and you should see the LED start to flash more quickly
I hope this tutorial has been able to get you started with Arduino check other tutorials for more fun and interesting projects you can get started with. STAY CREATIVE!
Tronic-Lab offers 3D printing services for fast prototyping, tutorials and fun electronic projects, our main product is our electronic kits that starts young ones on a lifelong journey of innovation and learning,
Connect with us on social media and stay updated with latest products, tutorials and projects!