Esp32 T-CALL sim800l v1.4 pinouts still HIGH

Hello, I am using new board "esp32 lilygo T-call v1.4".
But after uploading my sketch to this board i have tow problems:

  • All gpio used pins in program are high instead of low.
  • Analogic Sensor's read are wrong.

This is a part of my sketch:

#include "Adafruit_FONA.h"
#include <Wire.h>

#define SIM800L_RX     27
#define SIM800L_TX     26
#define SIM800L_PWRKEY 4
#define SIM800L_RST    5
#define SIM800L_POWER  23
#define LED_BLUE       13

const int voltagesensorPin=GPIO_NUM_34;
int CurrntSensor= GPIO_NUM_35;


//Relay Pin Variables
int relayPins[] = {15,2,0,18,21,12,14,25,32,33};


void setup() {
  //Setup Receiver SMS
  pinMode(LED_BLUE, OUTPUT);
  pinMode(SIM800L_POWER, OUTPUT);
   
  pinMode(SIM800L_PWRKEY, OUTPUT);
  digitalWrite(SIM800L_PWRKEY, LOW);
  digitalWrite(LED_BLUE, LOW);
  
   digitalWrite(SIM800L_POWER, LOW);
   tarder(2500);
   digitalWrite(SIM800L_POWER, HIGH);

      for(int b = 0; b < 10; b++){   
      pinMode(relayPins[b],OUTPUT);
      digitalWrite(relayPins[b],LOW);
   }  
   
  Serial.begin(115200);
  
 }

Remark: i use the same program (with compatible modifications) in other arduino board and the program works fine.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.