Show Posts
Pages: 1 2 3 [4] 5 6 ... 30
46  Using Arduino / Programming Questions / Re: GPS and LCD UNITE kinda :/ on: April 01, 2014, 02:59:50 pm
I'd start by looking for a string starting with $GPGGA as that is the one that contains the satellite fix flag. Then once you have that you can either use that string or $GPRMC string for your location.

To parse the string in a simple way to start with just look for 'n'  commas before the data you want.
47  Using Arduino / Displays / Re: LCD displays only blocks when I upload the Hello, World Example Code on: March 31, 2014, 04:57:38 pm
He wouldn't see the blocks if the contrast wasn't set somewhere near where it should be.

With all respect Don, I have fully functioning displays that with the contrast set to the limit they display blocks and not characters. Granted it doesn't take too much adjustment to make the transition, but nonetheless it happens.
48  Using Arduino / Displays / Re: LCD displays only blocks when I upload the Hello, World Example Code on: March 31, 2014, 04:07:24 pm
You have adjusted the potentiometer that controls the contrast?
49  Using Arduino / Programming Questions / Re: GPS and LCD UNITE kinda :/ on: March 31, 2014, 03:53:03 pm
Is there some of the GPS code missing? The declarations and includes before setup()?

Everything before setup() wants to be in your new sketch. Everything in BOTH setup() wants to be in the setup() of your new sketch - but you need to sit down and make sure that you aren't trying to use any pins for more than one task, unless that is what you want! I haven't been through the code thoroughly but as I have that screen combo I suspect there will be conflict, and if there is you will need to move Serial1 to other pins.

And then the difficult bit - read the gps, decode the message and output to lcd!

(Whoops - I forgot it was a Mega clone - but the basics are still right!)
50  Using Arduino / Displays / Re: 16x2 LCD - i2C Problems on: March 31, 2014, 03:33:26 pm
I had a similar problem but with a backpack. Firstly I used Nick Gammon's I2C Scanner to ascertain the device address, and then tried three different libraries until I found one that worked fine. The library examples assume an address of 0x20, mine was 0x27.
51  Using Arduino / Programming Questions / Re: Problem with GSM library(BUG) on: March 30, 2014, 11:57:45 am
Personally I would remove the sms.flush() function, try it again and if the problems persists then put the sim card in a 'phone to see if the missing character is present when you look at the message there. That way you will have a better idea where the problem lays.

And please use code tags in future.
52  Using Arduino / Networking, Protocols, and Devices / Re: URGENT! Arduino Uno + ICOMSAT V1.1 GSM Modem Communication on: March 27, 2014, 01:27:16 pm
About two thirds down this page:

http://www.seeedstudio.com/wiki/GPRS_Shield_V1.0

Is a sketch entitled '//Serial Relay'.

Copy it into the IDE and change the line:

Code:
SoftwareSerial GPRS(7, 8);

to:

Code:
SoftwareSerial GPRS(3, 2); // RX, TX

Load it up to your Uno, attach the shield, power and USB cable, open the Serial Monitor (19200 baud) and send the command AT (in capital letters) to the Uno. The shield should respond if all is ok.

If not, post your results.
53  Community / Bar Sport / Once upon a time, on: March 26, 2014, 06:30:07 pm
in the early 1980's, I worked for an electronic component distributor. One of the items they sold was an LCD/LED (seven segment) bezel, which was effectively a plastic picture  frame to cover the edges of hole in the instrument panel that the display could be seen through. The LCD ones also had a polarising filter if required (turned through 90 degrees reversed the display!), whereas LED ones would include a colour filter.

If, after all that waffle, you know what I'm on about, can you still buy similar things today?
54  Using Arduino / LEDs and Multiplexing / Re: 3 Position LED Control on: March 26, 2014, 06:15:55 pm
Hi MisterMimoBot,

Welcome to the forum.

Is there any chance you could provide a link to the LEDs strips you mention?
55  Using Arduino / General Electronics / Re: Advice for RFID reader and fobs? on: March 26, 2014, 05:27:33 pm
Seeing as you haven't offered any guidance on any experience you have of RFID I can only suggest the following:

The greater the distance between sensor and card, the higher frequency the unit needs to operate at. And the higher the frequency, the higher the cost.

And a common misconception is that cards need to be 'swiped'. They don't, they just need to be held close enough to the sensor.
56  Using Arduino / Networking, Protocols, and Devices / Re: GSM SM5100B + Arduino UNO on: March 25, 2014, 02:49:42 pm
If you are getting random characters when running that sketch then you have other problems I'm afraid. You aren't reading any characters from anywhere to display. You might want to check your USB cable?

What do you mean by BR?

Put the SIM card in  'phone to see if it works?
57  Using Arduino / Networking, Protocols, and Devices / Re: GSM SM5100B + Arduino UNO on: March 20, 2014, 01:33:06 pm
Try this - it should just display a message on the Serial Monitor.

Code:
#include <SoftwareSerial.h>

char incoming_char=0;      //Will hold the incoming character from the Serial Port.

SoftwareSerial cell(2,3);  //Create a software serial port. Pin 2 is the Rx pin, pin 3 is the Tx pin.

void setup()
{
  //Initialize serial ports for communication.
  Serial.begin(9600);
  cell.begin(9600);
 
  //Let's get started!
  Serial.println("Starting SM5100B Communication...");
}

void loop()
{
}
58  Using Arduino / Networking, Protocols, and Devices / Re: GPS Shield $GPGSA Data on: March 20, 2014, 01:25:39 pm
The satellites are distributed across the globe so geographic location shouldn't have anything to do with it. But do you have a clear view of the sky to enable it to get a lock? You typically need three strong signals.
59  Using Arduino / Networking, Protocols, and Devices / Re: GPS Shield $GPGSA Data on: March 20, 2014, 01:55:05 am
Quote
$GPGGA,035628.751,,,,,0,00,,,M,0.0,M,,0000*5F

You don't look as though you have a satellite lock at this stage.
60  Using Arduino / Programming Questions / Re: Problem Uploading - Fall detection Project. on: March 19, 2014, 04:09:06 pm
!!! is used by the bootloader change it to !! or !!!! and things will be ok You can't use !!! in a string with the arduino bootloader.

As far as I'm aware it will find the three exclamation marks in !!!!.
Pages: 1 2 3 [4] 5 6 ... 30