Products Detail

Product image
Product image

Rs- Pi IR Line Hunting Sensor set

Product Code:rs-pi-Trace-Ir-set
Availability:0
Weight:0.00gm
Price:£7.99

 


 
 Description:

·VCC/OUT/GND pin connector

·Power Supply: 3.3V

·Working Current: 15-20mA at 3.3V

·Output electrical level signal: Low level when detecting objects/ high

  level when no objects/0 or 1 decides if objects exist)

·Dimensions: 1.81 x 0.39 x 0.35 inch / 4.6 x 1.0 x 0.9 cm

  Support our scratch driver software, can be easy use in scratch

   

  

 broadcast "TRACEIRINIT" +"17" GPIO number  & "TRACEIRINIT" +"18" 

 in Sensing --> Slider , you will see the "TraceIR-17" & "TraceIR-18"  in the list    

 

i2c MCP23017 GPIO mode

 

 

 Command "i2"+ "address(1-8)" + "a" +"in" for Port A

 Command "i2"+ "address(1-8)" + "b" +"in" for Port B

  Address 20 --> 1 21 --> 2 22-->3 23 -->4

  Address 24 --> 5 25 --> 6 26-->7 27 -->8  

command "i22bin" initial address 21, Port B as input

 

 (1)"i22bin" initial address 21, Port B as input

(2) broadcast  "Update"   

(3) in Sensing --> Slider , you will see the " I2C1B-0 ~ I2C1B-7"   in the list  

 

  Detect the black line & white area
   Python test program use  GPIO 17, GPIO 18