Differences

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

Link to this comparison view

lkd:laboratoare:04 [2024/07/11 16:33]
daniel.baluta
lkd:laboratoare:04 [2024/07/11 16:42] (current)
daniel.baluta [Presentation]
Line 4: Line 4:
 ==== Presentation ==== ==== Presentation ====
  
-  * follow ​slides ​at  {{:​lkd:​laboratoare:​lkd_slides_03.pptx| Session 3}} +  * no slides, all practical
  
 ==== Practical lab ==== ==== Practical lab ====
Line 49: Line 48:
 XX - is the address of the I2C device. There are two ways of finding this. You can dig inside the [[https://​www.optimusdigital.ro/​en/​index.php?​controller=attachment&​id_attachment=4892 ​ | datasheet ]] and confirm the address by scanning for devices on i2c3 node on the hardware. Use ''​i2cdetect -y 2''​. XX - is the address of the I2C device. There are two ways of finding this. You can dig inside the [[https://​www.optimusdigital.ro/​en/​index.php?​controller=attachment&​id_attachment=4892 ​ | datasheet ]] and confirm the address by scanning for devices on i2c3 node on the hardware. Use ''​i2cdetect -y 2''​.
  
-The datasheet states that the I2C address is, but you need to look closer and also understand the output of i2c scan command ​from above:+The datasheet states that the I2C address is as shown as below, but you need to look closer and also understand the output of i2c scan command ​''​i2cdetect -y 2''​.
  
 {{:​lkd:​laboratoare:​i2caddr.png}} {{:​lkd:​laboratoare:​i2caddr.png}}
Line 76: Line 75:
 </​code>​ </​code>​
  
 +
 +=== Exercise 2 ===
 +
 +Control a motor using GPIOs. Use the following {{:​lkd:​laboratoare:​motorcontrolsetup.pdf| Guide }}
 +
 +{{:​lkd:​laboratoare:​motor1.jpeg?​500}}
  
lkd/laboratoare/04.1720704793.txt.gz · Last modified: 2024/07/11 16:33 by daniel.baluta
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0