Show Posts
Pages: [1] 2
1  Using Arduino / Networking, Protocols, and Devices / Re: Help understanding capabilities of bluetooth recievers on: December 26, 2012, 09:57:39 pm
Ok, are there ANY bluetooth devices (xbee or not) that can do what I am asking? 
2  Using Arduino / Networking, Protocols, and Devices / Help understanding capabilities of bluetooth recievers on: December 26, 2012, 02:30:09 pm
I've yet to dive into the world of bluetooth devices for the arduino but I do have a specific question:

Will the Xbee (does it matter the model?) provide the ability to scan and/or recognize bluetooth signal from cell phones? 

Simply stated I'd like to know if I can see what devices are omitting bluetooth signals around me.  I imagine simply discovery would do this but unsure if the hardware and software available for the Arduino would allow this capability.
3  Using Arduino / Project Guidance / Can you use the Arduino Mini and an SD card reader/card? on: December 07, 2012, 02:05:24 pm
I've not seen documentation that negates this option, but wasa wondering if the 5V mini (8MHz) Mini could run a SD card reader and card...
4  Using Arduino / Programming Questions / Re: How to fully disconnect with WiFi Shield on: December 07, 2012, 02:03:53 pm
The fact that the 'link light' is on after I've disconnected is disconcerting to me.  I'd expect the light to be off if I am not connected, hence my confusion and initial query of how to really disconnect....
5  Using Arduino / Programming Questions / Re: How to fully disconnect with WiFi Shield on: December 07, 2012, 10:20:04 am
Ahhh, good question but with (I believe) an even better answer:

My arduino is going to be mobile and will spend an unknown amount of time out of WiFi reach.  When it is within Wifi reach I want to connect, download data, make one quick server call and disconnect.  As I have very limited amount of memory, disconnecting should (I believe) free up once I disconnect.  As I want my arduino doing other things when it is not in range of the WiFi, the less resources I am using the better.

So to answer your question about disconnecting - YES.  For example, if I have a cell phone and it uses Wifi but I am out of range of any WiFi I would ultimately like it to not to try to connect to save power.  Similar motivation but rather saving on power I'd like to save on memory.

Is the shield not designed to fully disconnect/disengage?  Why would the link light stay on even though I have sent a disconnect() call?
6  Using Arduino / Programming Questions / Re: How to fully disconnect with WiFi Shield on: December 07, 2012, 01:00:46 am
This is what I am doing with regards to the SD function:


static void writeToSD(int temp)
{
 
  String logEntry = " Temp: ";
 
  File dataFile = SD.open("datalog.txt", FILE_WRITE);

  // if the file is available, write to it:
  if (dataFile) {
    dataFile.println(logEntry);
    dataFile.close();
    Serial.println("Closed");
    // print to the serial port too:
  } 
  // if the file isn't open, pop up an error:
  else {
    Serial.println("error opening datalog.txt");
  }   
 
}

I didn't think the SD function was an issue, hence why I didn't post it.  I can post my entire sketch, but it is a few hundred lines....

Really I wanted to know if there is a correct way to shut off the WiFi Shield.  Currently once you connect it does not appear to be a way to shut it down/disconnect....
7  Using Arduino / Programming Questions / How to fully disconnect with WiFi Shield on: December 06, 2012, 10:48:26 pm
I'm using the WiFi shield on an Arduino Uno but I do not think the shield is fully disconnecting.  I have a loop that checks a sensor for input.  If the sensor hits the threshold, it connects with te WiFi shield to download some data, sleeps for a few seconds, then enters the loop again.

The function that I have to connect to the network, in it's simplest form, performs a WiFi.begin(), client.connect(), send message, client.stop() and WiFi.disconnect(). 

However, as I enter the main loop (after what I believe to be disconnecting form the network) the LINK light on the shield remains on.  Furthermore if I loop through the loop after quite some time the Uno eventually halts.  This is suggestive of a memory leak. 

With the green light on am I REALLY disconnected from the network despite me running client.stop() and WiFi.disconnect()?
Has anyone else seen memory leak issues with the WiFi Shield? 

