เปิดปิดพัดลมอัตโนมัติ

Page 1

Kidbrigh

a l t u o m r i S t

เปด-ปดพัดลม อัตโนมัติ Let's start !!


m a m r g i n o g r P


step I Choose Basic at the tool bar and click Forever(Forever loop) then click LED 16*8 2chars (Display 2 characters on LED 16*8)


step II Choose Sensor at the tool bar and click Temperature Sensor (Read temperature)


step III Choose Logic at the tool bar and click if do else(If a value is true ,then do the first block of statements.Otherwise do the second block of statements.) then click the equal block and change it to less than or equal(Return true if inputs less than or equal outputs)


step IV Choose Sensor at the tool bar and click Temperature Sensor(Read temperature)


step V Choose Math at the tool bar and click 0 block (A block of constant number)then change it to 30.


step VI Choose the I/O at the tool bar and click Write USB Status then put Write USB Status off at do put Write USB Status on at else


step VII Choose Basic at the tool bar and click Delay 0.5 (Delay for a second)


step VIII Choose the icon of purple house to simulating program on virtual KidBright board and click Actuator then click USB Fan


s e s c i n o g r P


CLICK ! 0 degree The fan doesn't work.

60 degrees The fan is working. 30 degrees The fan doesn't work.


Chitsanupong Liamdee M.4/1 No. 10A

Thank you for watching

Pannatorn Chuntinmatorn M.4/1 No. 7A


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.