Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1] 2   Go Down
Author Topic: Smoke Sensor + arduino uno + gsm module shield  (Read 5201 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone please help me, guys i need your help...
I have a project on school and it will be pass nextweek..

 smiley-sad

My project is smoke sensor + arduino uno + gsm module shield...
The function is when smoke sensor detect a smoke the arduino uno will command the gsm to send a message...

Please i need your help..
Just a codes for this function...

Thank you so much..
You can send the codes on this email janevillorente628@yahoo.com

Please help me..
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 671
Posts: 51669
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What part of the homework are you doing? Will we get credit, too?

What have you tried? What happened?
Logged

Miers 46500 France
Offline Offline
Sr. Member
****
Karma: 14
Posts: 337
EmbeddedAT .. From Concept to Prototype to Production
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

$200 payment on PayPal and they are yours. I have them waiting and I'll keep your secrete too  smiley-zipper

Cheers Pete.
Logged

EmbeddedAT .. From Concept to Prototype to Production

Electronics and firmware design and project mentoring

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 671
Posts: 51669
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I have them waiting and I'll keep your secrete too
Not me. I'll blab like crazy.  smiley
Logged

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

$200 to do your homework
and what will you learn from this?
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 671
Posts: 51669
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
and what will you learn from this?
That some people will do anything to make a buck or two.  smiley-cool
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ouch....


i thought someone who can help me on this site.. smiley-sad

honestly i don't have a money to pay the programmer to do my thesis, that's why I post my problem here.. hmm
instead of helping students like me, you want me to pay you $200 for your help!

My GOD, I just want some help with the professionals who can help me.
what if you are in my situation? what will you do?

if you can't help me, just ignore me....

this message is for those people who can understand my situation.
thanks. but I don't have a money, I'm just a student...

thanks Bainesbunch....
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

this is the prototype of my thesis....


I've tried some tips on the internet but i always got this error...
avrdude: stk500_getsync(): not in sync: resp=0x00

but this is just a arduino uno and GSM module...

I don't know the perfect codes when i combined the smoke sensor + Arduino Uno + GSM module sim900...

help me please
Logged

Miers 46500 France
Offline Offline
Sr. Member
****
Karma: 14
Posts: 337
EmbeddedAT .. From Concept to Prototype to Production
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ouch....


i thought someone who can help me on this site.. smiley-sad

honestly i don't have a money to pay the programmer to do my thesis, that's why I post my problem here.. hmm
instead of helping students like me, you want me to pay you $200 for your help!

My GOD, I just want some help with the professionals who can help me.
what if you are in my situation? what will you do?

if you can't help me, just ignore me....

this message is for those people who can understand my situation.
thanks. but I don't have a money, I'm just a student...

thanks Bainesbunch....


Why did you post in "Gigs and collaborations" then this is the place where you ask for "hired" help if you simply just wanted free advice then you should have posted to another forum.

The error you are getting suggests that you either have the wrong Arduino module in the selected list or that the device is not even connected properly. It could be that you have several "serial" devices attached to the PC and have selected the wrong one from the list.

You obviously do not have a great deal of experience with the IDE or the development platform. Asking people to effectively do your homework for you when you don't seem to have bothered learning just the simple basics of loading the blink sketch is, to say the least, a little cheeky.

I am sure that once you stop being a student you will realize how important is was to have actually learned something rather than trying to get other people to achieve your goals for free, unless you intend to move directly into management of course smiley

Cheers Pete.
Logged

EmbeddedAT .. From Concept to Prototype to Production

Electronics and firmware design and project mentoring

Miers 46500 France
Offline Offline
Sr. Member
****
Karma: 14
Posts: 337
EmbeddedAT .. From Concept to Prototype to Production
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
and what will you learn from this?
That some people will do anything to make a buck or two.  smiley-cool

Hmm Paul .. i think you may have missed the tone of my post, but you are right i would microwave my own granny (again) for the right fee smiley-wink
« Last Edit: September 16, 2013, 04:28:58 am by Bainesbunch » Logged

EmbeddedAT .. From Concept to Prototype to Production

Electronics and firmware design and project mentoring

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

this is the prototype of my thesis....


I've tried some tips on the internet but i always got this error...
avrdude: stk500_getsync(): not in sync: resp=0x00

but this is just a arduino uno and GSM module...

I don't know the perfect codes when i combined the smoke sensor + Arduino Uno + GSM module sim900...

help me please

hmm
have you got any code that works?
have you got any code?

just posting "it doesn't work - help me" won't get you very far

and people don't really like writing entire projects for someone else - which is what it looks like you are asking!
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Uhhmm... I'm sorry to all of you, I didn't mean to said those words.. I'm stressed of this codes because my time is running out..

I know that your doing this to earn money because this is your job...
But I really don't have money to pay for your help... It's ok if you can't help me.. Thank you for you time guys...

Sir.mmcp42

I just need a little help....
Yes I've tried some codes that I got from youtube.. But it doesn't fit on my prototype...
Logged

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so you have no code at all at the moment?

if you want someone to write it all they will want something in return
if you have some code, please post it and you may get some help to fix it

does ANY code work on your UNO?
I would get that step out of the way first
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yup you're right, but I really don't have money smiley-sad ..

By the way, thank you for helping me, i really appreciate it smiley


Uhhmmm this is the code that I'm using..
#include <GSM.h>

#define PINNUMBER ""

// initialize the library instance
GSM gsmAccess; // include a 'true' parameter for debug enabled
GSM_SMS sms;

void setup()
{
  // initialize serial communications
  Serial.begin(9600);

  Serial.println("SMS Messages Sender");

  // connection state
  boolean notConnected = true;

  // Start GSM shield
  // If your SIM has PIN, pass it as a parameter of begin() in quotes
  while(notConnected)
  {
    if(gsmAccess.begin(PINNUMBER)==GSM_READY)
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }

  Serial.println("GSM initialized");
}

void loop()
{

  Serial.print("Enter a mobile number: ");
  char remoteNumber[20];  // telephone number to send sms
  readSerial(remoteNumber);
  Serial.println(remoteNumber);

  // sms text
  Serial.print("Now, enter SMS content: ");
  char txtMsg[200];
  readSerial(txtMsg);
  Serial.println("SENDING");
  Serial.println();
  Serial.println("Message:");
  Serial.println(txtMsg);

  // send the message
  sms.beginSMS(remoteNumber);
  sms.print(txtMsg);
  sms.endSMS();
  Serial.println("\nCOMPLETE!\n");
}

/*
  Read input serial
 */
int readSerial(char result[])
{
  int i = 0;
  while(1)
  {
    while (Serial.available() > 0)
    {
      char inChar = Serial.read();
      if (inChar == '\n')
      {
        result = '\0';
        Serial.flush();
        return 0;
      }
      if(inChar!='\r')
      {
        result = inChar;
        i++;
      }
    }
  }
}


But I don't know how can i connect the smoke sensor in the codes....

smiley-sad
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 671
Posts: 51669
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
while (Serial.available() > 0)
    {
      char inChar = Serial.read();
      if (inChar == '\n')
      {
        result = '\0';
        Serial.flush();
I'd suggest that you need to read the documentation on the methods you are using. If you can't explain why you are using a method, there is a good chance that you don't need to use that method.

So, why are you using flush()?
Logged

Pages: [1] 2   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: