Pridopia Learning Board Pi_Scratch software example demo

Print Friendly, PDF & Email

[read more=”Click here to Read More” less=”Read Less”]

(1) Traffic light

Traffic light demo 01
Traffic light demo 02
Traffic light demo 03

(2) Temperature Sensor & Buzzer & fan control

Command ” TEMPB20″ to active 1-wire in pin7(GPIO4)

1. broadcast “”TEMPB20”

2. after broadcast in Sensing –> Slider , you will see the ” Temp18B20″ in the list

Temperature Sensor & Buzzer & fan control demo

(3) Step Motor control

1.     command “SMOTORainit” initial GPIO 17,18,27,22 as A Step Motor Port

command “SMOTORbinit” initial GPIO 23,24,25,4 as B Step Motor Port

command “SMOTOR” + speed (3-50) + (a or b ) + output step

2.      100 — clockwise 100 step ,

-100 — anticlockwise 100 step

3.     a — GPIO 17,18,27,22 ,

b — GPIO 23,24,25,4

Step Motor control demo 01
Step Motor control demo 02

(4)RFID reader

1. Command “RFID”+”INIT”+”0”, will initial SPI signal to active RFID Reader
2. you will see “LastRFID” & “RFID” in Sensors

RFID scratch demo code 01
RFID scratch demo code 02
RFID scratch demo code 03
RFID reader demo 04

(5) RTC demo

1. send broadcast “rtc” then broadcast “update”

2. after broadcast “Update” in Sensing –> Slider , you will see the RTC in the list

“Year, Month, Day, Date, Hour, Minutes, seconds”

RTC demo 01
RTC demo 02

(6) IR Remote control

1.     broadcast command ” LIRREMOTE” +”INIT”  to active IR REMOTE CONTROL

2.     after broadcast  press the key in remote control you want to use in Scratch

Then in Sensing –> Slider , you will see the key you press in the list

IR Remote control demo 01
IR Remote control demo 02
IR Remote control

(7) IR Infrared PIR Motion Sensor

1. broadcast “pir” + “init” + “23” GPIO 23 as input

2. in Sensing –> Slider , you will see the “PIR-23” in the list

IR Infrared PIR Motion Sensor demo 01
IR Infrared PIR Motion Sensor demo 02
IR Infrared PIR Motion Sensor

(8) NRF24L01 demo

 

NRF24L01 WiFi Scanner demo
NRF24L01

(9) use SSR AC control box control AC device

use SSR AC control box control AC device

Download

1. Raspberry Pi image with Pi_Scratch_v273

rs-pi-edu-pi-v1.zip 01 02 03 ——– img to 3 zip use 7-zip software 1.108GB

SSH — user : root   password : pi

2. Demo software Pack

EDU-PacK.tar or sudo wget http://pridopia.co.uk/pi-pgm/EDU-Pack.tar

3. Manual

EDU Learning Board User Manual ————- v1.0 PDF format 14.9MB

4. Pridopia Pi_Scratch software  Detail

[/read]

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

two × two =