Show Posts
Pages: 1 ... 10 11 [12] 13 14 ... 147
166  Topics / Home Automation and Networked Objects / Re: Arduino Mega 2560 board that has Bluetooth built in on: July 02, 2014, 09:52:13 am
I need an Australian source.

Fat chance of that... Jonathon Oxer doesn't do it, and why should you need a local source for it anyway. As it is, unless you have some very special need that you are not letting on about, you are bound to need a swag of peripherals to go with the Mega resulting in the need for a shield, and the bluetooth could go on that without any problems.  An Australian-made shield even.
167  Topics / Home Automation and Networked Objects / Re: Flowmeter sensor on: July 02, 2014, 09:39:10 am
i have to many calculations for the frequency of the sensor

I doubt that's correct, and you are probably on the wrong tram.  You might have a look at.

http://www.freetronics.com/pages/jaycar-water-flow-gauge

However, IF you want flow rate rather than flow quantity then getting an average over ten seconds sounds like a good idea.

I use the same, or similar, flow sensors and they are very accurate for measuring quantity of irregular flow totalling about 200 litres/day. The problem was that I was collecting temperatures at one second intervals and displaying the flow rate along with them.  This was a disaster. The readings are all over the place and so incomprehensible there is no point in looking at them.  These erratic readings may still provide aggregate power readings at the end of the day but, while I will stick getting all readings at 1Hz, I think I will take the average of the kW and update that every five or ten seconds.

The flow sensors are accurate and reliable. Mine are calibrated against a commercial heat meter from Maddalena but it is notable that Maddalena only update the kW display  at thirty second intervals. There could be good reason for that., and it has already become manifest with Arduino.

168  Using Arduino / Project Guidance / Re: Questions about shields on: July 02, 2014, 09:01:55 am
It simply a lead with a plug on the end, not ordered down.

Picture shows a Mega with a store-bought Ethernet shield. By the red reset button, you can see the ICSP connection, which is common to Uno and Mega. The sensor shield carries a clock and started life on a Uno. The SDA and SCL were removed from A4,A5 and wired to a new header at the other end,  from whence the black and white pair go to 20,21 on the Mega.

The spare pins are not for switching the service as described before, but for an I2C display.

The plug could conceivably be reconnected to A4,A5 but that is not the intention. Another shield normally sits on top , and the sensor shield is unlikely to sit on a Uno again.
169  Using Arduino / Networking, Protocols, and Devices / Re: Arduino seeed's Bluetooth shield upload code on: July 01, 2014, 11:00:14 pm
I think there are a couple of misunderstandings here

For now I have archived to pair Arduino with my Mac

Your Mac has achieved pairing with Bluetooth. Arduino is not involved, and successful pairing does not mean successful communication.

Quote
but I can not upload the code after when I am using BT connection.

The bluetooth is a serial data device, not used upload code. There may be ways to do this, but not by simply connecting bluetooth to the serial pins.
170  Using Arduino / Displays / Re: Problem connecting TFT LCD with SD card module on: July 01, 2014, 09:57:17 pm
Yes, that is normal procedure, and are working as if the SD on the LCD shield isn't there. Indeed that is likely to be truly the case. I believe it is typical that the SD slots on LCD shields are "not there" by default and you have to use a jumper or solder bridge in order to use them.

You might find that it is ultimately preferable to do that, use the SD on the LCD, and dispense with the separate module.  

Quote
Sorry, i meant the CS in the SD card module to be pin 4.

Yes, this is the standard CS pin for SD and standard example programmes use that. Note that some LCD shields have different CS pins for SD. It is possible that that CS would be 10 but, with a Uno, pin 10 must be high irrespective of it being used or not, so that should not be a problem.

 
171  Using Arduino / Networking, Protocols, and Devices / Re: Not able to configure Bluetooth Module on: July 01, 2014, 09:36:39 pm
The device is a plain vanilla HC-06. In ready mode, there should be a blinking LED. If your PC or phone can see it, the default identification is LINVOR, in which case try the  password 1234 or 0000, which are the usual defaults.

If you have a proper connection, the LED will go steady.

If the LED is steady, bluetooth is fine and all your problems are with Arduino

