Wiki

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
resources:eval:user-guides:inertial-mems:accelerometers:adxl362:eval-adxl362z-db [09 Apr 2014 19:15] – [Multi-Demo Firmware] Greg Geerlingresources:eval:user-guides:inertial-mems:accelerometers:adxl362:eval-adxl362z-db [25 Jan 2021 05:22] (current) – update renesas links after their web site update Robin Getz
Line 30: Line 30:
 ==== Drivers ==== ==== Drivers ====
  
-Download and install these drivers to connect the board to your PC, then follow these **[[resources:eval:user-guides:inertial-mems:evalsystem:installdrivers|written instructions]]** or **[[http://www.analog.com/static/imported-files/eval_boards/InstallDrivers.zip|video instructions]]** for installation.\\+Download and install these drivers to connect the board to your PC, then follow these **[[resources:eval:user-guides:inertial-mems:evalsystem:installdrivers|written instructions]]** or **[[adi>static/imported-files/eval_boards/InstallDrivers.zip|video instructions]]** for installation.\\
 {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:vcomusbdriver_v2040a_32bit.zip|32-bit}} or {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:vcomusbdriver_v2040a_64bit.zip|64-bit}} {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:vcomusbdriver_v2040a_32bit.zip|32-bit}} or {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:vcomusbdriver_v2040a_64bit.zip|64-bit}}
 ==== Programming Environment ==== ==== Programming Environment ====
Line 36: Line 36:
 \\ \\
 [[http://www.renesas.eu/products/tools/evaluation_software/downloads.jsp]]  (Global site)\\ [[http://www.renesas.eu/products/tools/evaluation_software/downloads.jsp]]  (Global site)\\
-[[http://am.renesas.com/products/tools/evaluation_software/downloads.jsp]]  (US site)+[[https://www.renesas.com/us/en/design-support/software-and-tool]]  (US site)
  
 ====== Getting Started ====== ====== Getting Started ======
Line 57: Line 57:
 Analog Devices has developed firmware for implementing the following functions via the EVAL-ADXL362Z-DB: Analog Devices has developed firmware for implementing the following functions via the EVAL-ADXL362Z-DB:
  
-  * **Datalogger and GUI (includes real-time data viewer and tilt sensor)**: logs data onto (supplied) microSD card. [[ADI>static/imported-files/eval_boards/ADXL362DB_MultiDemo.zip|ZIP]] //(includes .hex firmware and .exe GUI)//+  * **Datalogger and GUI (includes real-time data viewer and tilt sensor)**: logs data onto (supplied) microSD card.  //(includes .hex firmware and .exe GUI)//[[ftp://ftp.analog.com/pub/iMEMS_Sensor_Eval/EVAL-ADXL362Z-DB/]]
   * **Tilt Sensor**: shows tilt measurement on E-Ink display. {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_inclinometer.zip|HEX}} | {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_inclinometer_proj.zip|Source Code}}    * **Tilt Sensor**: shows tilt measurement on E-Ink display. {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_inclinometer.zip|HEX}} | {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_inclinometer_proj.zip|Source Code}} 
   * **Ultralow Power Motion switch**: turns display icons on or off based on presence or absence of motion. {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_motionswitch.zip|HEX}} | {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_motionswitch_proj.zip|Source Code}}    * **Ultralow Power Motion switch**: turns display icons on or off based on presence or absence of motion. {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_motionswitch.zip|HEX}} | {{:resources:eval:user-guides:inertial-mems:accelerometers:adxl362:adxl362db_motionswitch_proj.zip|Source Code}} 
Line 128: Line 128:
  
 Note that tilt measurement is, in general, a slow measurement. This is because at any given moment, the motion of your hand, for example, could be producing acceleration that would interfere with the tilt measurement. If we average the total acceleration measurement over time, we can get rid of the transient, or AC, effects, such as those due to your hand moving, and we are left only with long-term, or DC, effects -- in this case, gravity. So for best results, tilt slowly and wait for the display to refresh. Note that tilt measurement is, in general, a slow measurement. This is because at any given moment, the motion of your hand, for example, could be producing acceleration that would interfere with the tilt measurement. If we average the total acceleration measurement over time, we can get rid of the transient, or AC, effects, such as those due to your hand moving, and we are left only with long-term, or DC, effects -- in this case, gravity. So for best results, tilt slowly and wait for the display to refresh.
 +
 +===== Write your own software =====
 +Talking to the development board can be done using your own program with the following commands:
 +
 +Baud rate: 153600 8N1
 +
 +Commands:
 +0xAA  - Enable PC control, the board should respond (500+ ms) 0x55 and Eink display will show "PC"
 +
 +0xB1 to start collecting data
 +    Start collection can be augmented with additional commands which specify different modes
 +       
 +    0xB1 0x0L 0x00 0xGS 0xN2
 +    Where L is the length: 1 for 8-bit; 0 for 12-bit
 +    G is the maximum G: 1 - 2G; 5 - 4G; 9 - 8G
 +    S is the sampling rate: 0-12.5hz;1-25hz;2-50hz;3-100hz;4-200hz;5-400hz
 +    N is the filtering: 0-Normal; 1-Low Noise; 2-Ultra low noise
 +    
 +    EG: 0xB1 0x00 0x00 0x15 0x02   would be start, 12-bit samples, 2G max, 400hz sampling, normal noise mode.    
 +    
 +0xB2 to end collecting data
 +
 +
 +Data is transmitted 16-bits for each direction, 2's compliment, little-endian, in groups of XYZ (48-bits at a time, or 6 bytes).
 +The first block of data will be 8-bytes and can be discarded.
 +
resources/eval/user-guides/inertial-mems/accelerometers/adxl362/eval-adxl362z-db.1397063752.txt.gz · Last modified: 09 Apr 2014 19:15 by Greg Geerling