caramoan tour package

caramoan tour package

Author Topic: interfacing gizduino and gsm modem  (Read 25841 times)

Offline RagnaroksSun

  • Size C Battery
  • *****
  • Posts: 186
  • Pogi/Ganda Points: 4
Re: interfacing gizduino and gsm modem
« Reply #540 on: February 05, 2012, 02:12:01 PM »
MARAMING SALAMAT SA MGA NAG REPLY AT TUMULONG...

@onehitcombo
@RagnaroksSun
@ionik3


SALAMAT.. nagawa ko na mga idol... no1


buti naman bro!! share your codes na lang para sa ibang nangangailangan.. ;D ;D ;D

Philippine Electronics Forum

Re: interfacing gizduino and gsm modem
« Reply #540 on: February 05, 2012, 02:12:01 PM »

Offline onehitcombo

  • CR2032 Battery
  • **
  • Posts: 18
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #541 on: February 05, 2012, 05:13:53 PM »
buti naman napagana mo na. :)

@ionik3, panu sir pahabain ung ittxt pra mga on ung ilaw? kc tnxt ko 1 letter lng, o = on.. dba dahil sa char inchar; un? :)

> problema ko rin ito pero ang ginawa ko eh 3 characters na yung dapat itext para macommand yung arduino.
> bale ang itetext ko ay #E1 para mag-on yung LED, at #E0 naman para mag-off yung LED
> kung gusto mong gawin yung ganito, suggest ko basahin mo yung codes dun sa tronixxstuff (gsm part two), nadun kasi yung logic panu niya ginawa yun (nested if ata ginawa nya)

> kung gusto mo ng word talaga (ei. Led OFF / Led ON ang itetext), dyan na siguro papasok yung parsing, which is hindi ko pa rin magets hanggang ngayon.
> theory ko lang, pwede mo ring gawin yang ganitong command ((ei. Led OFF / Led ON ang itetext) via nested IF. di ko pa nasubukan pero baka gusto mo itry.


Philippine Electronics Forum

Re: interfacing gizduino and gsm modem
« Reply #541 on: February 05, 2012, 05:13:53 PM »

Offline onehitcombo

  • CR2032 Battery
  • **
  • Posts: 18
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #542 on: February 05, 2012, 05:25:36 PM »
> napagana ko na yung magnotify via SMS kapag naka-on / initialize na yung module
> magreply ng message after basahin yung SMS command, ei. user ==> itetext ===>  #E1 para magOn yung led, after nun magsesend yung gsm ng message na "LED status: On" dun sa user.
> limitation lang eh sa nakaprogram na number lang nagrereply yung gsm. di ko pa kasi magawa yung message parsing
> will post codes later.

Philippine Electronics Forum

Re: interfacing gizduino and gsm modem
« Reply #542 on: February 05, 2012, 05:25:36 PM »

Offline toasted siopao

  • She loves me, she loves me not, she loves me...
  • Global Moderator
  • Gas Turbine
  • *****
  • Posts: 2574
  • Pogi/Ganda Points: 107
  • Gender: Female
    • TeknoBlogger
Re: interfacing gizduino and gsm modem
« Reply #543 on: February 05, 2012, 06:06:20 PM »
yung parsing ay yung kung saan naghahanap ka ng keyword/s sa isang string, use strstr, kapag hindi NULL ang ibinalik ng strstr, ibig sabihin nahanap yung keyword/s na hanap mo.

Philippine Electronics Forum

Re: interfacing gizduino and gsm modem
« Reply #543 on: February 05, 2012, 06:06:20 PM »

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #544 on: February 06, 2012, 05:23:15 AM »
^ di mo kailangan nang 3 A supply/regulator.
7805 is sufficient na.
it only needed a large capacitor after the regulator. for transmit bursts,


tnx po sau panu nman po kung ang gawin ko kac gumamit po ako ng adpator 9V 400 mA tpoz ang gnwa ko poh split ko un voltage pra sa atmega 9V at ginamitan ko ng regulator n 7805 pra sa GSM module pra mging 5V. bale ngsplit un current. tama po b to? gana po b to kpag tinaazan ko un capacitor after regulator? plz patulong po tnx po tlga. :) 

