Placa de Desenvolvimento Tenstar ESP32-C3 SuperMini Plus V2.0 – WiFi e Bluetooth, Placa Vermelha

Código: 1747832867
Selecione a opção de cor:
R$ 149,99
até 2x de R$ 74,99 sem juros
ou R$ 142,49 via Pix
Comprar Estoque: 15 dias úteis
R$ 199,99
até 2x de R$ 99,99 sem juros
ou R$ 189,99 via Pix
Comprar Estoque: 15 dias úteis
A partir de R$ 149,99
até 2x de R$ 74,99 sem juros
ou R$ 142,49 via Pix
    • 1x de R$ 149,99 sem juros
    • 2x de R$ 74,99 sem juros
    • 3x de R$ 52,01
    • 4x de R$ 39,39
    • 5x de R$ 31,82
    • 6x de R$ 26,78
  • R$ 142,49 Pix
    • 1x de R$ 199,99 sem juros
    • 2x de R$ 99,99 sem juros
    • 3x de R$ 69,35
    • 4x de R$ 52,52
    • 5x de R$ 42,43
    • 6x de R$ 35,70
  • R$ 189,99 Pix
    • 1x de R$ 149,99 sem juros
    • 2x de R$ 74,99 sem juros
    • 3x de R$ 52,01
    • 4x de R$ 39,39
    • 5x de R$ 31,82
    • 6x de R$ 26,78
  • R$ 142,49 Pix
* Este prazo de entrega está considerando a disponibilidade do produto + prazo de entrega.

Nome da marca: TENSTAR ROBOT

Origem: CN (Origem)

Químico Hign-em causa: nenhum

Condição: novo

Tipo: Módulo

Tensão de alimentação: 5V

Potência de dissipação: 1

Cutomizado: Sim

Quantidade: 1

Temperatura operacional: -30+50

Aplicação: computador

Pacote: DIP

 #include "WiFi.h" void setup(){Serial.begin(115200); // Set WiFi to station mode and disconnect from an AP if it was previously connectedWiFi.mode(WIFI_STA);WiFi.disconnect();delay(100); Serial.println("Setup done");} void loop(){Serial.println("scan start"); // WiFi.scanNetworks will return the number of networks foundint n = WiFi.scanNetworks();Serial.println("scan done");if (n == 0) {Serial.println("no networks found");} else {Serial.print(n);Serial.println(" networks found");for (int i = 0; i < n; ++i) {// Print SSID and RSSI for each network foundSerial.print(i + 1);Serial.print(": ");Serial.print(WiFi.SSID(i));Serial.print(" (");Serial.print(WiFi.RSSI(i));Serial.print(")");Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*");delay(10);}}Serial.println(""); // Wait a bit before scanning againdelay(5000);}
 #include <WiFi.h> const char* ssid = "your-ssid"; //your WiFi Nameconst char* password = "your-password"; //your WiFi password void setup(){Serial.begin(115200);delay(10); // We start by connecting to a WiFi network Serial.println();Serial.println();Serial.print("Connecting to ");Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) {delay(500);Serial.print(".");} Serial.println("");Serial.println("WiFi connected");Serial.println("IP address: ");Serial.println(WiFi.localIP());}void loop(){}


#include "WiFi.h"

void setup()

{

Serial.begin(115200);

WiFi.softAP("ESP_AP", "123456789");

}


void loop()

{

Serial.print("Host Name:");

Serial.println(WiFi.softAPgetHostname());

Serial.print("Host IP:");

Serial.println(WiFi.softAPIP());

Serial.print("Host IPV6:");

Serial.println(WiFi.softAPIPv6());

Serial.print("Host SSID:");

Serial.println(WiFi.SSID());

Serial.print("Host Broadcast IP:");

Serial.println(WiFi.softAPBroadcastIP());

Serial.print("Host mac Address:");

Serial.println(WiFi.softAPmacAddress());

Serial.print("Number of Host Connections:");

Serial.println(WiFi.softAPgetStationNum());

Serial.print("Host Network ID:");

Serial.println(WiFi.softAPNetworkID());

Serial.print("Host Status:");

Serial.println(WiFi.status());

delay(1000);

}



#include <BLEDevice.h>

#include <BLEUtils.h>

#include <BLEScan.h>

#include <BLEAdvertisedDevice.h>


int scanTime = 5; //In seconds

BLEScan* pBLEScan;


class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {

void onResult(BLEAdvertisedDevice advertisedDevice) {

Serial.printf("Advertised Device: %s /n", advertisedDevice.toString().c_str());

}

};


void setup() {

Serial.begin(115200);

Serial.println("Scanning...");


BLEDevice::init("");

pBLEScan = BLEDevice::getScan(); //create new scan

pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());

pBLEScan->setActiveScan(true); //active scan uses more power, but get results faster

pBLEScan->setInterval(100);

pBLEScan->setWindow(99); // less or equal setInterval value

}


