Renzo Mischianti
Published © CC BY-SA

ESP-01 Module Programming Board

It was created as an Arduino WiFi module, but it's more powerful than an Arduino.

IntermediateFull instructions provided12 hours1,780
ESP-01 Module Programming Board

Things used in this project

Hardware components

Capacitor 10 µF
Capacitor 10 µF
×2
Resistor 10k ohm
Resistor 10k ohm
×2
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×1
Slide Switch
Slide Switch
×3
LM1117T-3.3
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

PCB image

Code

Test code

Arduino
Test code to use 3 pins and debug.
// the setup function runs once when you press reset or power the board
void setup() {
  Serial.begin(115200);

  pinMode(0, OUTPUT);
  // Disable to use TX pin for Serial debug
//  pinMode(1, OUTPUT);
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
}

byte i = 0;
// the loop function runs over and over again forever
void loop() {
  Serial.print(F("Led to blink --> "));
  Serial.println(i);

  digitalWrite(i, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(i, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second

  i++;
  // Skip TX pin
  if (i==1) i++;
  if (i>3) i=0;
}

Credits

Renzo Mischianti

Renzo Mischianti

35 projects • 43 followers
Software developer but I love electronics, wood, nature, and everything else as well. Now blogger? on www.mischianti.org

Comments