Before start, below URL link is a basic tutorial for how to use skiiiD
https://www.hackster.io/skiiid/getting-started-with-skiiid-editor-f69b5d
Video InstructionStep 1. Launch skiiiD and select Arduino UNO#1 Launch skiiiD and select New button
#2 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 2. Add Component#1 Click '+' (Add Component Button) to search and select the component.
#2 ① Type 'Color' on the search bar or find the Search DetectColor TCS3200 on the list.
#3②Select TCS3200.
#4 then you can see ③ pin indication. (You can configure it.)
*This module has 8 pins to connect
skiiiD Editor automatically indicate pin setting *configuration available
[Default Pin Indication for DetectColor TCS3200] in case of Arduino UNO
GND: GND
OE: GND
S1: 2
S0: 3
VCC: 5V
OUT: 4
S2: 5
S3: 6
#5 After configuring pins ④ click ADD button on the right below side
#6⑤Added Modulehas appeared on the right panel
skiiiD Code of Detect Color TCS3200.skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries
getFrequency()
"Return the frequency of detected color corresponding to the variable 'color'.
In order to return the variable 'color', choose 1 from "red", "green", "blue" as the color of frequency.
Set the scale of the frequency as the variable 'scale' value. The default scale is 100."
getColor()
"According to frequency detected, return a color from "red", "green", "blue".
Set the scale of the frequency as the variable 'scale' value. The default scale is 100."
Contact and FeedbackWe 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/UCfS2RQL3m3hVoHkFo4R0AnQ
skiiiD user forum:https://www.facebook.com/groups/skiiiD/
Comments are fine too!
Comments
Please log in or sign up to comment.