Search Project: *:*

 
<< < 1 .. 368 369 370 371 372 .. 3647 > >> (Page 370 of 3647)

MCP3008 SVN repository MCP3008 code (SVN Repository)
Last updated: 2018-07-16

Home SPI-Temperature home (WikiPage)
Download package codefailed Hardware Prerequisites Usage Wiring Add the device Configure the SPI port Configure the device Use the input values Hardware This driver supports most SPI thermal modules (like MAX31855). Those modules are returning the absolute, prescaled temperature. The main difference between most of them is the bitwidth, scaling and range. This driver is configurable, so that you can use most of them. Prerequisites You need to have the device description and driver library installed from the "SPI-Temperature" project. Usage This driver can be used in a similar way as most other CODESYS devices. Except, that the outputs are not mapped through the I/O mapping, but they are provided as an output of the FB from the device tree. Wiring The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't support to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that. This example shows the wiring of a MAX31855 with a Raspberry Pi Zero W, on SPI port 0 and chip select 0. This corresponds to "spidev0.0". Add the device The device is named SPI Temperature and has to be inserted below an SPI Master of your CODESYS project. Right click on SPI master Add Device Select the SPI Temperature Configure the SPI port The SPI port and chip select have to be set to the Pins, where you connected the chip. Double Click on the SPI Master Set the configuration parameters The first number specifies the SPI bus. The second number specifies the chip select. Configure the device As this driver is a very generic one, you have to add some configuration parameters from the datasheet. In fact these are only two values: Bitwidth Resolution Both can be usually found in the datasheet of the chio. A few common ones can be found here: [Configuration List] Use the input values After the configuration is done, the input of the sensor can be used directly from the output of the function block. rTemp := SPITemperature.rValue;
Last updated: 2019-10-05

Configuration List SPI-Temperature home (WikiPage)
This is a list of the configuration of the most common chips. If you know a new one, feel free to edit this page. Chip Bitwith minimal resolution MAX31855 14Bit 0.25°C MAX6662 12Bit 0.0625°C MAX6675. 12Bit 0.25°C
Last updated: 2020-03-30

(no subject) SPI-Temperature home (Thread)
Last updated: 2018-02-21

Configuration List (version 2) discussion SPI-Temperature home (Thread)
Configuration List (version 2) discussion
Last updated: 2019-03-12

Home (version 2) discussion SPI-Temperature home (Thread)
Home (version 2) discussion
Last updated: 2018-08-31

Home (version 8) discussion SPI-Temperature home (Thread)
Home (version 8) discussion
Last updated: 2018-08-31

Home (version 5) discussion SPI-Temperature home (Thread)
Home (version 5) discussion
Last updated: 2018-08-31

Home (version 4) discussion SPI-Temperature home (Thread)
Home (version 4) discussion
Last updated: 2018-08-31

Configuration List (version 3) discussion SPI-Temperature home (Thread)
Configuration List (version 3) discussion
Last updated: 2020-05-02

Home (version 6) discussion SPI-Temperature home (Thread)
Home (version 6) discussion
Last updated: 2018-08-31

Home (version 12) discussion SPI-Temperature home (Thread)
Home (version 12) discussion
Last updated: 2019-10-24

Home (version 3) discussion SPI-Temperature home (Thread)
Home (version 3) discussion
Last updated: 2018-08-31

Home (version 10) discussion SPI-Temperature home (Thread)
Home (version 10) discussion
Last updated: 2019-10-24

Home (version 13) discussion SPI-Temperature home (Thread)
Home (version 13) discussion
Last updated: 2019-10-24

Configuration List (version 4) discussion SPI-Temperature home (Thread)
Configuration List (version 4) discussion
Last updated: 2020-05-01

Home (version 1) discussion SPI-Temperature home (Thread)
Home (version 1) discussion
Last updated: 2018-08-31

Home (version 9) discussion SPI-Temperature home (Thread)
Home (version 9) discussion
Last updated: 2018-08-31

Configuration List (version 1) discussion SPI-Temperature home (Thread)
Configuration List (version 1) discussion
Last updated: 2018-09-05

Home (version 11) discussion SPI-Temperature home (Thread)
Home (version 11) discussion
Last updated: 2019-10-24

Home (version 7) discussion SPI-Temperature home (Thread)
Home (version 7) discussion
Last updated: 2018-08-31

(no subject) SPI-Temperature home (Thread)
Last updated: 2018-02-21

<< < 1 .. 368 369 370 371 372 .. 3647 > >> (Page 370 of 3647)

Showing results of 91169

Sort by relevance or date