DroneBot Workshop

DroneBot Workshop

Build your own Electronics, IoT, Drones and Robots – Welcome to the Workshop!

Menu

  • Home
    • Projects
    • Tutorials
  • Arduino
  • Raspberry Pi
  • ESP32
  • Electronics
  • Robots
    • Build a REAL Robot
    • Quadcopters
  • Forum
  • YouTube
  • About
    • Contact Us
    • Frequently Asked Questions
    • About Bill
    • DroneBot Workshop Newsletter
    • Privacy and Cookies
    • Terms of Use
    • Sitemap

ESP32

Using ChatGPT to Write Code for Arduino and ESP32

Using ChatGPT to Write Code for Arduino and ESP32

ChatGPT is an amazing AI chatbot that can also generate code in just about any programming language!

Today we will see how to write both C++ and MicroPython code for Arduino and ESP32 using ChatGPT.

Put the power of an AI-assisted coder to work for you today!

DroneBot Workshop January 29, 2023 Arduino, ESP32, General, Software 4 Comments Read more

Using the ESP32 DAC (and making a Fruity Instrument)

Using the ESP32 DAC (and making a Fruity Instrument)

Today, we will learn how to use the DAC, or Digital to Analog Converter, in the ESP32.

I’ll show you how to produce voltages and waveforms using the DAC and the Arduino IDE.

We will also make some oscilloscope “art” and even a “fruity” musical instrument!

DroneBot Workshop January 8, 2023 ESP32 2 Comments Read more

Mecanum Wheel Robot Car with ESP-NOW Remote Control

Mecanum Wheel Robot Car with ESP-NOW Remote Control

Mecanum Wheels are unique wheels that allow you to propel a vehicle in any direction. Not just forward and backward, but sideways and diagonally as well.

Today, we will build a robot car that uses Mecanum Wheels. Our vehicle will also have a remote control with a joystick, a TFT display, and a rechargeable battery.

DroneBot Workshop December 4, 2022December 7, 2022 ESP32, Project, Robots 14 Comments Read more

Measure Air Quality with Microcontrollers

Measure Air Quality with Microcontrollers

Measure the quality of the air you are breathing using a variety of sensors, an Arduino and an ESP32.

In this article I’ll discuss air quality parameters and show you how to use several popular sensors to measure the gases and particulate matter in the air

DroneBot Workshop September 23, 2022 Arduino, ESP32, Tutorial 5 Comments Read more

Using GC9A01 Round LCD Modules

Using GC9A01 Round LCD Modules

The GC9A01 is a circular LCD module that is ideal for instrumentation and other cool display applications.

In this article, we will learn how to use this display with an Arduino Uno and an ESP32.

DroneBot Workshop June 5, 2022 Arduino, Electronics, ESP32, Tutorial 7 Comments Read more

Sound with ESP32 – I2S Protocol

Sound with ESP32 – I2S Protocol

The I2S protocol is not a misspelling of I2C, it is a protocol for controlling digital audio.

Today we will use the I2S protocol and some I2S peripherals with an ESP32. We’ll display microphone waveforms and build an MP3 player and an Internet Radio.

DroneBot Workshop May 22, 2022 ESP32, Tutorial 37 Comments Read more

Using the ESP32-CAM MicroSD Card

Using the ESP32-CAM MicroSD Card

Learn how to use one of the ESP32-CAM board’s most neglected features – the MicroSD card. In this article, I’ll show you how to use the MicroSD card to store photos taken with the camera.

We will also build a motion-sensitive and a time-lapse camera using the ESP32-CAM.

DroneBot Workshop April 17, 2022 ESP32, Tutorial 15 Comments Read more

ESP NOW – Peer to Peer ESP32 Communications

ESP NOW – Peer to Peer ESP32 Communications

ESP-NOW allows you to create a private peer-to-peer network between ESP32 and ESP8266 devices.

Today we will learn how to use ESP-NOW with a bunch of ESP32 boards. We’ll also build a remote temperature sensor, and expand it to have multiple sensors.

DroneBot Workshop April 3, 2022 ESP32 22 Comments Read more

ESP32 WiFiManager – Easy WiFi Provisioning

ESP32 WiFiManager – Easy WiFi Provisioning

Stop hard-coding wifi credentials in your ESP32 and ESP8266 sketches – use WiFiManager instead!

This easy-to-use wifi provisioning library eliminates the need to hard-code wifi information, and makes your projects portable!

Learn how to use WiFiManager and how to easily adapt your existing sketches to eliminate hard-coding forever!

DroneBot Workshop March 20, 2022 ESP32, IoT, Tutorial 22 Comments Read more

Build an ESP32CAM Robot Car

ESP32CAM Robot Car

Today we will be putting together a robot car based upon the popular ESP32CAM module.

Our car will have a WiFi remote control and will stream video, so you can see where you are going when you drive it!

DroneBot Workshop April 13, 2021 ESP32, Project, Robots 44 Comments Read more
  • « Previous

