Show Posts
Pages: 1 [2] 3 4 ... 112
16  Using Arduino / Sensors / Re: grouping temperature sensors on: April 14, 2014, 08:37:43 am
it is not that i am hiding something - just not sure what is it.

Well there is probably no surprise about that.  I suspect the only people who know what it is are the original manufacturer and the original person who was supposed to receive it as what I imagine is a replacement module, which isn't you.

While the device is about the size and shape of a shield for an Arduino it clearly isn't one and has nothing to do with Arduino. It appears to be part of the controls for a refrigeration system. 

Quote
What harm can i make to a device if i connect 2 more sensors just to try

In the highly unlikely event that you can make it work with three DS18B20s, you can very probably make it work with five. You certainly won't do any harm but it seems the speculation in my previous was right - it's something to be hacked for spare parts.
17  Using Arduino / Displays / Re: Differences between lcd.begin() and lcd.clear() on: April 13, 2014, 11:42:52 pm

I am currently back looking at hardware issues, focusing on the display ground (easier at this time than placing it on a separate power supply).


You shouldn't need to have separate power to the display, have it entirely driven by Arduino and check for external nasties like relay coils and contact spikes.
18  Using Arduino / General Electronics / Re: cheap n nasty lithium battery chargers... on: April 13, 2014, 10:55:53 pm
Looks fine to me, but I was born in Harbin.
19  Using Arduino / Project Guidance / Re: Message in a Bottle on: April 13, 2014, 10:03:02 pm
500-1000 bottles with gps cheap.

A GPS bottle, what a great idea.
It makes it far easier to clean up the mess you made.
20  Using Arduino / Sensors / Re: How can I display my sensor values in my computer ? on: April 13, 2014, 11:07:33 am
You can use PLX-DAQ, which is a freebie macro for Excel.This effectively turns Excel into a terminal and enables you to use live graphs.
21  Using Arduino / Project Guidance / Re: Print to TFT display temperature sensor DS18b20 readings, not to serial monitor. on: April 13, 2014, 11:03:20 am
Not from me, I'm afraid. I have just today started with my TFT screen that I have had for a couple of years and never got round to using. I thought you were using the same library but I now realise it is different. I have UTFT and I don't know anything about it anyway.

One thing though, while your code is incomplete, and I use different code for the DS18B20, I don't think there is anything wrong with the way you are getting it, and if your serial prints deliver what you expect, it should be kosher for anything, and it's just a matter of getting the format right for the screen.

If your library is by  Henning Karlsen, note that he has updated with a universal library, hence UTFT. Included therein is a comprehensive manual that I just seen for the first time.

I now understand what you are doing with all those numbers a bit better, and there is more to this than I ever thought.

My 5110s are pixel addressable in x and line addressable in y, with separate cursor and print commands, but these screens are pixel addressed in both x and y, and it is all in one command. Further, there is a specific command for printing floats

The DS18B20 returns a float to two decimal places so print MyTemp1 = 56.78 one might speculate with

myTFT.printNumF(MyTemp1,2,20,50);

the 2 is the number of frac digits and the 20,50 is the coordinates of upper left corner of the start of printing.

I don't know if this is typical.
22  Using Arduino / Displays / Re: Differences between lcd.begin() and lcd.clear() on: April 13, 2014, 10:19:26 am
If it is a timing problem then I think it will be fixed, if "there is something else afoot"  then it has to be something related to the display is getting corrupted during the loop, and reset by the use of lcd.begin().

Timing problem........ That's interesting, and could explain a lot. I just update displays at one second intervals, but if you are updating in an uncontrolled loop, that could be the "something else" , maybe including the dark periods.
23  Using Arduino / Project Guidance / Re: Print to TFT display temperature sensor DS18b20 readings, not to serial monitor. on: April 13, 2014, 03:41:20 am
That sounds a reasonable place to put it but you would be better off starting with a separate "hello world" type programme exclusive for this purpose.
 
24  Using Arduino / Project Guidance / Re: Print to TFT display temperature sensor DS18b20 readings, not to serial monitor. on: April 13, 2014, 02:53:24 am
Isn't there an example included with TFT.h? I iumagine all you need is to set the cursor and then use

TFTScreen.print(MyTemp);

but I can only guess at what those number are for.
25  Using Arduino / Displays / Re: Differences between lcd.begin() and lcd.clear() on: April 13, 2014, 02:39:20 am
Quote
Is there any reason not to use lcd.begin() instead of lcd.clear() on all occasions?

I think you shouldn't be using either of them.

LCD begin is use to initialise the LCD. It probably does clear it but that is something you wouldn't normally know. It is a command normally just used once in the setup.

LCD clear does indeed clear the screen and is normally not used at all, which is a pretty good way of avoiding the slowness you mention.

You are right to use lcd.begin in the setup only. It may indeed fix your problem in the loop but nobody else does it that way, they do it by avoiding the problem. I submit the problem is entirely down to slack formatting, principally caused by output data being shorter than its predecessor etc.

One common error is not using leading zeros in time/date stamping. Occasionally you might have to supply a blank space after a number but that should be about all the "clearing" you need.

No comment about going dark. I can't imagine you have stuffed up the formatting that badly and i think something else is afoot.
26  Using Arduino / Project Guidance / Re: Arduino-NFC-Android on: April 12, 2014, 08:29:54 am
If you want to send data Android>Arduino you will probably have to write an app of your own to do it, and I imagine your own app to collect the data as well. If you want to send data Aduino>Android, any Arduino datalogging programme with serial.print will do it and there are already several Android terminals that can be used. I use Bluetooth Graphics Terminal, which gives three graphs simultaneously, or record data.
27  Using Arduino / Networking, Protocols, and Devices / Re: HC-05 can't send looping data to pc with arduino on: April 12, 2014, 08:24:18 am
I think I will try to buy a new arduino board only to check it, Is this a good decision?,

No, it isn't. Arduino is fine. Your picture #1 proves that. When you connect bluetooth all you are doing is changing one serial device for another, no change to Arduino and the software is the same. The only problem can be either

1. the Bluetooth
2. the wiring
3. the procedure.

OR somehting dodgy at the other end. You might try a different PC or an Android phone. An Android is usually easier to connect than a PC.
28  Using Arduino / Networking, Protocols, and Devices / Re: HC-05 can't send looping data to pc with arduino on: April 12, 2014, 02:53:24 am
I assume what you see in the first picture is what you expect to see - even the one where I guess you hit enter with no text.  This proves nothing is wrong with the code or hardware but says nothing about bluetooth.

The second shows the bluetooth is at least paired and transmits. I'm at a bit of a loss to explain why you have transmit and no receive. I'm not familiar with your terminal programme but I doubt the problem lies there. The wiring is obviously not the wrong way round but it could still be suss on Rx.
29  Using Arduino / Networking, Protocols, and Devices / Re: HC-05 can't send looping data to pc with arduino on: April 11, 2014, 10:10:00 pm
OK, if the USB is DISconnected, the line on the screen is coming via bluetooth, hence the bluetooth is kosher. This is more than can be said for your code, which seems to just flash a LED and send a pointless remark over serial. Junk.
Try the code I posted. It doesn't flash a LED but is probably more useful.


30  Using Arduino / Displays / Re: Question around special Characters on: April 11, 2014, 08:52:55 pm
Maybe this will help

http://forum.arduino.cc/index.php/topic,135955.0.html

If you want something more than plain vanilla alphanumeric, you might be better off with a graphics LCD like the 5110
Pages: 1 [2] 3 4 ... 112