Philippine Electronics Forum

Re: interfacing gizduino and gsm modem
« Reply #544 on: February 06, 2012, 05:23:15 AM »

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #545 on: February 06, 2012, 05:25:25 AM »
sir, read the specs of Sim900D gsm module, 5V and minimum of 1.5 A, the 7805 regulator is only 1A, gamit ka sir ng LM323 which has 3 A. para mapagana yung gsm Module mo. hope nakatulong

oh di kaya bili ka na lang sa e-gizmo nang supply para sa sim900D o GSM module.

tnx po sau panu nman po kung ang gawin ko kac gumamit po ako ng adpator 9V 400 mA tpoz ang gnwa ko poh split ko un voltage pra sa atmega 9V at ginamitan ko ng regulator n 7805 pra sa GSM module pra mging 5V. bale ngsplit un current. tama po b to? gana po b to kpag tinaazan ko un capacitor after regulator? plz patulong po tnx po tlga. :) 

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #546 on: February 06, 2012, 05:27:34 AM »
sir, read the specs of Sim900D gsm module, 5V and minimum of 1.5 A, the 7805 regulator is only 1A, gamit ka sir ng LM323 which has 3 A. para mapagana yung gsm Module mo. hope nakatulong

oh di kaya bili ka na lang sa e-gizmo nang supply para sa sim900D o GSM module.

Sir un pob LM323 driver transistor po cya at the same time regulator rin po? tnx po :)

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #547 on: February 06, 2012, 05:32:54 AM »
^ di mo kailangan nang 3 A supply/regulator.
7805 is sufficient na.
it only needed a large capacitor after the regulator. for transmit bursts,

Sir ok n po b un 1000 uf n capacitor pra mapagana un GSM module using 7805 regulator? tnx po :)

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #548 on: February 06, 2012, 08:31:47 PM »
Sir battery n po gmitn ko n supply 7 Volts cya iregulate ko n 5 V pra sa atmega arduino at GSM module ayaw po gana current po kaya problem nito? tnx po :)

Offline RagnaroksSun

  • Size C Battery
  • *****
  • Posts: 186
  • Pogi/Ganda Points: 4
Re: interfacing gizduino and gsm modem
« Reply #549 on: February 07, 2012, 07:53:04 PM »
Code: [Select]

#include <stdio.h>
#include <NewSoftSerial.h>

#define powerOn 4

char filter[10];

NewSoftSerial gsmRxTx (2, 3);   //(rxpin, txpin)  declaration of new rx/tx pin

void setup(){
   Serial.begin(9600);
   gsmRxTx.begin(9600);
 
   digitalWrite(powerOn, HIGH);  //connect powerOn of gsm module to pin 4. this will open  gsm module kahit na di mo pindutin yung power button.
   delay(1500);
   digitalWrite(powerOn, LOW);
   delay(5000);
   
   startUp();
}

void startUp(){
int i;

      gsmRxTx.print("AT\r\n");  //send AT serially, expect OK as gsm response
      delay(1000);
      if (gsmRxTx.available()){  //check if there's any available in serial port
      Serial.println("pass");
        for (i<10;i=0;i++){
          filter[i] = gsmRxTx.read();
          Serial.println(filter[i]);
        }
      }
}

void loop(){
  Serial.println("halo");
  delay(1000);
}

sa mga d nakapag pagana ng power on! correction po!sa part na to! ;D ;D ;D

Code: [Select]
   digitalWrite(powerOn, HIGH);  //connect powerOn of gsm module to pin 4. this will open  gsm module kahit na di mo pindutin yung power button.
   delay(1500);
   digitalWrite(powerOn, LOW);
   delay(5000);
[code]

dpat ay ilagay nio sa digitalWrite imber na "powerOn" ay ung number ng digital pin na ginamit nio..

paxenxa na ngaun ko lang napancn.. ngaun ko lang dn kasi na test ng maaus eh..

;D ;D ;D
[/code]

Offline RagnaroksSun

  • Size C Battery
  • *****
  • Posts: 186
  • Pogi/Ganda Points: 4
