SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 14 matches

 Go to advanced search

Question Sensor's Connection

 by brian25 ¦  Thu Oct 17, 2013 3:48 am ¦  Forum: Projects ¦  Topic: Question Sensor's Connection ¦  Replies: 1 ¦  Views: 328

is this right the connection diagram? tnx


Image

Re: Question in Char Array

 by brian25 ¦  Fri Oct 11, 2013 10:30 pm ¦  Forum: Arduino ¦  Topic: Question in Char Array ¦  Replies: 3 ¦  Views: 642

i used arduino lib Regexp.h MatchState ms; char * str = smsbuffer; ms.Target (str); unsigned int index = 0; char buf [100]; while (true) { char result = ms.Match ("(%a+)" "(%-?%d+)", index); if (result == REGEXP_MATCHED){ for (int j = 0; j < ms.level; j++); gsm.WritePhoneNumber(result[j],(%-?%d+); i...

Question in Char Array

 by brian25 ¦  Wed Oct 09, 2013 8:49 am ¦  Forum: Arduino ¦  Topic: Question in Char Array ¦  Replies: 3 ¦  Views: 642

i'm using gsm lib and i want to separate the content of smsbuffer. ex Hello World then i will disregard the Hello and i will only get the World and store in Another byte/char array. tnx

Arduino Shield Question

 by brian25 ¦  Tue Oct 01, 2013 3:32 am ¦  Forum: Wireless/RF ¦  Topic: Arduino Shield Question ¦  Replies: 1 ¦  Views: 390

hi how to use multiple shields in Arduino? if i have two.. example, GSM and Ethernet can this work simultaneously in void setup? void setup(){ Serial.begin(9600); if (gsm.begin(2400)){ Serial.println("\nstatus=READY"); started=true; } Ethernet.begin(mac, ip); server.begin(); }

Re: Question in GSM shield

 by brian25 ¦  Tue Sep 03, 2013 5:31 am ¦  Forum: Arduino ¦  Topic: Question in GSM shield ¦  Replies: 3 ¦  Views: 401

close this thread i already know and worked it out.

Arduino Lib Help!.

 by brian25 ¦  Tue Sep 03, 2013 5:29 am ¦  Forum: Arduino ¦  Topic: Arduino Lib Help!. ¦  Replies: 1 ¦  Views: 365

how to put a value of int or byte in a string

SendSMS(byte sim_phonebook_position, char *message_str)

i want to read the pins and ouput like this 10111(1 if high and 0 if low)
but this part (char *message_str) only accept string.

Help in GSM Shield

 by brian25 ¦  Sat Aug 31, 2013 1:35 am ¦  Forum: Wireless/RF ¦  Topic: Help in GSM Shield ¦  Replies: 1 ¦  Views: 395

how to connect automatically the GSM sim900D in the network without pressing the power button? tnx

http://www.etteam.com/prod2013/et-base% ... SIM900.pdf

Re: Question in GSM shield

 by brian25 ¦  Wed Aug 28, 2013 8:38 am ¦  Forum: Arduino ¦  Topic: Question in GSM shield ¦  Replies: 3 ¦  Views: 401

how to test GSM shield in Hyperterminal and how's the connection?

Question in GSM shield

 by brian25 ¦  Wed Aug 28, 2013 5:00 am ¦  Forum: Arduino ¦  Topic: Question in GSM shield ¦  Replies: 3 ¦  Views: 401

hi sir i'm using a SIM900D Gsm how to automatic turn ON the gsm when there is a power failure without pushing the button.?? tnx

Help in Arduino Codes

 by brian25 ¦  Tue Aug 27, 2013 12:13 am ¦  Forum: Arduino ¦  Topic: Help in Arduino Codes ¦  Replies: 3 ¦  Views: 633

hi sir/ma'am how to convert a char to a string? i got this error. sketch_aug27a:90: error: invalid conversion from 'char' to 'const char*' sketch_aug27a:90: error: initializing argument 1 of 'String::String(const char*)' sketch_aug27a:93: error: invalid conversion from 'char' to 'const char*' sketch...

Help Circuit Problem

 by brian25 ¦  Sun Aug 25, 2013 1:09 am ¦  Forum: PCB Design Questions ¦  Topic: Help Circuit Problem ¦  Replies: 2 ¦  Views: 691

hi sir/ma'am what's the function of the pins in this relay and where application they can usually use? tnx

Question using EEPROM

 by brian25 ¦  Tue Aug 13, 2013 10:34 pm ¦  Forum: Arduino ¦  Topic: Question using EEPROM ¦  Replies: 1 ¦  Views: 377

How to save the password in eeprom? when the device is turn off the pass was still in the chip and what syntax to use for changing the password? tnx char p1[] = {"11111"}; void Password(){ char p2[5]; int y = sizeof(p1); int flag=0; for (int x=0;x<=y;x++) { p2[x]= p1[x]; } if(gsm.readSMS(smsbuffer, ...

Help Arduino Program

 by brian25 ¦  Fri Jul 19, 2013 4:34 am ¦  Forum: Arduino ¦  Topic: Help Arduino Program ¦  Replies: 5 ¦  Views: 762

int pinA = 11; int pinB = 12; int val; void setup() { pinMode(pinA, OUTPUT); pinMode(pinB, INPUT); } void loop() { int(); } void int() { val=digitalRead(pinB); // read data if(pinB == HIGH) { Serial.println("PINA ON"); //write serially } else if(pinB == LOW) { Serial.println("PinA OFF"); //write ser...

Arduino Backup Supply

 by brian25 ¦  Sat Jun 22, 2013 6:49 pm ¦  Forum: Arduino ¦  Topic: Arduino Backup Supply ¦  Replies: 1 ¦  Views: 424

i want to interface this schematic to the arduino and i come up with this schematic and it works fine for 12v battery backup but my problem is where to interface the triggering pin of arduino just to know when the main power is off. plss help.. tnx