The Alpha Geek – Geeking Out

Patreon: Intermediate

Patreon: Intermediate

——

#DonLucElectronics #DonLuc #ESP8266 #ESP32 #Arduino #Elecrow #Project #Patreon #Electronics #Microcontrollers #IoT #Fritzing #Programming #Consultant

——

Patreon: Intermediate

——

Patreon: Intermediate

——

Patreon: Intermediate

——

Patreon: Intermediate

Intermediate: Internet of Things (IoT). Internet of Things (IoT) describes devices with sensors, processing ability, software and other technologies that connect and exchange data with other devices and systems over the Internet or other communication networks.

Internet of Things (IoT)

Internet of Things (IoT), the vast array of physical objects equipped with sensors and software that enable them to interact with little human intervention by collecting and exchanging data via a network. The Internet of Things (IoT) includes the many “Smart”, computer-like devices so commonplace today, which can connect with the Internet or interact via wireless networks; these “Things” include phones, appliances, thermostats, lighting systems, irrigation systems, security cameras, vehicles, even animals and cities. Today, smart watches track exercise and steps, smart speakers add items to shopping lists and switch lights on and off, and transponders allow cars to pass through tollbooths and pay the fee electronically.

Espressif Systems

Espressif Systems, a company with headquarters in Shanghai, China made its debut in the microcontroller scene with their range of inexpensive and feature-packed WiFi microcontrollers.

ESP8266

The ESP8266 is a low-cost Wi-Fi microcontroller, with built-in TCP/IP networking software, and microcontroller capability.

Programming

Arduino — A C++-based firmware. With this core, the ESP8266 CPU and its Wi-Fi components can be programmed like any other Arduino device.

ESP32

ESP32 is a series of low-cost, low-power system-on-chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth. The ESP32 series employs either a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations, an Xtensa LX7 dual-core microprocessor, or a single-core RISC-V microprocessor.

Programming

Arduino – A C++-based firmware. With this core, Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, Etc.

DL2412Mk02

1 x DFRobot FireBeetle 2 ESP32-E
1 x Crowtail- Rotary Angle Sensor 2.0 – 10K Ohm
1 x Crowtail- OLED
1 x Crowtail- LED 2.0 – Yellow
1 x Crowtail- LED 2.0 – Green
1 x Lithium Ion Battery – 1000mAh
1 x Switch
1 x USB 3.1 Cable A to C

FireBeetle 2 ESP32-E

POT – A0
LEG – 16
LEY – 17
SCL – 22
SDA – 21
VIN – +3.3V
GND – GND

——

DL2412Mk02p

DL2412Mk02p.ino

/****** Don Luc Electronics © ******
Software Version Information
Patreon: Intermediate
Intermediate
DL2412Mk02p.ino
DL2412Mk02
1 x DFRobot FireBeetle 2 ESP32-E
1 x Crowtail- Rotary Angle Sensor 2.0 - 10K Ohm
1 x Crowtail- OLED
1 x Crowtail- LED 2.0 - Yellow
1 x Crowtail- LED 2.0 - Green
1 x Lithium Ion Battery - 1000mAh
1 x Switch
1 x USB 3.1 Cable A to C
*/

// Include the Library Code
// Arduino
#include <Arduino.h>
// Crowtail- OLED
#include <U8x8lib.h>
// SPI
#include <SPI.h>

// Crowtail- OLED
// U8x8 Contructor List 
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);

// Potentiometer
int iPot = A0;
int iPotVal = 0;
// Change Your Threshold Here
int Threshold = 2000;

// LED Yellow
int iLEDY = 17;

// LED Green
int iLEDG = 16;

// Software Version Information
String sver = "Intermediate";

void loop() {

  // Potentiometer
  isPotentiometer();

  // Delay 0.5 Second
  delay( 500 );

}

getDisplay.ino

