Arduino

From: 99% of gargoyles look like (MR_BASTARD) 2 Jan 2015 19:53
To: Chris (CHRISSS) 98 of 542
Why do Americans say sodder instead of solder?

Perhaps for the same reason that you wrote "night" instead of 'might', and "desokdering and resokdering" instead of 'desoldering and resoldering'. Spill awtocorekt.

From: Ken (SHIELDSIT) 2 Jan 2015 20:20
To: Chris (CHRISSS) 99 of 542
Are you drunk?
From: Chris (CHRISSS) 2 Jan 2015 20:30
To: 99% of gargoyles look like (MR_BASTARD) 100 of 542
They typo when they talk?
From: Chris (CHRISSS) 2 Jan 2015 20:30
To: Ken (SHIELDSIT) 101 of 542
No, unfortunately :(
From: Ken (SHIELDSIT) 2 Jan 2015 20:31
To: Chris (CHRISSS) 102 of 542
You could have lied, no one would have known the truth!
From: Chris (CHRISSS) 2 Jan 2015 20:51
To: Ken (SHIELDSIT) 103 of 542
You are probably correct, easy to mistake my rubbish mobile typing with drunkenness.
From: Chris (CHRISSS) 2 Jan 2015 21:11
To: ALL104 of 542
Looks like the tri colour LED that comes with it doesn't work :( It has red, green and "blur" colours.
From: Chris (CHRISSS) 2 Jan 2015 21:16
To: ALL105 of 542
I was going to edit my last post but when I tried I got a blank post without what I had already written.

If I connect one of the output pins to ground and put the ground from the Arduino to one of the colour pins on the LED module the LED lights. That doens't seem right.
From: Chris (CHRISSS) 2 Jan 2015 22:48
To: ALL106 of 542
I've also just realised that I was probably running the LEDs with to much current. I had connected the resistors in parallel instead of series in the circuit. Oops.
From: Chris (CHRISSS) 3 Jan 2015 18:51
To: ALL107 of 542
How can I get two arduinos to communicate wirelessly?

I have an idea for sommat which would need two (maybe three (or you could use more I guess)) to talk to each other. Only have 1 Arduino at the mo anyway so can get the first bit working at least.
From: koswix 3 Jan 2015 20:40
To: Chris (CHRISSS) 108 of 542
What sort of distance? Xbees have a good reputation I think.
From: Chris (CHRISSS) 3 Jan 2015 20:50
To: koswix 109 of 542
Probably a couple of metres. I will look at Xbees.

I've seen wireless serial RF devices or WiFi modules on eBay. Wouldn't mind which type, just need to send a signal from one to the other. Could WiFi ones connect together or would it need to go through router?
From: koswix 3 Jan 2015 21:15
To: Chris (CHRISSS) 110 of 542
Only used Xbees for simple serial point to point stuff, I don't really know the differences between the umpteen different versions. They're meant for mesh networking so I imagine it could do it peer to peer.
From: ANT_THOMAS 3 Jan 2015 22:29
To: koswix Chris (CHRISSS) 111 of 542
Have a look at nRF24L01+ adapters. Really cheap on ebay. You can get ones with a tiny onboard antenna (99p) or slightly more expensive ones with a bigger screw-on antenna (~£3).

Edit : If you want to buy some on ebay the cheap ones come from China/HK. Also, since you want more than one search for something like "nRF24L01 -1pcs pcs" to get some good prices for multiple adapters.
EDITED: 3 Jan 2015 22:33 by ANT_THOMAS
From: Chris (CHRISSS) 3 Jan 2015 22:59
To: ANT_THOMAS 112 of 542
Those are the ones I saw on eBay earlier. I think I will look into how they work. Thanks.

Apparently the screw on aerial types can transmit up to 1km. Long far.
From: ANT_THOMAS 3 Jan 2015 23:03
To: Chris (CHRISSS) 113 of 542
Yeah, they're supposed to get some pretty impressive transmission distances.

I've got one with a massive antenna connected to a Raspberry Pi and a couple of arduinos with the tiny antenna adapters around the house transmitting temperatures. It might be because mine are indoor with decent thick walls but I've definitely seen some range issues. It could also be 2.4 GHz interference. I imagine in an open space you'd get great range.
EDITED: 3 Jan 2015 23:06 by ANT_THOMAS
From: Chris (CHRISSS) 3 Jan 2015 23:35
To: ANT_THOMAS 114 of 542
It does say unobstructed. The ones with the small antennas don't seem to mention range. Our house is a mix of plasterboard upstairs and brick downstairs.

Are they easy to use?
From: ANT_THOMAS 4 Jan 2015 00:14
To: Chris (CHRISSS) 115 of 542
I haven't had 2 arduinos communicating with them (because that wasn't my aim) so I can't say if that's easy.

Getting them to communicate with the RPi wasn't too easy. IIRC the arduino side of things was fairly easy but the RPi wasn't straight forward, I had to email the person who wrote some examples for advice, I was clueless with what I needed to do.

The arduino side of my setup is pretty "dumb", all it does is transmit a payload of the temperature and another number every 10 seconds or so. It was getting the RPi to receive them that was harder.

You're probably best getting a couple, using some example sketches and getting something working, then adapt it to what you want to actually do.
From: Chris (CHRISSS) 4 Jan 2015 11:10
To: ANT_THOMAS 116 of 542
Ah, Arduino to Pi, I see. Hopefully it will be easier Uno to Uno. Which cheap Arduinos did you buy? Was it the little mini ones from eBay?

Had a play with the 2 line LCD in the kit last night. Made a scrolling display (autoScroll only seemed to scroll both lines) and realised the pot for the contrast is definitely needed which may explain why my 4 line didn't show anything with the Pi, it may actually have been working.

Also any idea about debugging sketches? I put too many for loops inside my scrolling display code. Took a while to work out what I'd done.
From: ANT_THOMAS 4 Jan 2015 11:44
To: Chris (CHRISSS) 117 of 542
There's two types of the cheap small arduino clones about. There's the Nano and the Pro Mini.

I've got some of both but I much prefer the Nano type. They come with USB serial built in and possibly more pinouts, slightly larger and marginally more expensive I think. You can power over the USB connection too which is really useful because I've got a load of mini-USB phone chargers from old phones lying around. I believe you'll need a Nano for the nRF24 adapters because the Pro Minis I have don't have a 3.3V pin which is required.

If I've still got a spare Nano I might make another wireless temperature sensor today for a different room.
EDITED: 4 Jan 2015 11:45 by ANT_THOMAS