If you are using proper hardware serial Pins 0,1, and using Putty on the PC, make sure the USB cable is disconnected and Putty is operating through the COM port advised by the Windows Bluetooth sniffer, which will probably be something like COM40.
172  Using Arduino / Project Guidance / Re: Bluetooth Low Energy alternatives for the HC-05 on: July 01, 2014, 07:22:37 pm
but did not find how to use them

No surprise there, I don't think these things are ready for the real world.

Here is some background

http://letsmakerobots.com/node/38009
173  Using Arduino / Project Guidance / Re: programming with android on: July 01, 2014, 06:39:35 pm
It's job is apparently to do the same job, but I don't know anything about it.
174  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet library too big on: July 01, 2014, 06:33:01 pm
Maybe I must go to mega.

I'm sure you must. And your project is much more likely to grow than shrink. Further, even if your compiler says your code is 31k, that is not a guarantee it will run.

Having two time related libraries may be a bit unusual, but probably not relevant. I understand the compiler only uses stuff that you need from a library.
175  Using Arduino / Networking, Protocols, and Devices / Re: Arduino Wireless Bluetooth Transceiver Module phone connecting problem on: July 01, 2014, 10:40:00 am
The light of transceiver keep blinking (which I guess it's standby mode).

This is correct but you don't say if it stops blinking and goes steady. If it does not go steady, you have not succeeded in  pairing.

The wiring looks right. I don't know anything about your phone but it's not an iPhone, so it should be fine.

You might find the following background notes useful

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino
176  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet library too big on: July 01, 2014, 10:30:11 am
While you don't seem too keen to say exactly what you are doing, I think what you have found is that it is time to move to a Mega.
177  Using Arduino / Displays / Re: Problem connecting TFT LCD with SD card module on: July 01, 2014, 10:19:12 am
But is it correct for me to connect the SD included in the LCD and the SD card module to the same CS pin 4?

You had better be a bit more forthcoming about the equipment you have, but possibly not. The LCD shield data should tell you what the CS is. However, if they won't tell you, it probably is pin 4, as this is the conventional choice.  This is starting to sound like you want to use both SDs. This can hardly be a good idea, and you will likely need to change the S pin of one of them, probably the SD module. 

Quote
I am not really sure if i can connect the MOSI, SCK and MISO for both LCD and SD card module together too..
or should i change the pin numbers for the LCD's MOSI, MISO and SCK?

This the SPI bus. You can't change the numbers but, by virtue of it being a bus, you can put several devices on it. It is the CS pin that needs to be different and you just need to know what the LCD CS is.
178  Using Arduino / Project Guidance / Re: programming with android on: July 01, 2014, 10:00:00 am
I will go out from home and won't take computer,

 In the meantime check out the ArduinoDroid app. you will need USB host capability
179  Using Arduino / Project Guidance / Re: Questions about shields on: July 01, 2014, 09:42:20 am
Quote
How do I do that? Do I connect A5 to D20 & A6 to D21 on the Mega with jumper wires?
No. SDA,SCL would be connected to to two male pins that would be either connected to 20,21 by flying lead, or to two adjacent pins by jumper, and those two pins run to A5,A6.

The I2C bus is the only case I can think of where something like this would happen and I suspect the Flamingo sensor shield does this but no I2C module is actually on the shield. I'm  not aware of any shield carrying I2C devices, and this is a situation more likely encountered with home-brewed boards - and easily fixed.

Of the store-bought shields I have: LCD, GSM, USB, sensors, and Ethernet, all are made for Uno and work fine, without adaptation on Mega. This is normal. And as I said, the only commercial boards I have seen that are Mega only are specifically for large LCDs that a Uno can't handle anyway. (Actually, I have one of those too) Further, the use of one of those shields is the only time I have felt motivated to make up a Mega proto shield to go under it, and even that has not been strictly necessary.

My home-brewed boards are Uno-size but Mega only by virtue of them all carrying a clock module. They could all be adapted as described above.
180  Using Arduino / Programming Questions / Re: What programming language to learn ?! on: July 01, 2014, 03:21:43 am
Get the Arduino and dive straight in..........

That is the best advice you are going to get. Using anything else is just plain silly. Whatever it is, the language provided by Arduino in their IDE is the language you know will work, it's the language most other people speak, and the people that don't are the people you don't need to listen to.
Pages: 1 ... 10 11 [12] 13 14 ... 147