Re: interfacing gizduino and gsm modem
« Reply #550 on: February 07, 2012, 07:54:13 PM »
at mali pa ang format ko! xD

sorry moderators! :)

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #551 on: February 07, 2012, 09:27:24 PM »
SIr cnu poh nakakaalam kac battery po un supply n gagamitin ko kaya poh b nito suplayan sabay un arduino, GSM, LCD ? tnx po need ko po tlga :)

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #552 on: February 07, 2012, 09:41:39 PM »
RagnaroksSun

Sir nasuplayan mu n lhat ng board un arduino at GSM? gumamit k rin ng arduino Sir?.:)
 

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #553 on: February 08, 2012, 07:48:17 PM »
Sir phelp nga po panu nio gnwa un circuit pra masuplyan un GSM module kac gnwa ko po may 9V ako power supply 0.4 A. nagsplit poh ako ng current pra masuplayan un atmega arduino at GSM module. 9 V pra sa arduino at regulate ko poh sa 5 V gmit un 7805 pra masuplayan un GSM module peu ayaw p rin po gana. dava 1.5 A poh un output currentng 7805 y kaya ayaw po gana tnx po :) ?

Offline RagnaroksSun

  • Size C Battery
  • *****
  • Posts: 186
  • Pogi/Ganda Points: 4
Re: interfacing gizduino and gsm modem
« Reply #554 on: February 08, 2012, 09:26:22 PM »
RagnaroksSun

Sir nasuplayan mu n lhat ng board un arduino at GSM? gumamit k rin ng arduino Sir?.:)
 

yeap.. parehas tau ng project eh.. gizduino,LCD at gsm..

pero kasi ang supply ng gizduino at ng LCD namen is sa supply na ng gizduino via the UBS port then sa GSM eh ung adapter na galing sa e-gizmo..

Offline don12

  • CR2032 Battery
  • **
  • Posts: 11
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #555 on: February 09, 2012, 04:14:51 AM »
thank you po Sir :)

Offline pentex1717

  • CR2032 Battery
  • **
  • Posts: 17
  • Pogi/Ganda Points: 1
Re: interfacing gizduino and gsm modem
« Reply #556 on: February 17, 2012, 11:23:12 PM »
digitalWrite(powerOn, HIGH);  //connect powerOn of gsm module to pin 4. this will open  gsm module kahit na di mo pindutin yung power button.
   delay(1500);
   digitalWrite(powerOn, LOW);
   delay(5000);


---hmmm mas maganda kung ung delay ng HIGH ay 2000 di ba?

Offline nickie

  • LR44 Battery
  • *
  • Posts: 3
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #557 on: February 18, 2012, 10:06:57 PM »
sir tinatry ko pong iconnect ang gsm modem tsaka gzduino microcontroller..kaso ayaw po mgsend ng message ang gsm module...what should i do??
i have a device tpos ang output nya maserve as input ng gizduino tpos dapat magsend ng specified message ang modem sa mga numbers naka save sa simcard.pwd nyo po ko mahel?please???ito nlng po kasi kulang ko sa thesis ko po..

Offline toasted siopao

  • She loves me, she loves me not, she loves me...
  • Global Moderator
  • Gas Turbine
  • *****
  • Posts: 2574
  • Pogi/Ganda Points: 107
  • Gender: Female
    • TeknoBlogger
Re: interfacing gizduino and gsm modem
« Reply #558 on: February 18, 2012, 11:31:11 PM »
natry mo na ba magsend AT commands from gizduino to your gsm modem?

Offline nickie

  • LR44 Battery
  • *
  • Posts: 3
  • Pogi/Ganda Points: 0
Re: interfacing gizduino and gsm modem
« Reply #559 on: February 23, 2012, 04:08:23 AM »
panu po mglagay ng code sa gizduino na sa sim card nya kukunin ung contacts na sesendan nya?or multiple numbers ung dapat sendan?

Philippine Electronics Forum

Re: interfacing gizduino and gsm modem
« Reply #559 on: February 23, 2012, 04:08:23 AM »

 

Privacy Policy

Contact Us: elabph@yahoo.com