User Tools

Site Tools


notes:c4eng:fall2022:projects:fso0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:c4eng:fall2022:projects:fso0 [2022/11/10 03:52] – [APPLICATION] mward14notes:c4eng:fall2022:projects:fso0 [2022/11/10 06:06] (current) – [APPLICATION] cmille71
Line 258: Line 258:
  
 1. Download the library 1. Download the library
 + 
 Run: Run:
-git clone https://github.com/the-raspberry-pi-guy/lcd.git+ <code>git clone https://github.com/the-raspberry-pi-guy/lcd.git</code>
  
 2. Enter the newly created directory 2. Enter the newly created directory
-cd lcd+  
 +<code>cd lcd</code>
  
 3. Install the library 3. Install the library
-sudo ./install.sh+  
 +<code>sudo ./install.sh</code>
  
 if you are given the error 'permission denied' run: if you are given the error 'permission denied' run:
-chmod a+x setup.sh+<code>chmod a+x setup.sh</code>
 to give setup.sh permission to excecute to give setup.sh permission to excecute
  
Line 275: Line 277:
  
 5. View or run any demos 5. View or run any demos
-you can view or run any of the programs labeled demo after running ls.+ 
 +You can view or run any of the programs labeled demo after running ls.
 Programs can be excecuted by running: Programs can be excecuted by running:
-python FILENAME.py+<code>python FILENAME.py</code>
 The code can also be viewed by using nano.  The code can also be viewed by using nano. 
-====DEMONSTRATION==== 
  
-=====COMPONENT 12===== 
  
-====DESCRIPTION====+//**Gyroscope (GY-521)**//
  
-====APPLICATION====+**Description** 
 +The GY-521 contains both a 3-Axis Gyroscope and a 3-Axis accelerometer allowing measurements of both independently, but all based around the same axes, thus eliminating the problems of cross-axis errors when using separate devices.
  
 +**Specification**
 +Accelerometer ranges: ±2, ±4, ±8, ±16g
 +Gyroscope ranges: ± 250, 500, 1000, 2000 °/s
 +Voltage range: 3.3V - 5V (the module include a low drop-out voltage regulator)
 +This simple module contains everything required to interface to the Arduino and other controllers via I2C (use the Wire Arduino library) and give motion sensing information for 3 axes - X, Y and Z.
 +====APPLICATION====
 +The GY-521 can be used to measure the orientation of the device. It can sense motion including vertical and horizontal rotation. There are a lot of practical uses of gyroscope especially in aerospace. It can be used as a stability assistance device to make sure that a rocket, a spacecraft, or an aircraft maintains the correct orientation.
 ====DEMONSTRATION==== ====DEMONSTRATION====
  
notes/c4eng/fall2022/projects/fso0.1668052331.txt.gz · Last modified: 2022/11/10 03:52 by mward14