ONE Base - What is the port pins on the board?

Hey there,

I have a One Base board and a Sodaw v2 connected to it.

I have a grove temp sensor v1.2 and plugged it into port 8/9 on the base board. What pins does the yellow wire go to? I assumed it would be pin 8 or pin 9, but the temp readings are NOT right!

#define TEMP_SENSOR 9 ???

Thanks

Hi,

The pinout is 8/9/vcc/gnd -> yellow/whire/red/black
The pins 2/3 6/7 and 8/9 are on the switched vcc side.

Did you enable the power?
The power can be enabled with pin 11

#define enablePin 11

void setup() {
  // put your setup code here, to run once:
  pinMode(enablePin, OUTPUT);
  digitalWrite(enablePin, HIGH);
}

void loop() {
  // put your main code here, to run repeatedly:

}

Kind regards,
Jan

Hi Jan, thanks for the quick reply. I got it working by turning on pin 11 and also using pin A8 for that slot, same works for A6 with 6/7 etc.

Thanks again