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 'motor' on the search bar or find the MotordriverL298N on the list.
#3②Select MotordriverL298N.
#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 MotordriverL298N Module] in case of Arduino UNO
5V: 5V
GND: GND
ENA: 3
IN1: 0
IN2: 1
IN3: 2
IN4: 4
ENB: 5
#5 After configuring pins ④ click ADD button on the right below side
#6⑤Added Modulehas appeared on the right panel
skiiiD Code of MotordriverL298NskiiiD Code is intuitive function-based codes. This is based on skiiiD libraries
RotateA()
"Change speed and direction of motor connected with OUT1 and OUT2 pin.
Speed default: 100, Range: 0~100
Enter 1 on direction to change direction of the motor, default is 0."
RotateB()
"Change speed and direction of motor connected with OUT3 and OUT4 pin.
Speed default: 100, Range: 0~100
Enter 1 on direction to change direction of the motor, default is 0."
RotateAB()
"Change speed and direction of two motors simultaneously.
Speed default: 100, Range: 0~100
Enter 1 on direction to change direction of the motor, default is 0."
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
Comments are fine too!
Comments
Please log in or sign up to comment.