Show Posts
Pages: [1] 2
1  Using Arduino / Project Guidance / Bluetooth Low Energy & Arduino or Ras pi on: January 19, 2014, 05:04:50 am
Hi Guys,

     Thank you for reading. Bluetooth 4.0: I am trying to find a CC2541 module that connects to a 3V sensor that will signal to the host.   Do you guys think this can be done?

2  Products / Arduino GSM Shield / Re: Cannot receive SMS on GSM Shield on: July 21, 2013, 08:02:20 pm
Hey I am a beginner user to the GSM shield. I have spent probably 40 hours going from store to store trying different phones to unlock the SIM card and try different sim cards and literally only one provider allowed for proper connectivity. I live in Ontario, Canada and the network may be slightly different than the GSM shield may have been designed for - But from what I've learned was that the GSM shield seemed to work for me RX and TX SMS when there actually was a pin number associated with the SIM card and the codes in the void set up addressed it. Just a tip to try out.

3  Products / Arduino GSM Shield / Re: Comparing senderNumber[20] to integer on: June 07, 2013, 05:00:54 pm
Hey !

I've tried that, but it makes it all stop working. With the other code the LED turns on, but does not turn off.

If you have any ideas, please let me know.

Thank you Dave and everyone for helping.

Thank you
4  Products / Arduino GSM Shield / Re: Comparing senderNumber[20] to integer on: May 31, 2013, 06:30:11 pm
Thank you guys for help!

David - I have a question for you regarding a topic relating to this- I have seen your posts about this:

