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

General

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

Raspberry Pi Autofocus Camera & libcamera

Raspberry Pi Autofocus Camera & libcamera

Today we will take a look at a new camera from Arducam, one that is capable of autofocus.

We will also learn to use libcamera, the new camera stack for the Raspberry Pi that replaces the older raspistill and raspivid.

This new camera is really quite a performer, yet it costs the same as the standard version 2 module.

DroneBot Workshop February 1, 2022 General, Raspberry Pi 11 Comments Read more

Meet the Seeeduino XIAO

Seeeduino XIAO

Come and meet the XIAO, a tiny 32-bit Arduino-compatible microcontroller that goes for only 5 dollars!

This amazing little device outperforms the Arduino AVR boards and offers features like an analog output and 10 PWM pins.

We will explore the XIAO using the Arduino IDE and see how easy it is to use.

DroneBot Workshop December 1, 2020September 28, 2021 Arduino, Electronics, General 35 Comments Read more

I2C Communications Part 1 – Arduino to Arduino

I2C Part 1-Using 2 Arduinos

This is the first of a series of articles about using I2C. Today I will explain what I2C is and show you the Arduino Wire Library

We will run two demonstrations. The first demo will show you how to exchange data between two Arduinos using I2C. The second demo will describe how to control an LED on a slave Arduino with a potentiometer on a master.

DroneBot Workshop March 30, 2019September 28, 2021 General, Tutorial 35 Comments Read more

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
  • Pico W with the Arduino IDE

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

×