Show Posts
Pages: 1 [2] 3 4 ... 6
16  Products / Arduino GSM Shield / Re: gprs shield on: December 21, 2013, 05:01:17 pm
i found it out

i have rewritten the code of some guy here on the forums

Code:

 
 #include <SoftwareSerial.h>

 char inchar;                      // Will hold incoming character from the Serial Port
 SoftwareSerial GPRS(7,8);
 // unsigned char buffer[64];         // buffer array for data receive over serial port
 int count=0;                      // counter for buffer array
 int WTA = 13;                     //led
 int numring=0;                   
 int comring=1;


 void setup()
 {
   GPRS.begin(19200);              // the GPRS baud rate   
   Serial.begin(19200);            // the Serial port of Arduino baud rate.

   pinMode(9, OUTPUT);             // Power up SIM900 GPRS
   digitalWrite(9,LOW);
   delay(1000);
   digitalWrite(9,HIGH);
   delay(2000);
   digitalWrite(9,LOW);
   delay(1000);

   pinMode(WTA, OUTPUT);          // Defines pin 10 as a +5V Digital Output
   digitalWrite(WTA, LOW);        //Sets WT trigger back low
   delay(1000);

 } 

 void TriggerWTA()
 {
 // pinMode(WTA, OUTPUT);        // Defines pin 10 as a +5V Digital Output
 GPRS.println("ATA");                       //picks up when the led goes high
 digitalWrite(WTA, HIGH);        // Sets WT trigger HIGH
 delay(5000);
 digitalWrite(WTA, LOW);         //Sets WT trigger back low
GPRS.println("ATH");                //hangs up when led goes low
 
 }

 
 void loop()
 {
  if(GPRS.available() >0)          //If a character comes in from the cellular module...
  {
  inchar=GPRS.read();
  if (inchar=='R')
  {
  delay(10);
  inchar=GPRS.read();
  if (inchar=='I')
  {
  delay(10);
  inchar=GPRS.read();
  if (inchar=='N')
  {
  delay(10);
  inchar=GPRS.read();
  if (inchar=='G')
  {
  delay(10);
 
  numring++;                // So the phone (our GSM shield) has 'rung' once, i.e. if it were a real phone it would have sounded 'ring-ring'
  if (numring==comring)
  {
  numring=0; // reset ring counter
  TriggerWTA();
  }
  }
  }
  }
  }
  }
 }
17  Using Arduino / Programming Questions / rotary dail on: December 21, 2013, 04:58:59 pm
hello i have a question

i have a rotary dail

and i use this to read it
http://www.instructables.com/id/Interface-a-rotary-phone-dial-to-an-Arduino/

but now comes the problem
i need to save 9 numbers in a variable and i cant seem to find out how to do this

i need this for an arduino phone i am building

in the end i have to dail
+31 548 51****
(land city home)

can somone help me on this
18  Products / Arduino GSM Shield / Re: gprs shield on: December 21, 2013, 08:26:58 am
hey guys

does this work with the seeduino gprs module?

http://www.dfrobot.com/community/gsmgprsgps-shield-tutorial-cid-and-one-touch-caller-id-dial.html

if so i do understand this code
19  Products / Arduino GSM Shield / SOLVED gprs shield on: December 20, 2013, 06:27:04 pm
hello
i have a question
i am using the seeduino V1 gprs shield
http://www.seeedstudio.com/wiki/GPRS_Shield_V1.0

and i need a simple script that can make phone calls and receve them

the number that should be dailed (on press of a button) must be stored as a variable
and when called you must keep a  button pressed to talk (if you let go of the button it should hang up)

i have tryed to use the page for instructions but it onley talks about there serial monitor and i dont want to use that
and there is no mention of receving calls

who can help me
20  Products / Arduino GSM Shield / Re: Is it possible to use the GSM library with the SIM900 module of GPRS Shield? on: December 20, 2013, 06:04:45 pm
i also want to know this

who can tell us this
21  Community / Exhibition / Gallery / Re: IV-18 clock on: August 13, 2013, 06:12:17 pm
could we please get the software you use?
22  Using Arduino / LEDs and Multiplexing / Re: MAX6921 - need help on: August 13, 2013, 05:48:30 pm
can you post your complete code
i would also like to use it if i may
23  Using Arduino / Programming Questions / Re: Controlling a MAX6921 on: August 13, 2013, 05:46:40 pm
this did not realy help
especialy when your not that good with codes
24  Using Arduino / Project Guidance / Re: weather station on: February 10, 2013, 07:25:41 pm
i2c bus has a limet of few meters
i cant make buffers everywere becaus i want to see a yard and not only solar panals
25  Using Arduino / Project Guidance / weather station on: February 10, 2013, 06:50:53 pm
hello
i have a question
i am working on a weather station
i am using 15 sensor arduino's and one base station
all arduino's are fed by a solar panel and a battery
and the base station has a power adapter
i cant give the code so far becaus of a crash (have to rewrite most of it)
but now comes my question
i can read all arduino's if i am next to it
but i need a conection trough a wire (i love if it would be one)
the maximum distance would be 30 meters
and i need the arduino's to send a id code firsth
if somone can help me get those 2 i can do the rest myself

i was thinking of just one wire with a 10K to ground and a transistor pulsing 9V trough it

and the base station decivering the data

so only one way
26  Using Arduino / Project Guidance / Re: attiny45/85 frequentie on: February 16, 2012, 11:49:22 am
well i need a free adjustable puls that can range forom 0-20Mhz
i want to use it to simulate a crystal
and i beleve a cristal is just a fast on/off signal
(o that isnt pwm) SORRY

so can you help
27  Using Arduino / Storage / Re: No display on lcd while logging on sd card (atmega 328+DS1307+LCD+SD+LM35) on: February 16, 2012, 12:44:04 am
control the lcd with 595's  that you only need 3 wires
that way you can choose what 3 pins you want to use and you can piggyback 128 595's

28  Using Arduino / Installation & Troubleshooting / Re: Smoke coming from UNO on: February 16, 2012, 12:41:32 am
wel solder in a new one smiley-razz
29  Using Arduino / Installation & Troubleshooting / Re: Smoke coming from UNO on: February 16, 2012, 12:36:00 am
congrats you make the magic smoke go wild

but now serius

you blew up the 5V regulator
i beleve is is an 0.5A version but i cant be shure

what engine did you try to pull out of that little chip?
30  Using Arduino / Project Guidance / attiny45/85 frequentie on: February 16, 2012, 12:27:25 am
is it posible to program the atinny45/85
to generate a pwm pulse of 10-20mhz

if it can that i would be glad

easy said

potmeter-attiny-gameboy

it is for hacking devices
Pages: 1 [2] 3 4 ... 6