Tutorial 08 - Realize Data Reading & Writing based on EEPROM - ADA031-V5.0
Adeept · Uploaded · 1:57 · Watch on YouTube
Adeept shows how to wire the robot arm control board and OLED screen, then upload an example program that reads and writes EEPROM data. The lesson sets up the storage concept used later for recording robot arm actions.
Transcript
Captions as a .vtt fileEmbed with the transcript
- 0:04This lesson introduces EEPROM and demonstrates its data read slash write and power off data
- 0:10retention functions using an example program. Required components, robotic arm control board,
- 0:17USB cable, OLED screen and battery. EEPROM stands for electrically erasable programmable
- 0:25read-only memory. It supports data reading and writing, and data is retained after power loss.
- 0:31The microcontroller on Arduino Uno has built-in EEPROM with 1KB storage space.
- 0:38Let's start the demonstration. First, plug the OLED into the controller board,
- 0:47then connect the controller board to your computer with a USB cable.
- 0:51Connect the battery and turn on the power switch. Next, open the example code. Select the board type
- 1:10and serial port, then upload the program to the control board. After successful upload,
- 1:23open the serial monitor and observe the OLED screen. The screen will display the storage address and the
- 1:29read data. Code principle, initialize the OLED screen, then read data from the specified EEPROM
- 1:36address. If valid data is not found, write data to the address and read it again. Both the OLED and
- 1:44serial monitor display the read information and status. Understanding the EEPROM storage principle
- 1:50will help you learn the later lesson about robot arm action recording implemented with EEPROM.
Discussion
A mail when somebody comments. No account needed.
The newsletter
Get our free newsletter with new robots, prices and robotics news.