I have a TFT LCD display as a shield, but when I put it on my Arduino board I have no free slots for sensor and so.
Does anyone know how to attach sensors the TFT LCD shield?
See attached images.
I have a TFT LCD display as a shield, but when I put it on my Arduino board I have no free slots for sensor and so.
Does anyone know how to attach sensors the TFT LCD shield?
See attached images.
Which Arduino? A MEGA2560 has got lots of spare pins. The Uno has everything plugged in.
What sensors?
A5 pin is not used at all.
If you do not use the microSD you have these pins available for other things.
You can use the SD with one other SPI device that has A5 for its CS pin.
You can use the TWI pins if you snip off the LCD_RST pin and solder a 10k pull-up. Before you do this, please tell us which controller is installed on your shield.
You can either snip off the pins you do not want the display to use or you connect to the empty header pins on the shield.
David.
I assume you have passed the first hurdle of getting something displayed on your TFT screen...
If you are not going to use the SD Card slot then you have access to the 4 SPI pins.
These pins are wired to the unused pads at the end of the board so you could tap off power and the signals there.
I would not advise use of the SD Card slot anyway as the card is poorly designed and does not provide the correct 3.3V signal voltages.
There are quite a few different sensors that will work on an SPI bus, the 4 pins can also be used for other purposes and interface protocols.
It looks like SCL (A5) is not used but SDA is so this makes using I2C sensors more difficult but a software library could bit bash out the I2C protocol on the SPI pins.
So the simplest solution is to use the SPI bus and power tapped off those unused pads. You will probably be able to find the signal designations of those pads on the internet or work them out using a continuity tester or multimeter.
Post back if you need more info.
Edit: I see I was pipped at the post by David!
I have an Arduino UNO clone.
Yes I have some text and graphics on my LCD.
When I place the LCD shield on top of my UNO I have 4 slots free.
5V and the on next to it (not RES), and then 2 in the other row, I think they are called SCL and SDA
But I cannot put in any wires because the shield is so close to the UNO.
I was wondering if the holes ind the LCD is some of the ports from the UNO.
I want to put different sensor on the UNO.
Like fx. temperature and the show the temperatur on the LCD.
If anybody else have tried the same TFT LCD shield as I have (See attached images in first post)
Can add a screw shield between the LCD and the Uno, example:
http://wwww.crossroadsfencing.com/BobuinoRev17/
OK, it looks like you have not read/understood the content of posts #1 and #2 as they contained answers to questions you are still asking , so we need to go back to basics.
You need to do some more research on the SPI bus, decide what sensors you need and find a suitable product.
You only have a few pins available that are not already used to interface with the display, fortunately as explained in post #1 and #2 some of them (the 4 SPI bus signals) are available on the hole matrix of unused solder pads at one end of the board. You could conveniently use these providing you do not wish to use the SD Card slot. Also, as previously explained power will conveniently be available too and your sensors will need that.
What is your final objective for the project? If it is a product to sell we might be able to strike a deal as I need an simple android app for a project
I'm a newbie with Arduino. Have just been working with it for a little over a week.
I do not know that must yet, but I want to learn.
So far I know how to add a sensor fx. Proximity sensor and show the distance in the serial monitor.
That why I was asking how to add sensor when the LCD shield is taking up alle the slots I usually use.
I have no idea what the SPI bus is, sorry.
I have no plans for a project I just want to try something out.
I was just wandering if anyone know the LCD shield I showed in the attached images.
And have som experience with it.
But maybe I should find another LCD instead of this one.
One thats not occupying all the slots on the UNO.
Again I'm sorry that I do not know that much yet.
OK, the good news is that you have the TFT display working.
Pin A5 is free and is an analogue input so this can be used to interface with simple temperature sensors like thermistors so I would start there and move on to more advanced projects when you have mastered the basics.
Start here and use Google to find a project that uses a thermistor such as this one.
When you have that working and temperatures displayed move on to the next sensor you want. For proximity you have a number of options but as you do not say what it is you want to detect proximity to, it is difficult to be specific, but here are some options:
Ultrasonic: good for detecting larger sound reflecting objects and measuring the distances up to a few meters
Pyro-electric: good for detecting the proximity of moving heat sources like humans
Infra-red: vary from short range of a few mm up to special sensors that can measure distances up to ~1meter
As you can see for every sensor you would like to add there are a number of options depending on what you want to achieve.
If I look at my UNO board I have a row of analog input going from A0-A4 and the last one is also called A1 on my board. (Could this be A5)
But the last A1(or A5) is not free. The shield is occupied by the shield.
So how do I access the A5?
B.t.w. what Android project are you talking about?
A5 is not marked on the shield but is on the UNO. See step 8 here.
To get access to A5 you could solder on a wire or get a breakout shield as suggested in post#4.
As you are a beginner I think you need to start with some tutorials, you would learn a lot from buying a starter kit with well written tutorials and adding a TFT later, for example:
The app I need is a control panel on a phone for a Wifi connected contrller, however I have just found an OSC based app that works fine for my immediate needs at the moment.
I ordred and screw shield as mentioned in post#4
I'l wait for it to arrive or do as you suggest, sold a wire on it.
Thanks for your reply's and links.
Ordered a screw shield from me? Or elsewhere?
Elsewhere.
I have an App called Geek on my smartphone where I found it.
TrisectDevelopment:
I have a TFT LCD display as a shield, but when I put it on my Arduino board I have no free slots for sensor and so.Does anyone know how to attach sensors the TFT LCD shield?
See attached images.
I have the same LCD as you and I am using D10 to read temperature with DS18s20. If you do not include the SD library D10-D13 is open. I have been running it to display/plot temperature continuously.