Connecting the Arduino Mini is a bit more complicated than a regular Arduino board. For uploading a program into arduino mini there is the requirement of a USB to TTL converter. Here we use Mini USB adapter.
Here is an image showing the Arduino Mini connected to the Mini USB adapter.

More »
Archive for the ‘Arduino’ Category
We can read the GPS data of current position using a GPS receiver module and arduino.The circuit details and working code for arduino is given below. Just connect the Tx(TTL) pin of GPS receiver to the Rx pin of Arduino and Vcc and Gnd pins to the +5V and Gnd pin of Arduino respectively.
code: More »
GSM I/O Relay Board is a great development board for cellular and remote monitoring
applications. It is built with Triband GSM/GPRS engine. With it, you can easily monitor and control
your home from anywhere there is cell phone coverage with your GSM cellular account. Insert any
GSM SIM card and start accessing the board remotely over the cellular network via SMS/GPRS.
It is having 3 Relay ports, 3 Optically Isolated Digital Inputs, 3 Digital I/O and 3 Analog I/P
(10 bit) multiplexed with 3 nos 4-20ma current measurement channels. Out of the box you can switch
ON and OFF relays remotely by SMS/Internet, measure the Analog value like line voltage/
temperature at home, monitor and toggle the status of any GPIO pin. The Panic button and alarm
inputs at your home/office can dial your phone and report for alarm or to send you an SMS message.
More »
We can control ,thats on and off via sending sms to a particular mobile number . This is achieved by connecting an arduino and a GSM modem and uploading the following code in to the arduino . The connection details is described in http://sree.cc/electronics/arduino/test-your-gsm-modem-using-arduino .
Here control the 13th digital pin of arduino using sms containing ON or OFF.
More »
You can sent sms using your GSM modem and Aduino by the following circuiting and code. The circuit is described in http://sree.cc/electronics/arduino/test-your-gsm-modem-using-arduino .In this yo re connect the rx and tx pins of GSM modem with rx and tx pins of Arduino.
Code:
int timesToSend = 1; // Numbers of SMS to send
int count = 0;
void setup(){
Serial.begin(9600);
delay(3000);
Serial.println("AT");
delay(500);
Serial.println("ATE0");
delay(500);
}
void loop(){
while (count < timesToSend){
Serial.println("AT+CMGF=1");
delay(1500);
Serial.println("AT+CMGS=+91..........."); // send the SMS the number
delay(1500);
Serial.print("Hello..."); // the SMS body
delay(500);
Serial.print(0x1A,BYTE); // end of message command 1A (hex)
delay(5000);
count++;
}
}
You can receive sms in your mobile phone some moments after uploading the code enjoy !!!!
You can test your GSM modem is working or not using your arduino and hyperterminal in your PC.
By this you can type the AT commands directly into the hyperterminal window and you get the corresponding response from the GPS modem. The basic settings are
1. INSERT THE SIMCARD INTO SIM TRAY BACKSIDE
2. CONNECT THE GSM MODEM WITH THE ARDUINO.
PIN 1 TO VIN OF ARDUINO
PIN 2 TO GND OF ARDUINO
PIN 4 TO 5V OF ARDUINO
PIN 5(RX) TO DIGITAL PIN 2 OF ARDUINO
PIN 6(TX) TO DIGITAL PIN 3 OF ARDUINO
PIN 7 TO GND OF ARDUINO
Now upload the following code into the arduino.
code:
#include //Include the NewSoftSerial library to send serial commands to the modem
#include //Used for string manipulations
char incoming_char=0; //Will hold the incoming character from the Serial Port.
NewSoftSerial cell(2,3); //Create a 'fake' serial port. Pin 2 is the Rx pin, pin 3 is the Tx pin.
void setup()
{
//Initialize serial ports for communication.
Serial.begin(9600);
cell.begin(9600);
//Let's get started!
Serial.println("Starting Communication...");
}
void loop() {
//If a character comes in from the cellular module...
if(cell.available() >0)
{
incoming_char=cell.read(); //Get the character from the cellular serial port.
Serial.print(incoming_char); //Print the incoming character to the terminal.
}
//If a character is coming from the terminal to the Arduino...
if(Serial.available() >0)
{
incoming_char=Serial.read(); //Get the character coming from the terminal
cell.print(incoming_char); //Send the character to the cellular module.
}
}
Then
3. OPEN HYPERTERMINAL FROM WINDOWS
START>PROGRAMS>ACCESARIES>COMMUNICATIONS>HYPERTERMINAL
4. SELECT THE COMPORT WITH BAUD RATE 9600
5. TYPE “AT ” ECHO “OK” IF ECHO IS OK COMMUNICATION IS OK !!!!!!!!!
Now you can type any AT commands and verify the the output using the hyperterminal
We can connect an LCD and an Ethernet shield simultaneously with an Arduino , without interfering the pins .
In this problem we should know about the pins of Ethernet shield use in this circuit . Ethernet shield using pins
rx ,tx and digital pins 10,11,12,13 . So we don’t select these pins for the LCD connection. Thus we select digital pins 9,8,7,6,5,4 of Arduino for LCD connection .
Sample code:
/*
Connection details :
1. LCD RS pin to digital pin 9.
2. LCD Enable pin to digital pin 8.
3. LCD D4,D5,D6,D7 pins to digital pin 7,6,5,4 respectively. More »
We can connect two RFID reader simultaneously to an arduino board and get data from there serial pin without using RX0 and TX1 pin of arduino.
We can declare two new new serial port in the arduino digital pin 2,3 and 8,9 using <NewSoftSerial.h>.
Sample code is given below… More »
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.
It can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators.
Advantages of Arduino over other microcontrollers (Parallax Basic Stamp, Netmedia’s BX-24, Phidgets, MIT’s Handyboard etc) are discussed here..
The Arduino language is based on C/C++ (can be divided in three main parts: structure, values (variables and constants), and functions)










