Show Posts
Pages: 1 [2] 3 4 ... 10
16  Using Arduino / Displays / Re: TFT 3'2 problems on: March 27, 2014, 04:16:39 pm
 
what do you think? :S

From my perspective, I have no more answers to give  smiley-roll

Maybe others will be able to say something that you want to hear....

However, randomly connecting various voltages to various pins is , more likely than not, going to result in you destroying the Arduino, the LCD, or both.

Cheers
17  Using Arduino / Project Guidance / Re: Motion activated lamp - help for a school project on: March 25, 2014, 11:00:33 pm
You might also want to have a look at the product page https://www.sparkfun.com/products/8630.

There are some interesting comments towards the bottom and this looks to be a good link http://itp.nyu.edu/physcomp/sensors/Reports/PIRMotionSensor.
18  Using Arduino / Project Guidance / Re: Motion activated lamp - help for a school project on: March 25, 2014, 10:38:10 pm
It seems to me you have 2 choices:

- let someone else write the code for you, in which case you will probably learn nothing
- go back to basics and build your sketch up slowly so it eventually does everything you expect of it

Given that this is for a school project, I suggest the option 2 should be the one you choose.

I would start by removing everything to do with the relay and lamp and get the motion sensor working first - output sensor_1 to the Serial Monitor so you can see what sort of responses you are getting. Once this is working move onto the next step of doing something when the motion sensor is activated i.e. activate the relay.

Good luck

 
19  Using Arduino / Displays / Re: TFT 3'2 problems on: March 25, 2014, 08:59:51 pm
is not posible to connect without shield? im forced to buy one ????

No you are not forced to buy one, it's just that you will have a lot more work in front of you if you don't.

Connecting the VCC to 3.3v from the Arduino is not solving your problems - you also need to adjust all of your data pins etc from 5v to 3.3v.

The site that you purchased the LCD from also sells the shields - something like this is what you need http://www.ebay.com/itm/1pcs-3-2-TFT-LCD-Shield-Touch-Panel-Arduino-/121303991432?pt=LH_DefaultDomain_0&hash=item1c3e480488#ht_4649wt_934. Not sure if this is exactly what you need - you will need to do your own investigations as I don't know exactly what hardware you are using.

You will note that the shield has a number of IC's on board - if you don't want to buy a shield (and they are not really that expensive) then you will need to replicate those components. You may get away with using resistors although that is not the recommended solution.

Cheers
20  Using Arduino / Programming Questions / Re: Would like some advice and help with UTFT fonts on: March 23, 2014, 06:19:19 am
EDIT but I have discovered that not all letters are possible

Nor is a '+' sign smiley
21  Using Arduino / Displays / Re: TFT 3'2 problems on: March 23, 2014, 06:17:12 am
Buy a shield to interface between the LCD and the Arduino.....
22  Using Arduino / Programming Questions / Re: Would like some advice and help with UTFT fonts on: March 21, 2014, 04:01:29 am
You have a couple of options:

- make your own font file using the convertor available here http://henningkarlsen.com/electronics/t_make_font_file.php. I did start to play around with this some years ago but it all got too hard.
- use one of the alternative font files created by other users - you should be able to find something acceptable here http://henningkarlsen.com/electronics/r_fonts.php.

If you think about it, you will probably realise that producing a '+' on a seven segment display font is not really possible smiley

Cheers
23  Using Arduino / Displays / Re: TFT 3'2 problems on: March 20, 2014, 04:39:16 pm
This is only a guess as I haven't read any data sheets etc but....

The geeetech site includes in the Specifications:
Quote
5V Operating Voltage

However, the ebay site specifically states:
Quote
Working voltage is 3.3V

How have you connected the LCD to the Arduino? Most of these LCD's require some form of level shifting to convert the 5v to 3.3v - which is why most people use a shield to go between the LCD and the Arduino.

Maybe your LCD has some form of over voltage protection and it is shutting down after a period of time?
24  Using Arduino / Displays / Re: LCD behaves odd on: March 20, 2014, 04:19:29 pm
Quote
The program is one I found online and modified, which basicly means I just made it read 4 18B20's instead of just 1.

Just out of interest, does the original unmodified program suffer the same issues?
25  Using Arduino / Displays / Re: itead 2.4 touchg display: pinout problem on: March 11, 2014, 08:08:11 pm
How, exactly, have you "connected both parts" ?

I will assume that you are using a shield to connect the parts together, or that you have connected everything correctly...

Now, I suggest that you read the documentation that comes with the UTFT Library - it will explain everything.

HINT - you use ITDB32S in the appropriate line for a 3.2" Screen not the 2.4" screen that you have purchased.
26  Using Arduino / Displays / Re: Trouble compiling examples for the UTFT Library on: March 11, 2014, 07:56:41 pm
Please help to resolve the following error:

Code:
UTFT_Bitmap.pde:-1: error: 'UTFT' does not name a type
UTFT_Bitmap.cpp: In function 'void setup()':
UTFT_Bitmap.pde:-1: error: 'myGLCD' was not declared in this scope
UTFT_Bitmap.cpp: In function 'void loop()':
UTFT_Bitmap.pde:-1: error: 'myGLCD' was not declared in this scope
UTFT_Bitmap.pde:-1: error: 'CENTER' was not declared in this scope


As noted above - you do not have the UTFT Library installed correctly.
27  Using Arduino / Displays / Re: ITDB02 2.8 Touch Screen And Arduino UNO on: March 11, 2014, 07:52:38 pm
How familiar are you with programming an Arduino?

Creating a GUI for one of these touch screens is not overly difficult but can be extremely time consuming depending on the complexity of the screen image.

Reading images from an SD card, whilst saving on memory, is often less than ideal due to the time delays in reading and drawing the screen.

You might want to have a look at some of the example sketches included with the UTouch Library available here http://henningkarlsen.com/electronics/library.php?id=55.
28  Using Arduino / Displays / Re: UTFT help!!! myGLCD.print(sensorValue); error when compiling on: March 07, 2014, 05:19:45 am
Good to hear you got it working.

To quote from http://arduino.cc/en/Reference/Float#.Uxme_oUyy70

Quote
Floating-point numbers are often used to approximate analog and continuous values because they have greater resolution than integers.
29  Using Arduino / Displays / Re: UTFT help!!! myGLCD.print(sensorValue); error when compiling on: March 06, 2014, 12:04:00 am
I would suggest that you have a look at the difference between the print, printNumI and printNumF functions.

The manual can be found here http://henningkarlsen.com/electronics/library.php?id=51

Cheers
30  Using Arduino / Programming Questions / Re: Serial.println on: February 27, 2014, 12:08:35 am
The Serial.begin statement needs to be in the setup section of your sketch, not the loop section.
Pages: 1 [2] 3 4 ... 10