November 27, 2010
about 4 years ago
SOLVED: Well, I believe that the issue has been resolved. I haven’t done the math. I only know that USB2.0 delivers 4.75V-5.25V. The TMP36 uses little… and I didn’t dig through the datasheets to find the total power consumption of the Arduino+shield+tmp36. I switched to a wall_wart and the thing is just churning away, reliably returning up to around 2 request/sec (my client (curl) could be a limiting factor – don’t care as it’s good enough). Gotta love when you answer your own questions.
If anyone is inclined to “do the math” (power calculations), I’d certainly be interested. Too much to do…
Update: running curl (http request) against the thing every ten seconds, it stops responding after ~5 minutes. I powered-off the thing before running this test. Resetting the Arduino after this sometimes responds for a few iterations but winds-up failing to connect to the server.
So… what’s the consensus? I’ve had nothing but headache with this thing. It seemed to work well… and then I tried to “actually use it.” So, the first few requests worked perfectly… and then it all went to, mmmph, Hades. (i.e., it ceased functioning as expected).
So, I’m serving-up analog readings from at tmp36 (temperature). I put-in delays/etc. The first… 4-6 requests (via curl on OSX) are answered without fail. After that, it all goes to . I get nearly 3,000 lines of garbage… combined with raw HTML responses. For example:
temperatureHTTP/1.1 200 OK
temperatureF: 87.02F: ?(B?v?d??;3??y?0"S@bS?3?;H?aI?7??Ox??E?g5bB?+T?????~?
HTTP/1.1 200 OK
Content-Type: text/hHTTP/1.1 200 OK
}?HTTP/1.1 200 OK]??I?O??b???C?QG?Sۧ?\4???4BB??
about 4 years ago
Thank you, TCWORLD! With your guidance, I was able to get up & running in twenty minutes (unfortunately, I’m still a bit thick). For the sake of helping others that are a little intimidated/lost, I’m posting the sketch that I used on the Arduino Uno to start seeing the NMEA data. Oh, PLEASE NOTE that I connected to digital pins 2 & 3. That is, TX from the Venus GPS goes to Arduino D2, RX to D3.
int rxPin = 2;
int txPin = 3;
NewSoftSerial gpsSerial = NewSoftSerial(rxPin, txPin);
c = gpsSerial.read();
This isn’t the terribly useful… but might help someone else feel less like crushing the thing with a brick. NewSoftSerial is available here: http://arduiniana.org/libraries/newsoftserial/
Thank Uncle Bob for me, too.
Please forgive my extreme ignorance. I’m new to electronics/microcontrollers and I’ve not previously worked with GPS. Googling hasn’t helped (tried to RTFM). So… could someone tell me how to connect this thing to an Arduino? I’m not asking for a sketch. Rather, which pins do I use? I’m only interested in the GPS/NEMA data (i.e., not data logging). I just need a wee push to get me started. I need to get to the point where I can fumble with and curse at the data/etc. Programming tends to be the easy part of all of this stuff. Physical connections/etc are the hard part. Help!
No public wish lists :(
Forgot your password?
No account? Register one!