I have a Node MCU arduino which I am using for Temp/Humidity detection (and other stuff in the future) and it is going to report the data back to a central device via wifi.
I saw one of these:
The idea that there are 8 digits and I could group them into 4 x 2 digits.
I have a basic "test" script working on an Arduino Uno, but I am still at a loss with the Node MCU board.
As hard as I try I am still not getting the pin names/numbers on it.
The code supplied for the display is "nice" in that you can define the pins used for the SPI protocol.
Nice as in the pins are not set.
The SPI pins on the node MCU are not being used, but I don't know their numbers to put in the code.
The code starts off:
#define MAX7219DIN 4
#define MAX7219CS 5
#define MAX7219CLK 6
#define brightness 15
void setup()
{
Serial.begin(115200);
Serial.println("Starting");
MAX7219init();
delay(500);
MAX7219brightness(brightness);
}
But I can't "translate" the 4, 5, and 6 to pins on the Node MCU.
As far as I know I am using D5 and D6 for the temperature readings.
I am needing to keep the RX pin free for another device (GPS) to talk to it.
And I also have an atmospheric pressure/temp device which I think is 1 Wire protocol.
This is the "best" picture of the Node MCU I have, but it still doesn't help me with what pin is called what at the IDE level.
And it was for when I was wanting to get the I2C pins.
The other point where I am stuck is that board is 3.3v. The Display is 5.
I get the display could (maybe) work on 3.3v, but I would prefer to know before I get to that stage.
I know there is a 5v output from the node MCU to power the board, but would the 3.3v signals be valid from the board to the display?
Sorry for all the dumb questions. It has been a while and I have forgotten a lot with what I have been learning in the mean time.