if (received.compareTo("On")) {

  lightlight = 1;
  Serial.println("LED ON");
else if (received.compareTo("Off")) {
  lightlight = 0;


I have put the lightlight variable in the void loop as:

boolean lightlight;

- The LED turns on, but does not turn off after it has been texted the word "Off"

I thank you guys for the help, I appreciate it.

5  Products / Arduino GSM Shield / Re: Receive SMS example on: May 22, 2013, 07:27:39 pm
Hey guys,
        Thanks for your help - the service was mistakenly cut off.
6  Products / Arduino GSM Shield / Re: Comparing senderNumber[20] to integer on: May 20, 2013, 08:20:10 pm
I have tried both answers. Although it is compiling, it doesn't seem to make the right comparison. I might not have structured the code out right, but have tried putting different variables where the comparison occurs.


char myCharNumber[20] = "+12223333";
int myIntNumber = atoi(myCharNumber);

    Serial.println("\nEND OF MESSAGE");
  if (senderNumber[20] < myCharNumber[20]) {
  fixer = 1;

Thank you all for the help

7  Products / Arduino GSM Shield / Comparing senderNumber[20] to integer on: May 17, 2013, 05:04:51 pm
Hey guys,

     I am attempting to compare a received number and send a message according to the number it was, but the problem persists.
if (senderNumber[20] < 40000000) {
  fixer = 1;


Thank you for your help guys - I appreciate it.

8  Products / Arduino GSM Shield / Re: Receive SMS example on: April 30, 2013, 09:08:35 pm
I would like to notify that I am using the mega, so would the line:
SoftwareSerial cell(2, 3);

Would be different, or no ?

Thanks guys
9  Products / Arduino GSM Shield / Re: Receive SMS example on: April 30, 2013, 07:27:27 pm
ATE1 --> Set echo ON
AT+CMGF=1 --> Establishes text mode in modem
AT+CMGL="REC UNREAD",1 --> Checks if exists unread SMS. Return OK if not exist any SMS, in other case returns a list with them (the first number of each of them are the index of each of them).
AT+CMGR=[sms_index],0 --> Read SMS with index sms_index from modem memory (ej: AT+CMGR=1,0).
AT+CMGD=[sms_index] --> Delete SMS with index sms_index from modem memory (ej: AT+CMGD=1).

I'm not sure if I understood what to do with these commands guys.

After I executed the given code, all I got was:
Starting modem communication...OK
Introduce your AT commands:

Nothing else occurred after I had texted the SIM card number either.

Thanks for the help guys - You guys are my lifeline right now!

10  Products / Arduino GSM Shield / Re: Receive SMS example on: April 30, 2013, 08:06:10 am
I could not get the codes to work, so I changed this (the 10 to 11) because of the + coming in front.


So to clarify the issue - the gsm picks up the first text message coming in but not any others that comes in after unless it is reset

I appreciate the help guys.
11  Products / Arduino GSM Shield / Re: Receive SMS example on: April 30, 2013, 07:38:11 am
I live in Canada and the SIM card that was provided did not work here. So I am using a Fido/Rogers SIM card. I will try this code out now.
12  Products / Arduino GSM Shield / Receive SMS example on: April 30, 2013, 12:55:24 am
Hey guys,

     I noticed on the Receive gsm text for the shield that multiple msgs cannot be received. The coding is only detecting the first msg and stop detecting until it is reset.

 SMS receiver
 This sketch, for the Arduino GSM shield, waits for a SMS message
 and displays it through the Serial port.
 * GSM shield attached to and Arduino
 * SIM card that can receive SMS messages
 created 25 Feb 2012
 by Javier Zorzano / TD
 This example is in the public domain.

// include the GSM library
#include <GSM.h>

// PIN Number for the SIM
#define PINNUMBER "1111"

// initialize the library instances
GSM gsmAccess;
GSM_SMS sms;

// Array to hold the number a SMS is retreived from
char senderNumber[20]; 

void setup()
  // initialize serial communications and wait for port to open:
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only

  Serial.println("SMS Messages Receiver");
  // connection state
  boolean notConnected = true;
  // Start GSM connection
      notConnected = false;
      Serial.println("Not connected");
  Serial.println("GSM initialized");
  Serial.println("Waiting for messages");

void loop()
  char c;
  // If there are any SMSs available() 
  if (sms.available())
    Serial.println("Message received from:");
    // Get remote number
    sms.remoteNumber(senderNumber, 20);

    // An example of message disposal   
    // Any messages starting with # should be discarded
      Serial.println("Discarded SMS");
    // Read message bytes and print them
    Serial.println("\nEND OF MESSAGE");
    // Delete message from modem memory
    Serial.println("MESSAGE DELETED");



Thank you, in advance.
13  Using Arduino / General Electronics / Re: Picking Capacitor Size and datasheet clarity on: March 29, 2013, 04:45:47 pm
Okay, that sounds good.

There is this 5V 4A AC DC power supply I can connect to the arduino which will give off 4A in the 5V output pin. Would having this too many amps in the circuit? Or too many amps going into the solenoids creating too much wattage? Or would it work out?

The AC DC adapter

Thank you for the quick response Mike
14  Using Arduino / General Electronics / Picking Capacitor Size and datasheet clarity on: March 29, 2013, 04:14:16 pm
Hey guys,

     We are doing a project with 5 solenoids rated at 5V. The datasheet for the solenoid isn't in English and googling the part number results in attaining the same data sheet. From what we understand, for fast movement we require 700mA..
The datasheet is here:

And there will be 2 fans that are 5V with 200mA.

So, 700mA*5 + 400mA = 3.9A

The arduino can only provide 650mA, thus we would like to add a capacitor to raise the 650mA to aprox. 3.9A. The capacitor will not be part of the circuit unless all of these conditions are true using a solid state relay with the arduino if that would be a problem.

Thank you for your help guys
We appreciate it
15  Using Arduino / Sensors / Re: DHT11 Temperature Humidity Sensor on: February 26, 2013, 12:19:56 am
I`m looking at this and it seems that the instructions:

This is an example C++ library for Arduino 0004+, based on one created by
Nicholas Zambetti for Wiring 0006+


To install this library, just place this entire folder as a subfolder in your
Arduino/lib/targets/libraries folder.

When installed, this library should look like:

Arduino/lib/targets/libraries/Test              (this library's folder)
Arduino/lib/targets/libraries/Test/Test.cpp     (the library implementation file)
Arduino/lib/targets/libraries/Test/Test.h       (the library description file)
Arduino/lib/targets/libraries/Test/keywords.txt (the syntax coloring file)
Arduino/lib/targets/libraries/Test/examples     (the examples in the "open" menu)
Arduino/lib/targets/libraries/Test/readme.txt   (this file)


have told me to put the files into lib/targets, but that subfolder 'target' is not in my arduino files

Thanks for the help
Pages: [1] 2