Monday, May 25, 2020

Arduino Tutorials #5 - How to RESET Arduino

In the video, this section of the post starts at 7:15min mark and it is demonstrated using a simple LCD connection

To rest an Arduino UNO board just click the Reset button which will reset the board to its initial state

Thank You For Reading Guys !!!

Arduino Tutorial #4 - How to generate HEX file for software simulation

In the video, this section of the post starts at 6:00min mark

To generate a HEX file for simulation, first, create a sketch and then save the sketch inside a folder.

Next, compile the sketch using the tick button

After that Go to Sketch & click on Export Compiled Binary to export the HEX file

Next, open any Simulation software like Proteus which supports Arduino and create the circuit according to your sketch and link the HEX standard file by double-clicking on the controller chip to simulate your circuit.

Thank You for reading Guys !!!

Arduino Tutorial #3 - How to access built in serial monitor of Arduino IDE

In the video, the serial monitor section begins @ 5:35min mark

To explain built-in serial monitor I have connected a Trimmer(pin1 to GND, center pin to A0 & pin 3 to 5V) to the Arduino & powered it ON and uploaded the sketch AnalogReadSerial from the library

Now to open the serial monitor go-to tools & click on Serial Monitor

Now as you can see when I adjust the trimmer the value changes in the Serial Monitor. To get the values to the serial monitor you need few statements written in the sketch (detailed explanation can be found in the latter part of the post)

Important statements should be written and steps to take to get the values in the Serial Monitor

1. Serial.begin(9600); - this statement will always be declared inside the Void Setup() {} This initializes serial communication at 9600 bits per second.

2. Serial.println();  - This statement prints values in the Serial Monitor

3. In the serial monitor make sure that you set the baud rate to 9600 which will be in the right-hand bottom corner