On-Site session aims toward delivering the knowledge of how codes are built and a bit of how electronics work in order to use the (Circuit playground Express microcontroller), which will be coded using the platform (Make-Code). In addition to the technical skills delivered the session will focus on the the side of how science and art are beneficial to each other.
In this session, we need:
1- Computer
2- Circuit Playground express microcontroller (Adafruit)
3- Scratch software.
4- presentation.
In this section we will explain and discuss the whole workshop we going to deliver in the week starting from this day. Also, we will ice break with the participant.
1- We will explain the workshop session for the participant day by day.
2- Then we will ice break with the participant to let them engage in the session.
3- Then we will discuss and explain the meaning of science.
4- Then we will speak a bit about the Art and its unlimited definitions.
5- Then we will show the linkage between the art and the science.
6- Then we will ask the participant how they could define art and science from their perspective.
In this section we will show the participant what we will be doing today, in addition to explaining the way of building the prototype.
1- We will show the participant the prototype we want to build and the needed material to have the prototype done.
2- Then we will talk about software as instructions written in a sketch and the computer will execute these instructions one by one.
3- Then we will show the participant the types of coding and the one we will be using today, which is block coding.
4- Then we will present a video that explain the meaning of coding and its types in addition to a number of coding languages.
5- Then we will ask the participant about the uses of the coding process.
6- After describing the need for software and how to use it, we will explain the need for a microcontroller and how it works.
7- Then we will talk a bit about what is meant by input devices and how they work with microcontroller.
8- After mentioning the input device and explaining them as devices, to grab data from the surrounding to be processed using the Microcontroller in order to take an action According to the processing result.
9- We will explain the accelerometer sensor and how it’s used and works.
10- Then we will ask the participant about what they think accelerometer is used for.
11- Then we will show some of the art pieces that been drawn using the data of the accelerometer.
In this part we will explain the coding instructions needed to code the scratch sketch and also the instructions of the microcontroller.
1- We have to ask the participant to open scratch software for the offline version or the website if they are using the online version.
2- Then we will talk about The extensions needed to have all the instructions to code on scratch.
3- Then we will start our code by explaining the need for events.
4- The code will start with creating a variable for the step of the pen and also another variable to change the colour of the pen.
5- Then we will add the pen size instruction from the pen extension.
6- Then we will add the forever loop, and we will add the point instruction, so the pen will always follow the mouse pointer in addition we will add the move step for the pen, and we will add the variable we created for the value.