Show Posts
Pages: [1] 2 3 4
1  Using Arduino / Displays / Re: TFT 1.8" Display: Where can I find list of all commands. on: August 24, 2013, 02:43:51 pm
I advise you using

Utft library
http://henningkarlsen.com/electronics/library.php?id=51

& Utouch library
http://henningkarlsen.com/electronics/library.php?id=55
2  Using Arduino / Programming Questions / which less power consumption? on: July 16, 2013, 03:32:06 pm
Is second code less power consumption than first code?

first code:
Code:
void loop() {
int x = analogRead(A0);
x=map(x,0,1023,0,255);
analogWrite(11,x);
}

second code:
Code:
void loop() {
int x = analogRead(A0);
x=map(x,0,1023,0,255);
if(x!=p)
{analogWrite(11,x);
p=x;}
}
3  Using Arduino / Networking, Protocols, and Devices / ET-314 GPS on: July 08, 2013, 02:31:24 pm
what's meaning property [Active antenna] in ET-314 GPS?
4  Using Arduino / Displays / Re: 3.2" TFT LCD with touch screen,SD card slot and Mega Touch LCD Shield Expansion on: July 05, 2013, 07:25:12 pm
1.Can i use the touch screen LCD module directly with mega 2560 without the LCD Shield?Will Touch,LCD Screen and SD card all will work fine? 
yes by wires, but I don't know how. I advise you buy from website
http://www.sainsmart.com/home-page-view/sainsmart-mega2560-board-3-5-tft-lcd-module-display-shield-kit-for-atmel-atmega-avr-16au-atmega8u2.html

[ 2.Can i use the Library that arduino provided in arduino 1.0.3?
3.Can you provide me some tutorials including demo codes with exactly this LCD? ]
look the website :
http://www.sainsmart.com/home-page-view/sainsmart-mega2560-board-3-5-tft-lcd-module-display-shield-kit-for-atmel-atmega-avr-16au-atmega8u2.html

5.Can i play video or Flash or any animation using mega 2560 and this TFT Touch Screen LCD?
you can upload images to tft lcd only.
Thanks in Advance.
5  Using Arduino / Displays / Re: TFT LCD Mega Shield V1.2 - Pin or Connection Problem on: July 04, 2013, 10:47:12 am
the libraries UTFT and UTOUCH don't support arduino 0023 or earlier.
6  Using Arduino / Displays / Re: 7" TFT LCD + MEGA R3 Touch problem! on: July 04, 2013, 06:56:57 am
buttons are displayed on screen but when I touch buttons there are no response!
upload your code even know what the problem is?
7  Using Arduino / Displays / Re: TFT LCD Mega Shield V1.2 - Pin or Connection Problem on: July 03, 2013, 04:46:06 pm
what's the version of arduino you use?
8  Using Arduino / Displays / Re: TFT LCD Mega Shield V1.2 - Pin or Connection Problem on: July 03, 2013, 03:15:04 am
But it doesn't still work. There is just white light on the screen nothing else.
UTFT myGLCD(ITDB24E_16,38,39,40,41);   // Remember to change the model parameter to suit your display module!

change to :
"UTFT myGLCD(ITDB32S,38,39,40,41);"
9  Using Arduino / Displays / Re: Arduino tft lcd screen-Loading several images-How do I do it correct? on: July 03, 2013, 03:03:27 am
look this:
http://forum.arduino.cc/index.php?topic=172333.0
10  Using Arduino / Programming Questions / Re: variable equal one but don't equal one on: June 27, 2013, 04:47:42 pm
Floating point is not exact. The more math you perform with it, the less exact it gets.
I tried [ if(round(cursf)==1) ] , the result was right.
THANX.
11  Using Arduino / Programming Questions / Re: variable equal one but don't equal one on: June 27, 2013, 04:39:12 pm
Also in your case, you are not comparing a floating point number to a floating point number, you are comparing a floating point number with the integer 1. You should use:
cursf == 1.0
I tried it [ if(cursf==1.0) ], but the results are the same.
12  Using Arduino / Programming Questions / Re: variable equal one but don't equal one on: June 27, 2013, 04:25:35 pm
I added the code and the results.
13  Using Arduino / Programming Questions / variable equal one but don't equal one on: June 27, 2013, 03:51:48 pm
it's weird, the variable cursf1 equal one, but in (if) statement don't equal one, what's wrong?


Code:
double cursf;
void setup(){
  Serial.begin(9600);
  delay(1000);
  Serial.println("go");
  cursf=0.01;
  Serial.println(cursf);
  cursf=cursf*10;
  cursf=cursf*10;
  Serial.println(cursf);
  Serial.println(int(cursf));
  if(cursf==1)
  {Serial.println("hello");}
}

void loop(){}

the results on serial monitor:
(
go
0.01
1.00
0
)
14  Using Arduino / Displays / Re: FONTS on: June 24, 2013, 05:52:40 am
this link contains types of fonts,I don't know how to generate new fonts,you can ask here http://henningkarlsen.com/electronics/contact.php
 but if you can't do that, I advise you to use memory card ,then upload the words in the form of pictures as in the link
http://forum.arduino.cc/index.php?topic=172333.0

15  Using Arduino / Displays / Re: UTFT - dispBitmap function on: June 18, 2013, 05:45:55 pm
in the first step , you must convert the picture to extension [.raw] by this software
https://www.dropbox.com/s/6ywftn27pchyshv/ImageConverter565.exe
 but you must record the vertical and horizontal pixels of picture.
then use the function
myGLCD.loadBitmap(220, 62.9, 11, 12, "H.raw");
220,62.9: the coordinates left up corner of picture
11:horizontal of pixel of picture
12: vertical of pixel of picture

 


Pages: [1] 2 3 4