Show Posts
Pages: [1] 2
1  Using Arduino / Networking, Protocols, and Devices / Re: CMP09 compass module via Software Serial ??? on: August 19, 2011, 06:16:14 am
Thanks for your help everybody!

I managed to get robot-electronics to put an example up on their site, which shows how to do it:

http://www.robot-electronics.co.uk/htm/arduino_examples.htm#CMPS10%20serial

thanks everyone!

best
Christian
2  Using Arduino / Networking, Protocols, and Devices / Re: CMP09 compass module via Software Serial ??? on: August 18, 2011, 03:48:36 pm
Thanks robtillaart about the NewSoftSerial heads up
but could someone help me with the 9600 bps (no parity, 2 stop bits)??

Thanks Christian
3  Using Arduino / Networking, Protocols, and Devices / CMP09 compass module via Software Serial ??? on: August 18, 2011, 03:00:33 pm
Hi all,

I am trying to talk to a CMP09 compass module via Software Serial. The technical guide suggests that I need 9600 bps (no parity, 2 stop bits)

http://www.robot-electronics.co.uk/htm/cmps09ser.htm

Not sure how to set this up. Could anybody give me a little example?

Thanks very much
Christian
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino IDE won't start on windows XP on: February 22, 2006, 07:53:07 pm
Hi David.

Yeah I really don't have Cygwin like I said but I am happy to try another executable.

The problem occured on 3 different XP machines in 1 day and none of these had cygwin or other peculiar configs.

christian@softhook.com
5  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino IDE won't start on windows XP on: February 15, 2006, 12:41:11 pm
I suspect its is something to do with JAVA or Processing. All the XP machines that had problems had  them installed.

I am happy to do some debugging for you or try running some other executables. Where should I start?

BTW. One of the XP machines had Visual Basic installed and when the error occured it seemed to go into debug mode and come back with some details. Would that be useful for you guys?
6  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino IDE won't start on windows XP on: February 15, 2006, 12:18:14 pm
no cygwin
7  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino IDE won't start on windows XP on: February 14, 2006, 10:08:30 pm
erm hard to tell. I had messages to update my java installtion but I had not even updated it before it stopped working.

To be honest there is a real problem on windows XP.

Today I installed the IDE on 3 other machines. A Windows 2000 machine which was fine and 2 Windows XP machines. Both the XP machines didn't work and needed the run.bat workaround.

I think this must effect 60% of XP users
8  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino IDE won't start on windows XP on: February 14, 2006, 05:12:08 pm
I just manged to sort it out by altering the run.bat file

to

set JAVA_HOME="java\bin"

This is pretty clumsy though and many users would be really confused. I am using XP service pack 2
9  Forum 2005-2010 (read only) / Troubleshooting / Arduino IDE won't start on windows XP on: February 14, 2006, 04:04:25 pm
Hi strange thing happend today. I have been using Arduino for a while now but today I tried to run the IDE and it would not start up at all. The cursor changes to the hourglass for a second but nothing runs. It also doesn't seem to be running as a process.

I tried the old version 2 IDE and that didn't work either. Then I tried removing the software and then downloading it again. No joy!

I am guessing this is something to do with my windows setup but short of a full windows re-install I am not sure what to do.

Any help from someone out there?
10  Forum 2005-2010 (read only) / Troubleshooting / Software serial in 04 on: May 09, 2006, 09:44:16 am
Hi there I am trying to drive a motor with a Little Step-U
Unipolar Stepper Motor Controller http://www.tla.co.nz/lit_step.html

Can someone please explain how to use the new software serial in 04?
11  Forum 2005-2010 (read only) / Troubleshooting / Arduino Linux Distribution !?! on: February 23, 2006, 08:50:11 pm
I had a great idea (I think anway)

How about incuding Arduino and Processing as part of a Linux distribution CD like Ubuntu or Knoppix or Dynebolic?

This would finally allow many artist/designers to fully move over to Linux and bring in a massive new Linux audience to the Arduino project.

I know some people who build these distributions and would be able to put you in touch with them if we make a nice package.

What do you think? Any interest from anyone?
12  Forum 2005-2010 (read only) / Syntax & Programs / Re: GSM shield - 400 Bad Request error on: March 15, 2010, 08:31:00 am
Hi Andy,

The GSM module on mine is GE863-QUAD. Check the firmware version on yours maybe you can upgrade it?

Regarding your code:
In the terminal you don't need the escape slash '\' before the url.
Also for http 1.1 you need the Host: www.google.com
13  Forum 2005-2010 (read only) / Syntax & Programs / Re: GSM shield - 400 Bad Request error on: March 14, 2010, 11:11:40 am
Hi

I actually managed to solve my own problem and am planing to write a tutorial for the GSM shield website for how to do it. So just quickly. The key thing to realise is that each time you do "gsm.SendATCmdWaitResp" is actually  a carriage return and newline \r\n.
So try this:


Code:
  ret_val = gsm.SendATCmdWaitResp("AT#SKTD=0,80,\"www.google.com\",0", 10000, 1000, "CONNECT", 1);
  ret_val = gsm.SendATCmdWaitResp("GET / HTTP/1.1", 10000, 1000, "", 1);
  ret_val = gsm.SendATCmdWaitResp("Host: www.google.com", 10000, 1000, "", 1);
  ret_val = gsm.SendATCmdWaitResp("\r\n", 10000, 1000, "", 1);
  debug();

Good luck!

best
Christian
14  Forum 2005-2010 (read only) / Syntax & Programs / GSM shield - 400 Bad Request error on: March 04, 2010, 10:38:02 am
HI there,

I am trying to use a GSM shield to do a http Get request using GPRS.

This is the hardware I am using:
http://www.hwkitchen.com/products/gsm-playground/

The problem I am having is that I keep seeing this output in the debug window:
Code:
AT#GPRS=1

+IP: 10.215.185.131

OK

AT
AT#SKTD=0,80,"www.bijlmereuro.net",0

CONNECT

GET /getparameters.php?location=id HTTP/1.1
Host: www.bijlmereuro.net


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<

Something seems to be wrong in my GET request or in the timing of it. The ret_val = gsm.SendATCmdWaitResp and 10000, 1000, "OK", 1 numbers are part of the GSM library of the GSM shield.



 
Code:
 ret_val = gsm.SendATCmdWaitResp("AT#GPRS=1", 10000, 1000, "OK", 1);  

  //Connect to webserver
  ret_val = gsm.SendATCmdWaitResp("AT#SKTD=0,80,\"www.bijlmereuro.net\",0", 10000, 1000, "CONNECT", 1);

  //Make the request
  ret_val = gsm.SendATCmdWaitResp("GET /getparameters.php?location=id HTTP/1.1\r\nHost: www.bijlmereuro.net\r\n\r\n", 10000, 1000, "", 1);
Can somebody help?

Thanks!

Christian
15  Forum 2005-2010 (read only) / Troubleshooting / Re: Accelerometer problem on: March 07, 2006, 04:31:33 pm
Hi Mellis. Worked out the problem the photo on the Arduino tutorial is incorrect. The +5v wire is touching the wrong pin. I have sent David a corrected photo so things will be updated in the tutorials.
Pages: [1] 2