July 3, 2015



Arduino Integrated Development Environment:

We studied the hardware part of the arduino, now let’s concentrate on the software part. Arduino Integrated Development environment (IDE) is a place where you write your code in the C language, compile it and upload it. You have several menus available in the IDE

Arduino software


  • Serial Communication:

  • Serial communication is a type of communication where data is sent bit by bit i.e. one bit at time which is in contrast with parallel communication where several bits are sent at a time using multiple channels (buses). It is efficient and cost is also less, it is used for long distance transmission. Serial often refers to RS 232 cable. All connections to your PCs are through serial ports. RX and TX are the pins on the arduino boards for sending and receiving the data using serial communication.

  • Interrupts:

  • Why do we require interrupt?

    Let’s say your processor is doing certain task but at the same time you want it to execute some important instruction, for that you have to stop it and have to drag its attention towards more important work, for this we use interrupts, due to which CPU stops its working and provides service to more important task. Now for getting our work done you have to tell processor. Pin2 and pin3 are two external interrupt pins INT0 and INT1 respectively. When interrupt is enabled, processor stops its normal execution of program and jumps to different set of instructions which is called as Interrupt Service Routine (ISR). Interrupt can be called at different conditions such as falling edge, rising edge, low value or at changing value. We have different instructions using interrupt such as Interrupt(), noInterrupts(), attachInterrupts(), detachInterrupts().

  • Clock

  • Clock: Every microprocessor or microcontroller system has clock for data synchronization with other peripheral devices

Leave a Reply

Your email address will not be published. Required fields are marked *