ESP32 TTGO OLED LORA BATERIA 18650 USANDO INTEFACE IDE DO ARDUINO
TESTE ARIDIO 1
ESP32 TTGO OLED LORA BATERIA 18650
USANDO INTEFACE IDE DO ARDUINO
OBSERVACOES IMPORTANTES
Define o endereço do i2c do Oled(0x3c) e os pinos SDA(5) e SCL(4) PARA ESTE ESP32
PRESSIONAR O BOTAO BOOT DURANTE A TRANSFERENCIA DO PROGRAMA
ARQUIVO images.h colocado na mesma pasta do arquivo .ino
pode ser editado tanto na ide do arduino como no bloco de notas do windows
arquivo images.h listado aqui no final da pagina
ABAIXO A LISTAGEM DO ARQUIVO OLED_TESTE_ARIDIO_1.ino
____________________________________________________________
/*
Este é um exemplo que mostra o envio de dados via LoRa e mostra no Display Oled
Desenvolvido por Aaron.Lee da HelTec AutoMation, ChengDu, China
成都惠利特自动化科技有限公司
www.heltec.cn
https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series
Tradução para o Pt-BR, comentários e correção de erros por Ramon Ferreira
Facebook: https://www.facebook.com/ramon.ferreira20
WhatsApp: +55 99 98197-6406
*/
#include <SPI.h> //Resposável pela comunicação Serial do LoRa
#include <LoRa.h> //Resposável pela comunicação com o WiFi LoRa
#include <Wire.h> //Resposável pela comunicação i2c
#include "SSD1306.h" //Resposável pela comunicação com o display
#include "images.h" //Arquivo com a logo da HelTec
// Define os pinos do WiFi LoRa
#define SCK 5 // GPIO5 -- SX127x's SCK
#define MISO 19 // GPIO19 -- SX127x's MISO
#define MOSI 27 // GPIO27 -- SX127x's MOSI
#define SS 18 // GPIO18 -- SX127x's CS
#define RST 14 // GPIO14 -- SX127x's RESET
#define DI00 26 // GPIO26 -- SX127x's IRQ(Interrupt Request)
#define BAND 433E6 //Define a frequência do LoRa. 433E6 é a mesma coisa de 433000000MHz. Você também pode usar 868E6 e 915E6.
#define PABOOST true //Sem conhecimento dessa variavel mas ela deve aparecer para funcionar
unsigned int counter = 0; //Declara a variável que irá receber incrementos e enviará os dados para o outro LoRa
SSD1306 display(0x3c, 5, 4);
// NA OUTRA VERSAO DE CIRCUITO SSD1306 display(0x3c, 4, 15);
//Define o endereço do i2c do Oled(0x3c) e os pinos SDA(5) e SCL(4) PARA ESTE ESP32
String rssi = "RSSI --"; //Declara a variável que receberá a potência do sinal
String packSize = "--"; //Declara a variável que receberá o tamanho dos pacotes enviados
String packet; //Declara a variável do pacote
void setup(){
pinMode(16,OUTPUT); //Define o pino Reset do Oled
pinMode(25,OUTPUT); //Define o pino do led da placa
digitalWrite(16, LOW); //Coloca o pino em Low para dar um Reset no Oled
delay(50);
digitalWrite(16, HIGH); //Coloca em High para o Oled voltar a funcionar
display.init(); //Inicializa o Oled
display.flipScreenVertically(); //Vira o Display para a vertical
display.setFont(ArialMT_Plain_10); //Define o tipo e tamanho da fonte
logo(); //Chama a função de mostrar a Logo
delay(1500);
display.clear(); //Limpa a tela
logo(); //Chama a função de mostrar a Logo
delay(1500);
display.clear(); //Limpa a tela
logo(); //Chama a função de mostrar a Logo
/*
SPI.begin(SCK,MISO,MOSI,SS); //Inicializa a comunicação Serial com o LoRa
LoRa.setPins(SS,RST,DI00); //Define os pinos que serão utilizados pelo LoRa
if (!LoRa.begin(BAND,PABOOST)){ //Verifica se o LoRa foi iniciado com sussesso
display.drawString(0, 0, "Falha ao iniciar o LoRa!"); //Seta o X e Y de onde irá imprimir o texto a seguir
display.display(); //Imprime o texto
while (1); //Entra em um While e a execução do programa morre aqui
}
*/
display.drawString(0, 0, "Iniciado com sussesso!");
display.display();
delay(1000);
}
void loop(){
display.clear();
display.setTextAlignment(TEXT_ALIGN_LEFT); //Alinha o texto a Esquerda
display.setFont(ArialMT_Plain_10); //Define o tipo e tamanho da fonte
display.drawString(0, 0, "Enviando pacote:");
display.drawString(84, 20, String(counter)); //Imprime o valor da variável 'counter' em forma de String
display.display();
/*
LoRa.beginPacket(); //Inicia um pacote
LoRa.print("hello "); //Envia a seguinte palavra
LoRa.print(counter); //Envia o valor da variável 'counter'
LoRa.endPacket(); //Fecha o pacote e envia
*/
counter++; //Incrementa +1 ao valor da variável
digitalWrite(16, HIGH); //Liga o led da placa
delay(500);
digitalWrite(16, LOW); //Desliga o led da placa
delay(10);
}
void logo(){
display.clear();
display.drawXbm(0,5,logo_width,logo_height,logo_bits); //Seta o X e Y de onde irá imprimir. Seta a largura e altura que será utilizado. Imprime uma imagem em hexa.
display.display();
}
FIM DA LISTAGEM DO PROGRAMA
_____________________________________________
ARQUIVO IMAGES.H
images.h
______________________________________________
#define logo_width 128
#define logo_height 53
const unsigned char logo_bits[] = {
0x41, 0x41, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xF0, 0x03,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xC0, 0x07, 0xF0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xC0, 0x0F, 0xF0, 0x0F, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x1F, 0xF0, 0x1F,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xE0, 0x1F, 0xF0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xE0, 0x3F, 0xF8, 0x3F, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x1F, 0xF8, 0x3F,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xE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0x00, 0xFC, 0x1F, 0x80, 0xDF, 0x7B, 0x9C, 0xE7,
0xFE, 0xF7, 0xE3, 0x71, 0xE7, 0xFD, 0x03, 0x00, 0x00, 0xFC, 0x0F, 0xC0,
0xDF, 0x79, 0x9E, 0xE3, 0xFE, 0xF3, 0xE3, 0x78, 0xE7, 0xFF, 0x03, 0x00,
0x00, 0xFC, 0x0F, 0xE0, 0xDF, 0x39, 0x8E, 0xF3, 0xFF, 0xFB, 0xE7, 0xF8,
0xE7, 0xFE, 0x01, 0x00, 0x00, 0xFC, 0x0F, 0xE0, 0xDF, 0x3F, 0x8E, 0x7F,
0xFF, 0xFF, 0xE7, 0x38, 0x7F, 0xEE, 0x01, 0x00, 0x00, 0xF8, 0x0F, 0x70,
0xDC, 0x1F, 0x0E, 0x3F, 0xFF, 0x9D, 0xF7, 0x38, 0x3F, 0xEF, 0x01, 0x00,
0x00, 0xF8, 0x0F, 0x00, 0x00, 0x03, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x0F, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x80, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, };
const char activeSymbol[] PROGMEM = {
B00000000,
B00000000,
B00011000,
B00100100,
B01000010,
B01000010,
B00100100,
B00011000
};
const char inactiveSymbol[] PROGMEM = {
B00000000,
B00000000,
B00000000,
B00000000,
B00011000,
B00011000,
B00000000,
B00000000
};
ESP32 TTGO OLED LORA BATERIA 18650
USANDO INTEFACE IDE DO ARDUINO
OBSERVACOES IMPORTANTES
Define o endereço do i2c do Oled(0x3c) e os pinos SDA(5) e SCL(4) PARA ESTE ESP32
PRESSIONAR O BOTAO BOOT DURANTE A TRANSFERENCIA DO PROGRAMA
ARQUIVO images.h colocado na mesma pasta do arquivo .ino
pode ser editado tanto na ide do arduino como no bloco de notas do windows
arquivo images.h listado aqui no final da pagina
ABAIXO A LISTAGEM DO ARQUIVO OLED_TESTE_ARIDIO_1.ino
____________________________________________________________
/*
Este é um exemplo que mostra o envio de dados via LoRa e mostra no Display Oled
Desenvolvido por Aaron.Lee da HelTec AutoMation, ChengDu, China
成都惠利特自动化科技有限公司
www.heltec.cn
https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series
Tradução para o Pt-BR, comentários e correção de erros por Ramon Ferreira
Facebook: https://www.facebook.com/ramon.ferreira20
WhatsApp: +55 99 98197-6406
*/
#include <SPI.h> //Resposável pela comunicação Serial do LoRa
#include <LoRa.h> //Resposável pela comunicação com o WiFi LoRa
#include <Wire.h> //Resposável pela comunicação i2c
#include "SSD1306.h" //Resposável pela comunicação com o display
#include "images.h" //Arquivo com a logo da HelTec
// Define os pinos do WiFi LoRa
#define SCK 5 // GPIO5 -- SX127x's SCK
#define MISO 19 // GPIO19 -- SX127x's MISO
#define MOSI 27 // GPIO27 -- SX127x's MOSI
#define SS 18 // GPIO18 -- SX127x's CS
#define RST 14 // GPIO14 -- SX127x's RESET
#define DI00 26 // GPIO26 -- SX127x's IRQ(Interrupt Request)
#define BAND 433E6 //Define a frequência do LoRa. 433E6 é a mesma coisa de 433000000MHz. Você também pode usar 868E6 e 915E6.
#define PABOOST true //Sem conhecimento dessa variavel mas ela deve aparecer para funcionar
unsigned int counter = 0; //Declara a variável que irá receber incrementos e enviará os dados para o outro LoRa
SSD1306 display(0x3c, 5, 4);
// NA OUTRA VERSAO DE CIRCUITO SSD1306 display(0x3c, 4, 15);
//Define o endereço do i2c do Oled(0x3c) e os pinos SDA(5) e SCL(4) PARA ESTE ESP32
String rssi = "RSSI --"; //Declara a variável que receberá a potência do sinal
String packSize = "--"; //Declara a variável que receberá o tamanho dos pacotes enviados
String packet; //Declara a variável do pacote
void setup(){
pinMode(16,OUTPUT); //Define o pino Reset do Oled
pinMode(25,OUTPUT); //Define o pino do led da placa
digitalWrite(16, LOW); //Coloca o pino em Low para dar um Reset no Oled
delay(50);
digitalWrite(16, HIGH); //Coloca em High para o Oled voltar a funcionar
display.init(); //Inicializa o Oled
display.flipScreenVertically(); //Vira o Display para a vertical
display.setFont(ArialMT_Plain_10); //Define o tipo e tamanho da fonte
logo(); //Chama a função de mostrar a Logo
delay(1500);
display.clear(); //Limpa a tela
logo(); //Chama a função de mostrar a Logo
delay(1500);
display.clear(); //Limpa a tela
logo(); //Chama a função de mostrar a Logo
/*
SPI.begin(SCK,MISO,MOSI,SS); //Inicializa a comunicação Serial com o LoRa
LoRa.setPins(SS,RST,DI00); //Define os pinos que serão utilizados pelo LoRa
if (!LoRa.begin(BAND,PABOOST)){ //Verifica se o LoRa foi iniciado com sussesso
display.drawString(0, 0, "Falha ao iniciar o LoRa!"); //Seta o X e Y de onde irá imprimir o texto a seguir
display.display(); //Imprime o texto
while (1); //Entra em um While e a execução do programa morre aqui
}
*/
display.drawString(0, 0, "Iniciado com sussesso!");
display.display();
delay(1000);
}
void loop(){
display.clear();
display.setTextAlignment(TEXT_ALIGN_LEFT); //Alinha o texto a Esquerda
display.setFont(ArialMT_Plain_10); //Define o tipo e tamanho da fonte
display.drawString(0, 0, "Enviando pacote:");
display.drawString(84, 20, String(counter)); //Imprime o valor da variável 'counter' em forma de String
display.display();
/*
LoRa.beginPacket(); //Inicia um pacote
LoRa.print("hello "); //Envia a seguinte palavra
LoRa.print(counter); //Envia o valor da variável 'counter'
LoRa.endPacket(); //Fecha o pacote e envia
*/
counter++; //Incrementa +1 ao valor da variável
digitalWrite(16, HIGH); //Liga o led da placa
delay(500);
digitalWrite(16, LOW); //Desliga o led da placa
delay(10);
}
void logo(){
display.clear();
display.drawXbm(0,5,logo_width,logo_height,logo_bits); //Seta o X e Y de onde irá imprimir. Seta a largura e altura que será utilizado. Imprime uma imagem em hexa.
display.display();
}
FIM DA LISTAGEM DO PROGRAMA
_____________________________________________
ARQUIVO IMAGES.H
images.h
______________________________________________
#define logo_width 128
#define logo_height 53
const unsigned char logo_bits[] = {
0x41, 0x41, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xF0, 0x03,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xC0, 0x07, 0xF0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xC0, 0x0F, 0xF0, 0x0F, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x1F, 0xF0, 0x1F,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xE0, 0x1F, 0xF0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xE0, 0x3F, 0xF8, 0x3F, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x1F, 0xF8, 0x3F,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xE0, 0x1F, 0xF8, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,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 0x03, 0x00, 0x00, 0xFC, 0x0F, 0xC0,
0xDF, 0x79, 0x9E, 0xE3, 0xFE, 0xF3, 0xE3, 0x78, 0xE7, 0xFF, 0x03, 0x00,
0x00, 0xFC, 0x0F, 0xE0, 0xDF, 0x39, 0x8E, 0xF3, 0xFF, 0xFB, 0xE7, 0xF8,
0xE7, 0xFE, 0x01, 0x00, 0x00, 0xFC, 0x0F, 0xE0, 0xDF, 0x3F, 0x8E, 0x7F,
0xFF, 0xFF, 0xE7, 0x38, 0x7F, 0xEE, 0x01, 0x00, 0x00, 0xF8, 0x0F, 0x70,
0xDC, 0x1F, 0x0E, 0x3F, 0xFF, 0x9D, 0xF7, 0x38, 0x3F, 0xEF, 0x01, 0x00,
0x00, 0xF8, 0x0F, 0x00, 0x00, 0x03, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x0F, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x80, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, };
const char activeSymbol[] PROGMEM = {
B00000000,
B00000000,
B00011000,
B00100100,
B01000010,
B01000010,
B00100100,
B00011000
};
const char inactiveSymbol[] PROGMEM = {
B00000000,
B00000000,
B00000000,
B00000000,
B00011000,
B00011000,
B00000000,
B00000000
};
Comentários
Postar um comentário