I am also using the SD card and I've heard that there used to be memory leaks with that, but if I am not using strings to interface with the SD card I should be good, right?  I am referring to this link about the SD card memory leak:  http://stackoverflow.com/questions/11690647/arduino-memory-leaks-sd-card-strings    I am executing a close() each time I reference the SD card...
8  Using Arduino / Project Guidance / Re: Ability to use TinyGPs and Arduino Mini Pro on: December 06, 2012, 10:33:44 am
My baud rate is 57600.  Thing is I can talk to the GPS unit via the serial port on that baud rate.  I guess the SoftSerial cannot?

How do I know what speed my mini is?  I know I have the 5V model.
9  Using Arduino / Project Guidance / Ability to use TinyGPs and Arduino Mini Pro on: December 04, 2012, 10:26:59 pm
I have the following 5V Arduino Mini:  https://www.sparkfun.com/products/9218 and the LS20031 GPS receiver http://www.sparkfun.com/tutorials/176 

It works GREAT on the UNO with the TinyGPS library but I cannot get it to work with the Mini.  I've tried everything but when I run the test_with_gps_device demo that comes with the TinyGPS library I never get any real values, just the *****'s.  I get a lock and I know the unit work because the simple test works on both Arduinos and the TinyGPS test works on the Uno.  I've even done as folks suggested in the bottom of the thread where they change the SS_MAX_RX_BUFF value in SoftSerial.h to 256 as suggested in one of the thread responses but still no dice.

Has anyone gotten this combo to work?
10  Using Arduino / Project Guidance / Re: How to use 12C with two arduinos and barometer on: December 01, 2012, 06:27:08 pm
I suppose I could follow this example:  http://yayrobots.com/wordpress/?p=119

Though this example should only allow one Arduino to send a message to the other and not allow bi-directional traffic, correct?  I believe simply adding another cable between the two should allow for bi-directional traffic, no?
11  Using Arduino / Project Guidance / Re: How to use 12C with two arduinos and barometer on: December 01, 2012, 06:20:19 pm
Hmmm, well I also want to use the WiFi shield on one of the arduino's so SPI is also out of the question I suppose.  Would connecting via serial be accomplished via digital pins 0 and 1?  I've yet to find a wiring diagram and sketch example of this.  Do you know if one exists somewhere?
12  Using Arduino / Project Guidance / How to use 12C with two arduinos and barometer on: December 01, 2012, 05:38:32 pm
I want to use the following barometer:  https://www.sparkfun.com/products/9694

In order to do so I believe I have to use the i2C interface via analog pins 4 and 5.  I also need to connect twp arduinos together due to memory and processing issues. 

Is it possible to use this barometer AND two arduinos at the same time?  When I look at this page:  http://arduino.cc/en/Tutorial/MasterWriter

It appears that I need to use the same pins to connect two Arduinos together that are necessary for the barometer to work...
13  Using Arduino / General Electronics / Smaller alternative for WiFi on: November 27, 2012, 08:31:58 pm
Is there anything out there that offers the WiFi connectivity (802.11) yet significantly SMALLER than the WiFi shield? I only need the ability to connect to access points, scan for access points and send/receive HTTP requests.
14  Using Arduino / Installation & Troubleshooting / Re: Incompatibility with SD.h and other libraries on: November 26, 2012, 03:24:25 pm
I am definitely not running out of RAM.  I isolated this incompatibility down to the use of the SoftSerial object.  If you use TinyGPS you typically (looking at the example that comes with the library) create an instance of SoftSerial through the creation of an nss.  See this page for an example:  http://arduiniana.org/libraries/tinygps/

If I load all libraries but simply don't use SoftSerial (effectively rendering the TinyGPS library useless) everything runs; I'm just not running any functions that leverage off of the TinyGPS  library.
15  Using Arduino / Installation & Troubleshooting / Re: Incompatibility with SD.h and other libraries on: November 25, 2012, 11:46:01 pm
On a side note - I've noticed if I do not include TinyGPS I can get this to work, but then I'm at a loss as to how to read from the GPS receiver.  I am running a continual loop and need stats from teh GPS but cannot leave the Serial open as in all the examples I have seen thus far...
Pages: [1] 2