composants:rpi_proxi_sensor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
composants:rpi_proxi_sensor [2020/06/23 20:08] – [Wiring] mhcomposants:rpi_proxi_sensor [2020/06/23 20:32] (current) – [Steps] mh
Line 29: Line 29:
  
 There are two different wirings, this one is for hardware SPI. Another one is used for software SPI There are two different wirings, this one is for hardware SPI. Another one is used for software SPI
 +
 {{composants:mcp3008pin.jpg?250}} {{composants:mcp3008pin.jpg?250}}
  
Line 36: Line 37:
   *Activated SPI in raspi-config   *Activated SPI in raspi-config
   *wired a MCP3008 and a sharp IR module to the GPIO pins   *wired a MCP3008 and a sharp IR module to the GPIO pins
-  *installed rust+  *followed tuto on python but did not get data from module (read 0.00) 
 +  *rewired to software SPI (needs documenting) 
 +  *installed rust in tty with lightdm stopped
 <code bash> <code bash>
 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
 </code> </code>
 +  *reboot to activate rust
   *   *
 ===== Ressources ===== ===== Ressources =====
  
   *[[https://tutorials-raspberrypi.com/infrared-distance-measurement-with-the-raspberry-pi-sharp-gp2y0a02yk0f/|Blog post Tutorial]]   *[[https://tutorials-raspberrypi.com/infrared-distance-measurement-with-the-raspberry-pi-sharp-gp2y0a02yk0f/|Blog post Tutorial]]
  • composants/rpi_proxi_sensor.1592935711.txt.gz
  • Last modified: 2020/06/23 20:08
  • by mh