Search found 15 matches

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

Question Sensor's Connection

is this right the connection diagram? tnx


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

Re: Question in Char Array

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...
by brian25
Wed Oct 09, 2013 8:49 am
Forum: Arduino
Topic: Question in Char Array
Replies: 3
Views: 591

Question in Char Array

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
by brian25
Tue Oct 01, 2013 3:32 am
Forum: Wireless/RF
Topic: Arduino Shield Question
Replies: 1
Views: 373

Arduino Shield Question

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(); }
by brian25
Tue Sep 03, 2013 5:31 am
Forum: Arduino
Topic: Question in GSM shield
Replies: 3
Views: 378

Re: Question in GSM shield

close this thread i already know and worked it out.
by brian25
Tue Sep 03, 2013 5:29 am
Forum: Arduino
Topic: Arduino Lib Help!.
Replies: 1
Views: 347

Arduino Lib Help!.

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.
by brian25
Sat Aug 31, 2013 1:35 am
Forum: Wireless/RF
Topic: Help in GSM Shield
Replies: 1
Views: 373

Help in GSM Shield

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
by brian25
Wed Aug 28, 2013 8:38 am
Forum: Arduino
Topic: Question in GSM shield
Replies: 3
Views: 378

Re: Question in GSM shield

how to test GSM shield in Hyperterminal and how's the connection?
by brian25
Wed Aug 28, 2013 5:00 am
Forum: Arduino
Topic: Question in GSM shield
Replies: 3
Views: 378

Question in GSM shield

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
by brian25
Tue Aug 27, 2013 12:13 am
Forum: Arduino
Topic: Help in Arduino Codes
Replies: 3
Views: 606

Help in Arduino Codes

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...
by brian25
Sun Aug 25, 2013 1:09 am
Forum: PCB Design Questions
Topic: Help Circuit Problem
Replies: 2
Views: 556

Help Circuit Problem

hi sir/ma'am what's the function of the pins in this relay and where application they can usually use? tnx
by brian25
Tue Aug 13, 2013 10:34 pm
Forum: Arduino
Topic: Question using EEPROM
Replies: 1
Views: 356

Question using EEPROM

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, ...
by brian25
Mon Aug 12, 2013 9:01 am
Forum: Code Snippets
Topic: Help arduino pin codes
Replies: 3
Views: 2206

Help arduino pin codes

Hi guys, can you control the pins of arduino simultaneously? Is this possible using array? Pin 1 = 11; Pin 2 = 10; Pin 3= 9; Pin 4= 8; Char Old[]= {"11, 10, 9, 8}; Void setup() { } Void loop() { Char ; Char new []= {"1111"}; i = new; if (strcmp(new, "1111") == 0 && strcmp(old, "1111"){ Digitalwrite(...
by brian25
Fri Jul 19, 2013 4:34 am
Forum: Arduino
Topic: Help Arduino Program
Replies: 5
Views: 728

Help Arduino Program

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...
by brian25
Sat Jun 22, 2013 6:49 pm
Forum: Arduino
Topic: Arduino Backup Supply
Replies: 1
Views: 406

Arduino Backup Supply

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