void loop() {

// put your main code here, to run repeatedly:

BLEScanResults foundDevices = pBLEScan->start(scanTime, false);

Serial.print("Devices found: ");

Serial.println(foundDevices.getCount());

Serial.println("Scan done!");

pBLEScan->clearResults(); // delete results fromBLEScan buffer to release memory

delay(2000);

}

#include <BLEDevice.h>

#include <BLEUtils.h>

#include <BLEServer.h>


// See the following for generating UUIDs:

// https://www.uuidgenerator.net/


#define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b"

#define CHARACTERISTIC_UUID "beb5483e-36e1-4688-b7f5-ea07361b26a8"



class MyCallbacks: public BLECharacteristicCallbacks {

void onWrite(BLECharacteristic *pCharacteristic) {

std::string value = pCharacteristic->getValue();


if (value.length() > 0) {

Serial.println("*********");

Serial.print("New value: ");

for (int i = 0; i < value.length(); i++)

Serial.print(value[i]);


Serial.println();

Serial.println("*********");

}

}

};


void setup() {

Serial.begin(115200);


BLEDevice::init("MyESP32");

BLEServer *pServer = BLEDevice::createServer();


BLEService *pService = pServer->createService(SERVICE_UUID);


BLECharacteristic *pCharacteristic = pService->createCharacteristic(

CHARACTERISTIC_UUID,

BLECharacteristic::PROPERTY_READ |

BLECharacteristic::PROPERTY_WRITE

);


pCharacteristic->setCallbacks(new MyCallbacks());


pCharacteristic->setValue("Hello World");

pService->start();


BLEAdvertising *pAdvertising = pServer->getAdvertising();

pAdvertising->start();

}


void loop() {

// put your main code here, to run repeatedly:

delay(2000);

}


Digital pin

Upload the code to the board, and the on-board LED will light up every second.


// define led according to pin diagram

int led = 8;


void setup() {

// initialize digital pin led as an output

pinMode(led, OUTPUT);

}


void loop() {

digitalWrite(led, HIGH); // turn the LED on

delay(1000); // wait for a second

digitalWrite(led, LOW); // turn the LED off

delay(1000); // wait for a second

}


Digital PWM

Upload the following code to see the on-board LED gradually dim.


int ledPin = 8; // LED connected to digital pin 10


void setup() {

// declaring LED pin as output

pinMode(ledPin, OUTPUT);

}


void loop() {

// fade in from min to max in increments of 5 points:

for (int fadeValue = 0 ; fadeValue <= 255; fadeValue += 5) {

// sets the value (range from 0 to 255):

analogWrite(ledPin, fadeValue);

// wait for 30 milliseconds to see the dimming effect

delay(30);

}


// fade out from max to min in increments of 5 points:

for (int fadeValue = 255 ; fadeValue >= 0; fadeValue -= 5) {

// sets the value (range from 0 to 255):

analogWrite(ledPin, fadeValue);

// wait for 30 milliseconds to see the dimming effect

delay(30);

}

}


Analog pin

Connect the potentiometer to pin A5 and upload the following code to control the flashing interval of the LED by turning the potentiometer knob.


const int sensorPin = A5;

const int ledPin = 8;


void setup() {

pinMode(sensorPin, INPUT); // declare the sensorPin as an INPUT

pinMode(ledPin, OUTPUT); // declare the ledPin as an OUTPUT

}


void loop() {

// read the value from the sensor:

int sensorValue = analogRead(sensorPin);

// turn the ledPin on

digitalWrite(ledPin, HIGH);

// stop the program for <sensorValue> milliseconds:

delay(sensorValue);

// turn the ledPin off:

digitalWrite(ledPin, LOW);

// stop the program for for <sensorValue> milliseconds:

delay(sensorValue);

}


R$ 149,99
até 2x de R$ 74,99 sem juros
ou R$ 142,49 via Pix
Comprar Estoque: 15 dias úteis
R$ 199,99
até 2x de R$ 99,99 sem juros
ou R$ 189,99 via Pix
Comprar Estoque: 15 dias úteis
A partir de R$ 149,99
até 2x de R$ 74,99 sem juros
ou R$ 142,49 via Pix
Sobre a loja

IGBT SOLUTIONS é uma loja especializada em fornecer uma ampla gama de componentes eletrônicos essenciais, atendendo às necessidades de entusiastas, engenheiros e empresas em todo o Brasil. Nosso catálogo abrange desde rolamentos confiáveis até coolers eficientes e módulos IGBT de alta qualidade. Além disso, estamos disponíveis no WhatsApp para facilitar a comunicação direta e rápida.

Pague com
  • Pix
Selos

IGBT SOLUTIONS - CNPJ: 48.228.355/0001-69 © Todos os direitos reservados. 2025

Utilizamos cookies para que você tenha a melhor experiência em nosso site. Para saber mais acesse nossa página de Política de Privacidade