Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2021:3d_object_representation [2022/01/20 17:31]
andrei_daniel.nita
iothings:proiecte:2021:3d_object_representation [2022/01/26 22:14] (current)
andrei_daniel.nita
Line 10: Line 10:
 The gyroscope/​accelerometer/​temperature measurements will be read from the sensor at regular time intervals. The gyroscope/​accelerometer/​temperature measurements will be read from the sensor at regular time intervals.
  
-These measurements will be stored on the ESP32. The server running on the ESP32 will transmit the data to the client side, where they will be displayed on the web page.+These measurements will be stored on the ESP32. The server running on the ESP32 will transmit the data to the client side, where it will be displayed on the web page.
  
 {{ https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​3d_schematic.jpg?​500x250 }} {{ https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​3d_schematic.jpg?​500x250 }}
Line 50: Line 50:
  
 **1. Arduino IDE C Code** **1. Arduino IDE C Code**
- 
-{{ https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​arduino_setup_1.jpg?​300x400}} 
  
 In order to use our sensor readings, communicate with the ESP32, connect to the WiFi and handle the web server, we are going to need the following **libraries**:​ In order to use our sensor readings, communicate with the ESP32, connect to the WiFi and handle the web server, we are going to need the following **libraries**:​
Line 72: Line 70:
 </​code> ​ </​code> ​
  
-{{ https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​arduino_loop_1.jpg?​300x200}}+**Setup and Loop Functions** 
 + 
 +{{https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​arduino_setup_1.jpg?​300x400}} 
 +{{https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​arduino_loop_1.jpg?​300x200}}
  
 **Server Handling** **Server Handling**
  
-The asynchronous web server is created on port 80. The Wi-Fi connection is established and the SPIFFS is mounted.+The asynchronous web server is created on port 80. The Wi-Fi connection is established and SPIFFS is mounted.
 The sensor readings are sent to the server every time a new reading occurs. The sensor readings are sent to the server every time a new reading occurs.
  
 The server handler is created to handle requests such as the reset position request. The server handler is created to handle requests such as the reset position request.
- 
- 
- 
-{{ https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​flowchart_3d.jpg?​280x525}} 
  
 <​code>​ <​code>​
Line 108: Line 105:
   }   }
 </​code>​ </​code>​
 +
 +**Process Flowchart Diagram**
 +
 +{{ https://​ocw.cs.pub.ro/​courses/​_media/​iothings/​proiecte/​2021/​flowchart_3dd.jpg?​300x400 }}
  
 **2. HTML and JS** **2. HTML and JS**
Line 157: Line 158:
  
 [[https://​randomnerdtutorials.com/​esp32-mpu-6050-accelerometer-gyroscope-arduino/​]] [[https://​randomnerdtutorials.com/​esp32-mpu-6050-accelerometer-gyroscope-arduino/​]]
 +
 +[[https://​randomnerdtutorials.com/​esp32-web-server-spiffs-spi-flash-file-system/​]]
iothings/proiecte/2021/3d_object_representation.1642692715.txt.gz · Last modified: 2022/01/20 17:31 by andrei_daniel.nita
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0