Elegant offer for single digit seven segment display using 74LS47. Purchase this module at 20% low cost price for the next seven days. Limited numbers available. Buy it soon.
/*********
Rui Santos
Complete project details at https://randomnerdtutorials.com/esp8266-nodemcu-access-point-ap-web-server/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*********/
// Import required libraries
#include <Arduino.h#include <ESP8266WiFi.h#include <Hash.h#include <ESPAsyncTCP.h#include <ESPAsyncWebServer.h#include <Adafruit_Sensor.h#include <DHT.h#include <EEPROM.hString header;
const char* ssid = “Cooling-Fan-Controller”;
Circuit is done as shown in the diagram. Volume can be controlled using 10K POT.
Program
Copy and paste the program to your Arduino libraries folder. Compile and upload the example code to your Arduino board. A file named “2.mp3” will be played in my code. A file named “2.mp3” should be there in your SD card. Otherwise, it will give an error.
References :
Refer http://www.haberocean.com/2019/05/esp-12f-iot-module-programmer-circuit/ to get the programming basics.
Upload the following program to ESP-12F IOT module.
/*
Listfiles
This example shows how print out the files in a
directory on a SD card
The circuit:
SD card attached to SPI bus as follows:
** MOSI – pin 11
** MISO – pin 12
** CLK – pin 13
** CS – pin 4
created Nov 2010
by David A.