Monday 21 October 2019

FM Transmitter 25 Watts ( 88 - 108 MHz)

This Transmitter is made from the MP3 modulator with having 5 stages

with a maximum 25 Watts RF power


Driver circuit between modulator & RF section below 

coil will be  0.1 mH














Monday 8 July 2019

Arduino Bluetooth Remote Control (Updated )

Arduino Bluetooth  Remote Control

Output taken from Ardiuno 2 & 4 pins, Bluetooth device connected at 6 & 7 pins

For 30Amps Relay 2SC1384 used connected to pin 2, C945 for 10 Amps Relay connected to pin 4 . In Android application Buttons 1 & 3 will work.
Search Bluetooth device first enter 0000 password, 
Now start app in Android  press connection button ,it will be green  below it show the connection status 
Then you on or off any Appliances

Application link:







KIT: 3,000 PKR

#include <SoftwareSerial.h>
SoftwareSerial mySerial(7, 6);
#define relay1 2
#define relay2 3
#define relay3 4
#define relay4 5
char val;
void setup() {
pinMode(relay1,OUTPUT);
pinMode(relay2,OUTPUT);
pinMode(relay3,OUTPUT);
pinMode(relay4,OUTPUT);
digitalWrite(relay1,LOW);
digitalWrite(relay2,LOW);
digitalWrite(relay3,LOW);
digitalWrite(relay4,LOW);
mySerial.begin(9600);
Serial.begin(9600);
}
void loop() {
//cek data serial from bluetooth android App
while ( mySerial.available() >0 ) {
val = mySerial.read();
Serial.println(val);
}
//Relay is on


if( val == '1' ) {
digitalWrite(relay1,HIGH); }
else if( val == '2' ) {
digitalWrite(relay2,HIGH); }
else if( val == '3' ) {
digitalWrite(relay3,HIGH); }
else if( val == '4' ) {
digitalWrite(relay4,HIGH); }
//relay all on
else if( val == '9' ) {
digitalWrite(relay1,HIGH);
digitalWrite(relay2,HIGH);
digitalWrite(relay3,HIGH);
digitalWrite(relay4,HIGH);
}
//relay is off
else if( val == 'A' ) {
digitalWrite(relay1,LOW); }
else if( val == 'B' ) {
digitalWrite(relay2,LOW); }
else if( val == 'C' ) {
digitalWrite(relay3,LOW); }
else if( val == 'D' ) {
digitalWrite(relay4,LOW); }
//relay all off
else if( val == 'I' ) {
digitalWrite(relay1,LOW);
digitalWrite(relay2,LOW);
digitalWrite(relay3,LOW);
digitalWrite(relay4,LOW);
}
}


Friday 5 April 2019

Arduino GPS Tracker


Below is a complete GPS GSM Car Tracker

                  HEX not for free

Having a below  specifications:


1). Get GPS coordinates by sending a SMS.

2). Get alert if door or bonnet open.


3). Lock your car any time by sending SMS.


4). Get Call & SMS while some one open the door or bonnet


 Here in this project were need up to 5 VDC for GSM ,GPS , controller & relays .

Following  parts were used:

1). 3V to 5V DC Step up 
2).  3.7 , 2Amps mobile battery 
3). Car charger 2Amps
4). On/off button
5). 1000uf ,16v capacitor
6). Small size Rectifier bridge 

    ----------------------------------------


check video:


https://www.youtube.com/watch?v=QGYTBDkDp_o&t=13s























   

Monday 11 February 2019

GSM Based Home Automation System using Arduino

Below mentioned simple GSM arduino project where you can control any thing through GSM module . 
Here SIM900A used , need 3.7 , 2 Amps power supply must for SIM module , ground must common .



Image result for sim900aImage result for arduino uno
Simple AT commands use to get output from the module , Pin 7 & 8 of Arduino used as TX & TX for GSM module .  for controlling any appliance any pin can be used  



Codes are below



#include <SoftwareSerial.h> // Library for using serial communication
SoftwareSerial SIM900(8, 7); // Pins 7, 8 are used as used as software serial pins

String incomingData;   // for storing incoming serial data
String message = "";   // A String for storing the message
int relay_pin = 9 ;    // Initialized a pin for relay module

void setup()
{
  Serial.begin(115200); // baudrate for serial monitor
  SIM900.begin(9600); // baudrate for GSM shield

  pinMode(relay_pin, OUTPUT);   // Setting erlay pin as output pin
  digitalWrite(relay_pin, HIGH);  // Making relay pin initailly low

  // set SMS mode to text mode
  SIM900.print("AT+CMGF=1\r");  
  delay(100);
  
  // set gsm module to tp show the output on serial out
  SIM900.print("AT+CNMI=2,2,0,0,0\r"); 
  delay(100);
}

void loop()
{
  //Function for receiving sms
  receive_message();

  // if received command is to turn on relay
  if(incomingData.indexOf("Led_on")>=0)
  {
    digitalWrite(relay_pin, LOW);
    message = "Led is turned ON";
    // Send a sms back to confirm that the relay is turned on
    send_message(message);
  }
  
  // if received command is to turn off relay
  if(incomingData.indexOf("Led_off")>=0)
  {
    digitalWrite(relay_pin, HIGH);
    message = "Led is turned OFF";
    // Send a sms back to confirm that the relay is turned off
    send_message(message);
  }        
}

void receive_message()
{
  if (SIM900.available() > 0)
  {
    incomingData = SIM900.readString(); // Get the data from the serial port.
    Serial.print(incomingData); 
    delay(10); 
  }
}

void send_message(String message)
{
  SIM900.println("AT+CMGF=1");    //Set the GSM Module in Text Mode
  delay(100);  
  SIM900.println("AT+CMGS=\"+92xxxxxxxxxx\""); // Replace it with your mobile number
  delay(100);
  SIM900.println(message);   // The SMS text you want to send
  delay(100);
  SIM900.println((char)26);  // ASCII code of CTRL+Z
  delay(100);
  SIM900.println();
  delay(1000);  
}