How to Use LaserKY008 With SkiiiD
by skiiiD in Circuits > Arduino
171 Views, 0 Favorites, 0 Comments
How to Use LaserKY008 With SkiiiD

This project is an instruction of "how to use Segment 3642BH with Arduino via skiiiD
Before start, below is a basic tutorial for how to use skiiiD https://www.instructables.com/id/Getting-Started-With-SkiiiD-Editor/
Launch SkiiiD

Launch skiiiD and select New button
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.
Add Component

Click '+' (Add Component Button) to search and select the component.
Search or Find a Component

① Type 'Laser' on the search bar or find the LaserKY008 on the list.
Select LaserKY008
 1_15_2020 2_04_17 PM.png)
② Select LaserKY008 Module
Pin Indication and Configuration
 1_15_2020 2_04_21 PM.png)
then you can see ③ pin indication. (You can configure it.)
*This module has 3 pins to connect
skiiiD Editor automatically indicate pin setting *configuration available
[Default Pin Indication for LaserKY008 Module] in case of Arduino UNO
VCC: 5v
S: 3
GND: GND
After configuring pins ④ click ADD button on the right below side
Check Added Module
 1_15_2020 2_04_28 PM.png)
⑤ Added Module has appeared on the right panel
SkiiiD Code of LaserKY008 Module
 1_15_2020 2_04_44 PM.png)
skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries
on()
"Turn on the laser."
off()
"Turn off the laser."
toggle()
"Toggle. Switch turn on states to off or vice versa."
blink()
"Blink laser. Set a time interval between blinking laser by entering a number on variable 'time'.\nThe default variable 'time' is 1000ms."
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://twitter.com/skiiiD_official Comments are fine too!