Skip to content

grobwrk/STEVAL-Examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STEVAL-Examples

This repository contains some examples that demonstrate how to use the following sensors on the STEVAL board:

  • LIS2DU12 (inertial)
  • LSM6DSV16X (inertial)
  • LPS22DF (pressure)
  • LIS2MDL (megnetic field)
  • STTS22H (temperature)
  • MP23DB01HP (digital audio)
  • ST25DV04K (NFC)

Python Wave Serial Encoder

The STEVAL_Python_Wave_Serial_Encoder sketch can be used together with the Python-Wave-Serial-Encoder GUI application to record PCM audio to a WAV file on desktop, by using serial connection to the board.

  1. Install STEVAL-Audio library (if you haven't done yet)

  2. Compile and Flash the STEVAL_Python_Wave_Serial_Encoder sketch you find in examples/ folder (using Arduino IDE, for instance)

  3. Connect the STEVAL board to serial port

  4. Launch Python-Wave-Serial-Encoder GUI

  5. Select the serial port and click Connect

  6. Click Save and select the WAV file where you're going to record the audio

  7. Click Start to start capturing audio

  8. Click Stop when you finished

  9. Listen the WAV file with your preferred audio player

MEMS HelloWorld

The STEVAL_MEMS_HelloWorld sketch shows how to get data from LIS2DU12, LSM6DSV16X, LPS22DF, LIS2MDL and STTS22H. Just open the sketch, compile and run. Remember to install the relative sensors libraries.

ST25DV HelloWorld

The STEVAL_ST25DV_HelloWorld sketch shows how to setup the ST25DV04K NFC to serve the URL http://www.st.com/st25. In order to use it, just open the sketch, install the ST25DV04K library (if not present), then compile and flash it.

Dependencies

The examples in this repository requires the following STM32duino libraries:

About

Examples for STEVAL board

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published