Show Posts
Pages: 1 [2] 3 4 ... 47
16  Using Arduino / Networking, Protocols, and Devices / Re: Sim900 & xively on: August 19, 2014, 06:50:10 am
I typed 'SIM900 Xively' into Google and got over 4000 hits, and I can see the word 'Example' on the first page although I've not opened the link.
17  Using Arduino / Programming Questions / Re: Boolean operators mixed on: August 18, 2014, 05:31:45 am
I don't have access to an Arduino at the moment to test it, but is it a case of operator precedence?

Code:
if (eye == HIGH && light < 15) {

should be

Code:
if ((eye == HIGH) && (light < 15)) {
18  Community / Website and Forum / Re: User profile page blank on: August 17, 2014, 04:42:55 pm
I'm using Chrome (don't start) and I can't see your profile pic, but I can see that there should be something.
19  Maker Faire Rome - The European Edition / Makers / Roma 2014 on: August 15, 2014, 05:44:57 pm
So...

It's six weeks or so to MakerFaire Europe. Budget tickets booked, Athena Airways have agreed to drop us off as we pass over Italy. Catching the return flight could be tricky.

In the absence of any official announcements is anyone attending as a maker?
20  Using Arduino / Networking, Protocols, and Devices / Re: Web Server example why is it not working for me? on: August 15, 2014, 10:40:51 am
That's a bit beyond the remit for an Arduino forum but I suspect that you'll need a static IP address and that you're unlikely to get one as a domestic user.
21  Using Arduino / Networking, Protocols, and Devices / Re: GSM Shield Issues - Missing Component? on: August 15, 2014, 06:58:31 am
The large orange part at the bottom of that image is a capacitor to provide the extra current the shield draws when transmitting. Newer versions have a diode soldered to it, as per the illustration. You really need that part for consistently successful operation.

22  Using Arduino / Networking, Protocols, and Devices / Re: Web Server example why is it not working for me? on: August 15, 2014, 06:54:01 am
You just want the section of code in the function SubmitHttpRequest(), from { to }.

The second link wasn't really a link, just an example of passing parameters. You would start with your basic URL in a string (not String) and then concatenate (strcat) your parameters on to it.

Script languages like Perl and php will parse the data for you quite easily and write it away to your database. However, that side of the process is outside of the scope of this forum really, so if you aren't confident with those parts take a look at www.w3schools.com - it's a reasonably good introduction to scripting languages, SQL, etc.

That's just the way I would do it.
23  Using Arduino / Networking, Protocols, and Devices / Re: Web Server example why is it not working for me? on: August 15, 2014, 04:40:03 am
First of all if you don't already have one you need to find yourself a hosting site. One that has mySql and supports a scripting language you know (or want to learn).

Then go to

http://www.seeedstudio.com/wiki/GPRS_Shield_V1.0 (a similar shield to the one you are using)

and do a search for

Code:
///SubmitHttpRequest()

This is a basic method of making an HTTP request - requesting a web page. Build up your URL to include any parameters you want to pass to your site (www.mysite.co.uk/whereami.php?left=7&right=2). Write a script that will parse the incoming data and write it to your mySql database. And finally write another script that reads your database and displays the data in a pretty fashion!

Just about any sim card will do for this, if you can connect to the internet it will do. (Usual caveats apply!)
24  Using Arduino / Networking, Protocols, and Devices / Re: Web Server example why is it not working for me? on: August 15, 2014, 02:48:27 am
I'd be tempted to use Google to see if any service providers will permit that.

Why can't you just upload the data to a web site, use a little script to insert it into a database and another script to display the data to the user? You could use the GET statement and include the parameters in the URL?
25  Using Arduino / Programming Questions / Re: SIM900 programming problems, help needed on: August 14, 2014, 02:37:52 pm
If you are using Serial1 you need to connect Mega pins 18 & 19 to pins 2 & 3 on the modem.

And you don't need two

Code:
Sim900Serial.begin()
26  Using Arduino / General Electronics / Re: Arduino Leonardo unable to power my motor? on: August 14, 2014, 05:49:21 am
You have connected the grounds together?
27  Using Arduino / Installation & Troubleshooting / Re: Arduino-like board not recognized as USB device on: August 14, 2014, 04:54:24 am
A link to the device might help.
28  Using Arduino / Networking, Protocols, and Devices / Re: Arduino Leonardo and GSM Module Problem on: August 13, 2014, 04:14:04 am
If you have wired it up as per your illustration then

Code:
SoftwareSerial GTM(2, 3);

should be:

Code:
SoftwareSerial GTM(7, 8);
29  Using Arduino / Programming Questions / Re: dht error on: August 13, 2014, 03:21:22 am
Go have a look at the link Rob gave you. Download and install his library (remove the others first). There is an example there for you to get an understanding of the syntax.

It works. I've been using it for some time now.
30  Using Arduino / Programming Questions / Re: RPM using hall effect sensor on: August 12, 2014, 04:42:56 pm
The way I would approach it, in very general terms, is to have your sensor connected to an interrupt pin to count the impulses. In the mean time your sketch will check the number of pulses received once a second, multiply that by 60 (pulses per minute) and that is your RPM.

On a motorbike with all the noise on the electrical circuit the sketch is probably going to be the least of your challenges.
Pages: 1 [2] 3 4 ... 47