// getDisplay
// Crowbits-OLED 128X64 UID
void isDisplayUID(){

  // Clear
  u8x8.clear();
  // Font
  u8x8.setFont(u8x8_font_chroma48medium8_r);
  // Draw
  u8x8.drawString(0,0,"Don Luc Electron");
  // Draw
  u8x8.drawString(0,35,"Intermediate");

}
// isDisplay Green
void isDisplayG(){

  // Clear
  u8x8.clear();
  // Font
  u8x8.setFont(u8x8_font_chroma48medium8_r);
  // Cursor
  u8x8.setCursor(0,0);
  // Print
  u8x8.print("Don Luc Electron");
  // Cursor
  u8x8.setCursor(0,30);
  // Print
  u8x8.print("LED Green");
  // Cursor
  u8x8.setCursor(0,35);
  // Print
  u8x8.print(iPotVal);
  
}
// isDisplay Yellow
void isDisplayY(){

  // Clear
  u8x8.clear();
  // Font
  u8x8.setFont(u8x8_font_chroma48medium8_r);
  // Cursor
  u8x8.setCursor(0,0);
  // Print
  u8x8.print("Don Luc Electron");
  // Cursor
  u8x8.setCursor(0,30);
  // Print
  u8x8.print("LED Yellow");
  // Cursor
  u8x8.setCursor(0,35);
  // Print
  u8x8.print(iPotVal);

}

getPotentiometer.ino

// Potentiometer
// Potentiometer
void isPotentiometer(){

  // Connect Potentiometer to Analog 0
  iPotVal = analogRead( iPot );

  // Threshold
  if (iPotVal > Threshold) {

    // LED Yellow
    digitalWrite(iLEDY, LOW);
    // isDisplay Green
    isDisplayG();
    // LED Green
    digitalWrite(iLEDG, HIGH);
    
  }
  else {
    
    // LED Green
    digitalWrite(iLEDG, LOW);
    // isDisplay Yellow
    isDisplayY();
    // LED Yellow
    digitalWrite(iLEDY, HIGH);
    
  }

}

setup.ino

// Setup
void setup()
{
 
  // Delay
  delay(100);

  // Crowtail- OLED
  u8x8.begin();
  u8x8.setPowerSave(0);

  // Delay
  delay(100);

  // Initialize the LED Yellow
  pinMode(iLEDY, OUTPUT);

  // Initialize the LED Green
  pinMode(iLEDG, OUTPUT);

  // Crowbits-OLED 128X64
  // Don Luc Electronics
  // Version
  isDisplayUID();

  // Delay 5 Second
  delay( 5000 );

}

——

People can contact us: https://www.donluc.com/?page_id=1927

Electronics, IoT, Teacher, Instructor, R&D and Consulting

  • Programming Language
  • Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc…)
  • IoT
  • Wireless (Radio Frequency, Bluetooth, WiFi, Etc…)
  • Robotics
  • Automation
  • Camera and Video Capture Receiver Stationary, Wheel/Tank and Underwater Vehicle
  • Unmanned Vehicles Terrestrial and Marine
  • Machine Learning
  • Artificial Intelligence (AI)
  • RTOS
  • Sensors, eHealth Sensors, Biosensor, and Biometric
  • Research & Development (R & D)
  • Consulting

Follow Us

Luc Paquin – Curriculum Vitae – 2024
https://www.donluc.com/luc/

Web: https://www.donluc.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/@thesass2063
Twitter: https://twitter.com/labs_steam
Pinterest: https://www.pinterest.com/NeoSteamLabs/
Instagram: https://www.instagram.com/neosteamlabs/
Patreon: https://patreon.com/DonLucElectronics59
DFRobot: https://learn.dfrobot.com/user-10186.html
Hackster.io: https://www.hackster.io/neosteam-labs
Elecrow: https://www.elecrow.com/share/sharepj/center/no/760816d385ebb1edc0732fd873bfbf13
TikTok: https://www.tiktok.com/@luc.paquin8
Twitch: https://www.twitch.tv/lucpaquin
LinkedIn: https://www.linkedin.com/in/jlucpaquin/

Don Luc

Categories
Archives