Wiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
university:courses:electronics:2_axis_tilt_sensor [08 Aug 2019 15:58]
amiclaus add fritzing files
university:courses:electronics:2_axis_tilt_sensor [08 Aug 2019 16:00] (current)
amiclaus
Line 2: Line 2:
  
 ==== Objective ==== ==== Objective ====
 +
 The objective of this activity is  to build a simple tilt sensor using ADXL327 and observe how the output voltage varies with inclination on X and Y axes.  The objective of this activity is  to build a simple tilt sensor using ADXL327 and observe how the output voltage varies with inclination on X and Y axes. 
  
 =====Tilt sensor using ADXL327===== =====Tilt sensor using ADXL327=====
 +
 ==== Background ==== ==== Background ====
  
Line 17: Line 19:
  
 ==== Materials ==== ==== Materials ====
 +
 ADALM2000 Active Learning Module\\ ADALM2000 Active Learning Module\\
 Solder-less breadboard, and jumper wire kit\\ Solder-less breadboard, and jumper wire kit\\
Line 27: Line 30:
  
 ==== Hardware setup ==== ==== Hardware setup ====
 +
 Start with building on the solderless breadboard the circuit presented in the block diagram from Figure 1. C<​sub>​DC</​sub>​ capacitor placed close to the ADXL327 supply pins adequately decouples the accelerometer from noise on the power supply. For most applications is suitable a single 0.1 μF capacitor. ​ On X<​sub>​OUT</​sub>,​ Start with building on the solderless breadboard the circuit presented in the block diagram from Figure 1. C<​sub>​DC</​sub>​ capacitor placed close to the ADXL327 supply pins adequately decouples the accelerometer from noise on the power supply. For most applications is suitable a single 0.1 μF capacitor. ​ On X<​sub>​OUT</​sub>,​
 Y<​sub>​OUT</​sub>​ pins capacitors must be added to implement low-pass filtering for antialiasing and noise reduction. Refer to the datasheet of ADXL327 to see how to choose the values of these capacitors. For this application 0.047uF capacitors can be used. In figure 3 are presented the breadboard conections. Y<​sub>​OUT</​sub>​ pins capacitors must be added to implement low-pass filtering for antialiasing and noise reduction. Refer to the datasheet of ADXL327 to see how to choose the values of these capacitors. For this application 0.047uF capacitors can be used. In figure 3 are presented the breadboard conections.
Line 33: Line 37:
  
 ==== Procedure ==== ==== Procedure ====
 +
 Turn on the positive power supply at 3V and monitor X<​sub>​OUT</​sub>​ on channel 1 of the oscilloscope and Y<​sub>​OUT</​sub>​ on the channel 2.  Turn on the positive power supply at 3V and monitor X<​sub>​OUT</​sub>​ on channel 1 of the oscilloscope and Y<​sub>​OUT</​sub>​ on the channel 2. 
 The zero g bias output is nominally equal to VS/2 at all supply voltages. In this case you should see an offset signal at around 1.5V.  The zero g bias output is nominally equal to VS/2 at all supply voltages. In this case you should see an offset signal at around 1.5V. 
Line 40: Line 45:
  
 =====Tilt sensor with LED indicators===== =====Tilt sensor with LED indicators=====
 +
 ==== Background ==== ==== Background ====
 +
 We monitored the output voltage of the ADXL327 accelerometer on the oscilloscope but using AD8561 comparators and LEDs is possible to make the tilt sensor send light signals when the the degree of inclination changes or when a vibration is sensed. ​ We monitored the output voltage of the ADXL327 accelerometer on the oscilloscope but using AD8561 comparators and LEDs is possible to make the tilt sensor send light signals when the the degree of inclination changes or when a vibration is sensed. ​
 We use one AD8561 comparator for each axis. The zero g bias output is similar on both axes and will be the reference of both comparators. On each of the two outputs of the comparator a LED will be connected. The two output signals are opposite so only one LED will be active at a time. We use one AD8561 comparator for each axis. The zero g bias output is similar on both axes and will be the reference of both comparators. On each of the two outputs of the comparator a LED will be connected. The two output signals are opposite so only one LED will be active at a time.
university/courses/electronics/2_axis_tilt_sensor.txt · Last modified: 08 Aug 2019 16:00 by amiclaus