Search Project: *:*

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

Home (version 1) discussion MCP3008 home (Thread)
Home (version 1) discussion
Last updated: 2018-09-02

Home (version 17) discussion MCP3008 home (Thread)
Home (version 17) discussion
Last updated: 2018-09-02

Home (version 14) discussion MCP3008 home (Thread)
Home (version 14) discussion
Last updated: 2018-09-02

Home (version 2) discussion MCP3008 home (Thread)
Home (version 2) discussion
Last updated: 2018-09-05

Home (version 10) discussion MCP3008 home (Thread)
Home (version 10) discussion
Last updated: 2018-09-02

Home (version 13) discussion MCP3008 home (Thread)
Home (version 13) discussion
Last updated: 2018-09-03

Home (version 16) discussion MCP3008 home (Thread)
Home (version 16) discussion
Last updated: 2018-09-02

Home (version 12) discussion MCP3008 home (Thread)
Home (version 12) discussion
Last updated: 2018-09-02

Home (version 4) discussion MCP3008 home (Thread)
Home (version 4) discussion
Last updated: 2018-09-06

Home (version 6) discussion MCP3008 home (Thread)
Home (version 6) discussion
Last updated: 2018-09-02

Home (version 15) discussion MCP3008 home (Thread)
Home (version 15) discussion
Last updated: 2018-09-02

Home (version 9) discussion MCP3008 home (Thread)
Home (version 9) discussion
Last updated: 2018-09-02

(no subject) MCP3008 home (Thread)
Last updated: 2018-02-17

Home (version 20) discussion MCP3008 home (Thread)
Home (version 20) discussion
Last updated: 2018-09-02

Home (version 3) discussion MCP3008 home (Thread)
Home (version 3) discussion
Last updated: 2018-09-02

Home (version 7) discussion MCP3008 home (Thread)
Home (version 7) discussion
Last updated: 2018-09-02

Home MCP3008 home (WikiPage)
Download package Hardware Prerequisites Usage Wiring Add the device Configure the SPI port Use the A/D values Hardware This driver supports an A/D converter from Microchip technology inc. It is an SPI device, which features 4 or 8 analog channels, which are autonomously sampling the signals at a pretty high rate: 75ksps at 2.7V 200ksps at 5V This is far beyond what we are able to read via Linux over SPI. Prerequisites You need to have the device description and driver library installed from the "MCP3008" project. Usage This driver can be used in a similar way as most other CODESYS devices. You add it to your project and map your input variables. 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 an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0". Add the device The device is named MCP3008 and has to be inserted below an SPI Master of your CODESYS project. Right click on SPI master Add Device Select the MCP3008 Configure the SPI port The SPI port and chip select have to be set to the Pins, where you connected the MCP3008. Double Click on the SPI Master Set the configuration parameters The first number specifies the SPI bus. The second number specifies the chip select. Use the A/D values You can easily map the analog input channels to some variables within your project. Just create a variable of type DWORD, go to the "I/O Mapping" page of the MCP3008 device, double click on your desired I/O channel, and click on the button "..." to select your variable.
Last updated: 2018-07-16

mcp3008: Artifact 5f48f823e0677b000f36b286 MCP3008 tickets (Bin)
Last updated: 2020-08-28

mcp3008: Artifact 5f48f823e0677b000f36b287 MCP3008 tickets (Bin)
Last updated: 2020-08-28

mcp3008: Artifact 5f48f823e0677b000f36b288 MCP3008 tickets (Bin)
Last updated: 2020-08-28

home Discussion SPI-Temperature home (Discussion)
Forum for home comments
Last updated: 2018-02-21

code Discussion SPI-Temperature code (Discussion)
Forum for code comments
Last updated: 2018-02-21

tickets Discussion SPI-Temperature tickets (Discussion)
Forum for tickets comments
Last updated: 2020-08-28

home Discussion MCP3008 home (Discussion)
Forum for home comments
Last updated: 2018-02-17

code Discussion MCP3008 code (Discussion)
Forum for code comments
Last updated: 2018-07-16

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

Showing results of 92247

Sort by relevance or date