Professional Documents
Culture Documents
But how it all plays out remains to be seen, and what ends
up actually being useful and solving problems that people
are willing to pay for – it’s anybody’s guess.
What you need now is a way to get started pronto and try as
much as you can.
What better way is there to try things fast and cheap than
digging into the Arduino treasure trove?
You definitely don’t need this exact model, any ESP32 (or
ESP8266) would probably work just fine.
PS/2 Keyboard
OLED
You can use different display sizes as long as the pixel ratio
stays the same, otherwise you’ll need to adjust the code.
I’ve used 0.94”, 1.3”, and 2.42” OLED displays.
Other Stuff
Check the bottom of this post for a link to the full Bill of
Materials (BOM) which includes all the stuff you’ll need,
plus some tools you may want.
The Connections
For the above pins, keep in mind if you plan on using I2C
with the OLED then you only need 2 pins, whereas if you use
SPI, you’ll need 4. The SPI labeling may be a bit wonky,
because the OLED graphic driver implemented a non
standard SPI protocol.
In order to link up the code with your WiFi and OpenAI API
Secret Key, you’ll need to make fill in your info on the
credentials.h file.
The full code for this project is below. If you’d like more
details of the program’s structure we have a full walk
through of this project in our training program.
CODE
● Code
https://youtu.be/oUuYSU2e3rk
Code 1.0
//YWROBOT
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
DESKTOP BOT
void setup()
{
lcd.init(); // initialize the lcd
lcd.init();
// Print a message to the LCD.
lcd.backlight();
//lcd.setCursor(3,0);
lcd.print("16:36");
lcd.setCursor(2,1);
lcd.print("Ywrobot Arduino!");
lcd.setCursor(0,2);
lcd.print("Arduino LCM IIC 2004");
lcd.setCursor(2,3);
lcd.print("Power By Ec-yuan!");
}
void loop()
{
}
DESKTOP BOT
Website
https://www.programmingelectronics.com/chatGPT-terminal?
utm_source=youtube&utm_medium=description&utm_campaign=video&
utm_content=chatGPT+in+your+Arduino+project%3F!
VIDEO URL
chatGPT in your Arduino project?!
Compounds required
1. Microcontroller Development Board:
a. ESP32 or ESP8266 development board (e.g., FeatherS2, NodeMCU, etc.)
2. PS/2 Keyboard:
a. PS/2 style keyboard for user input(change into speech recognition)
3. OLED Display:
a. OLED display module (128x64 resolution) for displaying the AI-generated
responses
4. Wires and Breadboard:
a. Jumper wires for connecting components
b. Breadboard for prototyping
5. Power Supply:
a. USB cable or appropriate power supply for the development board
Speech recognition