Table of Contents

  • 1 Introduction
  • 2 ChatGPT
    • 2.1 OpenAI
    • 2.2 How ChatGPT Works
      • 2.2.1 Language Models
      • 2.2.2 Machine Learning
      • 2.2.3 Deep Learning
      • 2.2.4 Neural Networks
    • 2.3 How ChatGPT was Trained
      • 2.3.1 Step 1 – Collect demonstration data and train a supervised policy
      • 2.3.2 Step 2 – Collect comparison data and train a reward model
      • 2.3.3 Step 3 – Optimize a policy against the reward model using the PPO reinforcement learning algorithm
  • 3 Getting Access to ChatGPT
  • 4 ChatGPT Coding Basics – Arduino
    • 4.1 Hooking up the Arduino
    • 4.2 ChatGPT Blink
    • 4.3 ChatGPT PWM LED Control
    • 4.4 Correcting Code with ChatGPT
  • 5 An Arduino Project with ChatGPT
    • 5.1 Using a DHT22
    • 5.2 Adding an OLED Display
    • 5.3 Add a Celsius/Fahrenheit Button
  • 6 ESP32 with ChatGPT
    • 6.1 ESP32 WiFi Scanner
    • 6.2 Using ChatGPT with MicroPython
      • 6.2.1 Getting the Code using ChatGPT
      • 6.2.2 Testing with Thonny IDE
  • 7 Limitations & Future of ChatGPT
    • 7.1 ChatGPT Pro?
  • 8 Conclusion
    • 8.1 Resources

Welcome to the Newsletter!

Let’s keep in touch!

Subscribe to the DroneBot Workshop Newsletter and be the first to find out about new projects and new features on the website.

No spam - just useful information and updates sent to you every once in a while. I’d love to be a regular visitor to your Inbox!

Popular Articles

  • ESP32 Introduction
    Getting started with ESP32
    April 2, 2020
    By DroneBot Workshop | 93 Comments
    Time to move up to another microcontroller, the ESP32. This amazing device has multiple I/O ports, WiFi, Bluetooth and BLE,...
  • ESP32-CAM
    Getting started with the ESP32-CAM
    May 24, 2020
    By DroneBot Workshop | 144 Comments
    Today we will look at the amazing ESP32-CAM module from A-Thinker. This 10-dollar module features a 2MP camera, microSD card...
  • Stepper Motors with Arduino
    Stepper Motors with Arduino – Getting Started with Stepper Motors
    February 10, 2018
    By DroneBot Workshop | 97 Comments
    Stepper motors are used in a variety of devices ranging from 3D printers and CNC machines to Blu Ray drives,...
  • L298 Motor Control Module Arduino Potentiometers
    Controlling DC Motors with the L298N Dual H-Bridge and an Arduino
    March 11, 2017
    By DroneBot Workshop | 169 Comments
    Controlling DC Motors is an essential skill for constructing robots and other hobby projects. An easy way to control DC...
  • Servo Motors & ESP32
    Using Servo Motors with ESP32
    July 23, 2020
    By DroneBot Workshop | 22 Comments
    Today we will look at a few different ways to drive a servo motor with an ESP32 microcontroller.We'll be using...

Projects

  • Arduino Projects
  • Drone Projects
  • Electronics Projects
  • Internet of Things Projects
  • Raspberry Pi Projects
  • Robot Projects

6-Wheel Rover

  • 6-Wheel Rover – Introduction
  • 6-Wheel Rover – Rover Base – Not wild about the Wild Thumper Chassis
  • 6-Wheel Rover – Providing Power with Voltage Regulators
  • 6-Wheel Rover – 11.4-Volt Battery Connections
  • 6-Wheel Rover – ESCs and Motor Wiring

What's New?

  • Using ChatGPT to Write Code for Arduino and ESP32
  • Using the ESP32 DAC (and making a Fruity Instrument)
  • Mecanum Wheel Robot Car with ESP-NOW Remote Control
  • Driving DC Motors with Microcontrollers
  • Measure Air Quality with Microcontrollers
  • Pico W with the Arduino IDE
  • Building a Dual-Boot Workstation
  • Designing and Building Linear DC Power Supplies
  • Using GC9A01 Round LCD Modules

What’s Popular

  • Using ChatGPT to Write Code for Arduino and ESP32
  • Sound with ESP32 - I2S Protocol
  • Getting started with ESP32
  • Getting started with the ESP32-CAM
  • ESP32 WiFiManager - Easy WiFi Provisioning
  • Using Servo Motors with ESP32

Workshop Connections

  • View dronebotworkshop’s profile on Facebook
  • View @DroneBotWS’s profile on Twitter
  • View DroneBotWorkshop’s profile on GitHub
  • View UCzml9bXoEM0itbcE96CB03w’s profile on YouTube
  • View dronebotworkshop’s profile on Vimeo

Copyright © 2023 DroneBot Workshop.
  • Home
  • Arduino
  • Raspberry Pi
  • Drones
  • Robots
  • Electronics
  • IoT
  • Reviews
  • Tutorials
  • About Us
  • Contact Us
  • Privacy and Cookies

Web Site Updates

I am applying several updates and improvements to the website this week, and you may notice some “odd behavior” on a few pages while the changes are being performed.

Please feel free to continue to use the website during these upgrades.  The changes that I am making will (hopefully) make the website a more useful resource for you.

HAPPY NEW YEAR!

Bill

×