Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
composants:rpi_proxi_sensor [2020/06/22 22:07] – [Wiring] mh | composants:rpi_proxi_sensor [2020/06/23 20:24] – [Steps] mh | ||
---|---|---|---|
Line 16: | Line 16: | ||
{{composants: | {{composants: | ||
- | < | + | < |
|^ RPi Pin #^ | |^ RPi Pin #^ | ||
| 1| |3.3V| | | 1| |3.3V| | ||
Line 27: | Line 27: | ||
| 6| |GND | 9| |DGND | | | 6| |GND | 9| |DGND | | ||
</ | </ | ||
+ | |||
+ | There are two different wirings, this one is for hardware SPI. Another one is used for software SPI | ||
{{composants: | {{composants: | ||
+ | |||
+ | ===== Steps ===== | ||
+ | |||
+ | *Installed raspbian | ||
+ | *Activated SPI in raspi-config | ||
+ | *wired a MCP3008 and a sharp IR module to the GPIO pins | ||
+ | *followed tuto on python but did not get data from module (read 0.00) | ||
+ | *rewired to software SPI (needs documenting) | ||
+ | *installed rust < | ||
+ | <code bash> | ||
+ | curl --proto ' | ||
+ | </ | ||
+ | * | ||
===== Ressources ===== | ===== Ressources ===== | ||
*[[https:// | *[[https:// |