MAX01_Demos - ArrowElectronics/AnalogMAX GitHub Wiki

Using the AnalogMAX-01 demos

Accelerometer Demonstration

This demo shows the gravitational acceleration of the AnalogMAX. It is possible to normalize data to show g=9.8 m/s2. Click on “AnalogMax_Accelerometer_Demo”.

  1. Change the COM port to the one you are using
  2. Place the cursor in the code editor
  3. Click the run button at the top of the notebook
  4. Shake the AnalogMAX to generate data

Temperature Demonstration

This sensor is a bit robust. To produce major changes in the data use materials with a big difference in temperature. The following graphs have been obtained using a hair blow dryer, then blowing on the sensor and then placing a finger on the sensor to rapidly cool it. Click on “AnalogMax_Temperature_Demo”.

  1. Change the COM port to the one you are using
  2. Place the cursor in the code editor
  3. Click the run button at the top of the notebook
  4. Place your finger on the sensor or breathe on it

Smoke Sensor Demonstration

This demo uses two different spectra of light; infrared and blue light. Take note that the sensor reading will max out at 4. Click on “AnalogMax_Smoke_Sensor_Demo”.

  1. Change the COM port to the one you are using
  2. Place the cursor in the code editor
  3. Click the run button at the top of the notebook
  4. Use your breath (or gas from another safe source such as an unlit lighter) and place various materials above the sensor (the following is from steam and smoke)

ADC/DAC/GPIO Demonstration

This demo configures pin IO7 as a DAC with a midscale output, IO0 as an analog input, IO1 as a digital input and pints IO2 to IO6 as digital outputs with high values. The AIN0 input pin is being sampled in this demonstration. Click on “AnalogMax_ADC_DAC_GPIO_Demo”.

  1. Change the COM port to the one you are using
  2. Place the cursor in the code editor
  3. Click the run button at the top of the notebook
  4. Touch the AIN0 pin via a 20kΩ resistor