How to Use CDS With SkiiiD

Introduction: How to Use CDS With SkiiiD

A tutorial to develop CDS with skiiiD

Step 1: Launch SkiiiD

Launch skiiiD and select New button

Step 2: Select Arduino UNO

Select ① Arduino Uno and then click ② OK button

*This is Tutorial, and we use Arduino UNO. Other boards(Mega, Nano) have the same process.

Step 3: Add Component

Click '+' (Add Component Button) to search and select the component.

Step 4: Search or Find a Component

① Type 'CDS' on the search bar or find the CDS on the list.

Step 5: Select CDS

② Select CDS Module

Step 6: Pin Indication and Configuration

then you can see ③ pin indication. (You can configure it.)

*This module has 4 pins to connect

skiiiD Editor automatically indicate pin setting *configuration available

[Default Pin Indication for CDS Module] in case of Arduino UNO

AO: A0

DO: 2

GND: GND

VCC: 5V

After configuring pins ④ click ADD button on the right below side

Step 7: Check Added Module

⑤ Added Module has appeared on the right panel

Step 8: SkiiiD Code of CDS Module

skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries

getData()

"Return ADC value from analog data."

getBrightness()

"Set the level corresponding to current CDS value."

isBrighten()

"If brightness is greater than set value, return false. Else, return true."

Step 9: Contact and Feedback

We are working on components and boards libraries. Feel free to use it and feedback us, please. Below is contact methods

email: contact@skiiid.io twitter: https://twitter.com/skiiiD_official

Youtube: https://www.youtube.com/channel/UCfS2RQL3m3hVoHkF...

skiiiD user forum: https://www.facebook.com/groups/skiiiD/

Comments are fine too!

Be the First to Share

    Recommendations

    • Back to School: Student Design Challenge

      Back to School: Student Design Challenge
    • Plastic Challenge

      Plastic Challenge
    • Rocks, Gems, and Stones Speed Challenge

      Rocks, Gems, and Stones Speed Challenge

    Comments