Project

General

Profile

RFM12-board and LCD Keypad shield sharing same pin..

Added by Rocker over 5 years ago

Thirst of all, I have to admit that I’m completely new to Arduino (based boards), and so the this world of hardware and hardware programming is as well… I’ve several years of experience with C++ programming, but not as low to the hardware as I am right now…

I’ve got a Jeenode and an Arduino board with a RFM12-board connected to it, and they communicate with each other without any problems… so far so good. A few weeks ago, I’ve ordered a LCD Keypad from DX (http://dx.com/p/arduino-2-6-lcd-keypad-shield-expansion-board-134404) which is also working on my Arduino.. however, I need both of them connected at the same time, and now my challenges begin :)

The display uses port 4, 5, 6, 7, 8 and 9, but pin 10 is also connected (for backlight). Hoewever, that’s not important for me. The RFM board (http://jeelabs.org/2011/02/02/meet-the-rfm12b-board/) uses port 2, 10, 11, 12, and 13. So they are both using port 10.
I made a bypass so port 10 would also be connected to my RF board, but I didn’t get any communication with my Jeenode.

As you can see in the attached image, I could easily passthrough port 2, 3, 11, 12 and 13, so it looks to me that the ideal siuation would be to change port 10 to port 3. I was able to get my RF board working on port 8 or 9 (by setting SS_BIT), but it looks to me that pin 3 would be a much bigger challange… ;)

Could you please give me any advise? Do I need to change portmapping? Are there other tricks I could try?

TIA