Würth eiSos Series User Manual Download Page 10

The register read and write functions shall be implemented to read/write one
byte at a time. Burst read/write operations can be implemented based on the
host MCU peripheral and the sensor used.

The existing

platform.c

file, can be removed from the project as it contains the correspond-

ing implementation for the Raspberry Pi.

On porting the aforementioned functions onto the custom MCU, the driver can be used
seamlessly for the application development. The sample applications can be used as a
starting point for further development.

Sensors SDK, User manual
Version 1.1

© October 2019

www.we-online.com/sensors

9

Summary of Contents for eiSos Series

Page 1: ...SENSORS SOFTWARE DEVELOPMENT KIT USER MANUAL VERSION 1 1 OCTOBER 31 2019...

Page 2: ...document August 2019 1 1 1 1 Updated sensors supported and software history Changed the wiringPi install method as recommended by it s author November 2019 For SDK version history see chapter Software...

Page 3: ...nment A set of tools for software development I2 C Inter integrated circuit Serial communication interface and protocol MCU Microcontroller SDK Software development kit Software development tool to in...

Page 4: ...specific in particular safety relevant ap plications 17 6 3 Best care and attention 17 6 4 Customer support for product specifications 17 6 5 Product improvements 18 6 6 Product life cycle 18 6 7 Prop...

Page 5: ...egisters on board One or more status registers can be monitored to get the current status of the sensor and finally the output is stored in the output registers These sensors not only deliver the raw...

Page 6: ...Figure 1 Sensors SDK driver as part of the end product Sensors SDK User manual Version 1 1 October 2019 www we online com sensors 5...

Page 7: ...e Code Blocks IDE The sample applications were tested on Raspberry Pi 3 Model B with Raspbian Stretch and Raspberry Pi 3 Model B with Raspbian Buster Code Blocks version 17 12 was used as the IDE Thes...

Page 8: ...Platform speci c code for the Raspberry Pi platform c platform h version h Sensors SDK version le WSEN_PADS_2511020213301 Contains all the code related to sensor 2511020213301 drivers Code to be port...

Page 9: ...from the addressed register param RegAdr the register address to read from NumByteToRead number of bytes to read pointer Data the address store the data retval Error Code int8_t ReadReg uint8_t RegAd...

Page 10: ...g platform c file can be removed from the project as it contains the correspond ing implementation for the Raspberry Pi On porting the aforementioned functions onto the custom MCU the driver can be us...

Page 11: ...or evaluation board to corresponding pins on the Raspberry Pi power supply ground I2 C Figure 2 gives an overview of the pins of the Raspberry Pi used in the driver application examples Refer to the r...

Page 12: ...n I2 C sensor to Raspberry Pi 3B Alternatively W rth Elektronik eiSos Amber Pi an add on module for the Raspberry Pi can be used to connect the sensor evaluation board directly to the Raspberry Pi Fig...

Page 13: ...wering it up 3 After booting the Raspberry Pi switch off the Bluetooth interface by clicking on the Bluetooth button on the right upper corner of the screen see figure 5 4 Then turn on the WiFi for co...

Page 14: ...l on the left upper corner of the screen and select Shutdown 4 3 Install the wiringPi library The wiringPi library is used to easily access the peripherals of the Raspberry Pi 1 First check if wiringP...

Page 15: ...s by typing in terminal For example sudo codeblocks Projects WSEN SDK WSEN_PADS_2511020213301 examples quickStart quickstart cbp It s important to start the project with root permissions sudo Otherwis...

Page 16: ...build the application 9 If it builds without errors the Raspberry Pi WiringPi and Sensors SDK setup succeed ed 10 In case of further question please contact our technical support at https we online co...

Page 17: ...elease First released version of the SDK PADS driver and example Version 1 1 0 Release Added driver support for ITDS and PDUS sensors Added example for ITDS Sensors SDK User manual Version 1 1 October...

Page 18: ...ely eliminated in the current state of the art even if the products are operated within the range of the specifications The same statement is valid for all software and software parts contained in or...

Page 19: ...h the field sales engineer or the internal sales person in charge about the current product availability expectancy before or when the product for application design in disposal is con sidered The app...

Page 20: ...s that it is solely responsible for compliance with all le gal regulatory and safety related requirements concerning its products and any use of W rth Elektronik eiSos GmbH Co KG components in its app...

Page 21: ...must be performed on every electronic component which is used in electrical circuits that require high safety and reliability function or perfor mance By using W rth Elektronik eiSos GmbH Co KG produc...

Page 22: ...se terms W rth Elektronik eiSos will not assume any liability for the usage of the incorporated software and the source code You are not entitled to transfer the source code in any form to third parti...

Page 23: ...E THAT W RTH ELEKTRONIK EISOS MAKES NO REPRESENTATIONS AND WAR RANTIES OF ANY KIND RELATED TO BUT NOT LIMITED TO THE NON INFRINGEMENT OF THIRD PARTIES INTELLECTUAL PROPERTY RIGHTS OR THE MERCHANTABILI...

Page 24: ...8 Miscellaneous W rth Elektronik eiSos reserves the right at any time to change this terms at its own discre tion It is your responsibility to check at W rth Elektronik eiSos homepage for any updates...

Page 25: ...11 4 Senesor evaluation board with Amber Pi 11 5 Switch off the Bluetooth and connect to internet via WiFi 12 6 Terminal button 12 7 Raspberry Pi interface configuration 13 8 Code Blocks linker settin...

Page 26: ...Internet of Things more than you expect Contact W rth Elektronik eiSos GmbH Co KG Division Wireless Connectivity Sensors Max Eyth Stra e 1 74638 Waldenburg Germany Tel 49 651 99355 0 Fax 49 651 99355...

Reviews: