Pages: [1]   Go Down
Author Topic: TFT LCD uses SPI pins, so I can't use wireless transceiver?  (Read 119 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 2
Posts: 191
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
The tutorials on the TFT LCD's use the pins that are required for SPI.  Does that mean I can't have an Arduino that has both an LCD module and a nRF24L01?  Is there any way around this?  I can't find a way to redefine the LCD library so it doesn't use the MOSI/MISO/SS pins.
Logged

Offline Offline
Edison Member
*
Karma: 45
Posts: 1602
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Which Arduino board are you using ?
Which tutorial ?
Does the nRF24L01 use SPI ?

The SPI bus can be used for a number devices. The ChipSelect selects the device.
Logged

Doctor, I see Arduino boards everywhere, what can I do ? - Well, I suggest you connect them with I2C.

Offline Offline
Full Member
***
Karma: 2
Posts: 191
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using this tutorial for the LCD module:

http://www.instructables.com/id/Your-Image-on-an-Arduino-TFT-LCD-Screen-Guide/?ALLSTEPS

Thanks for the suggestion.  It looks like I can redefine the CS, cable select, pin for the LCD module.  So maybe it'll work after all, even if the LCD module uses the MOSI and MISO pins.

Thanks!

Logged

Offline Offline
Edison Member
*
Karma: 45
Posts: 1602
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When you use the Arduino Uno board, the SS, pin 10, is internally hardwired to the SPI hardware. You can use that pin for one of the Chip Selects or don't use it at all.
Logged

Doctor, I see Arduino boards everywhere, what can I do ? - Well, I suggest you connect them with I2C.

Pages: [1]   Go Up
Jump to: