Arduchat

This code sets up an Arduino device to connect to WiFi and communicate with the OpenAI API. It uses the Adafruit_SSD1306 library to control a small OLED display, displaying messages and responses from the API. The device sends a prompt to the API asking "What is Arduino?" and waits for a response, which it then displays on the OLED screen. This is done using a secure SSL connection, and the API key is stored as a variable in the code. Overall, this code demonstrates how an Arduino device can be used to interact with web services and display data on a small screen.

Mar 25, 2023

2206 views

1 respects

MIT

Devices & Components

1

Lipo Battery HJL 800 mah 11.1v

1

protoboard

1

Arduino MKR Motor Carrier

1

Jumpers for protoboard

1

Arduino MKR1000 WIFI

1

Display OLED 128x64 0,96 SSD1306

Hardware & Tools

1

USB -> Micro USB Cable

1

Laptop

Software & Tools

Arduino IDE

Project description

Code

Arduchat

This is the code for Arduchat

/

0
0
Latest commit to the master branch on Invalid date

Downloadable files

Arduchat Code

This is the code too

Arduchat_code.ino

Comments

Only logged in users can leave comments

fmuller999

0 Followers

0 Projects

+1

Work attribution

0