MAKEY Oz+ is the programmable module of the family of Makey. You can connect to Makey Oz+ module with mobil phone, tablet or computer which suppor Bluetooth 4.0 and do drag and drop programming with Makey app that is on Android and IOS. Also, it can be programmable on Arduino interface by connecting a computer. Makey Oz+ allow you making the smarter projects and coding the real world.
Start the coding with Makey Oz+
The Makey application has been renewed!
You can now use the radar screen to connect to Makey Oz+ modules. Thus, in classrooms with more than one Makey Oz+ module, it is enough to move the tablet or phone closer to the module you want to connect.
You can get Makey app for free on Android and iOS.
First, let's open our application and open the new project. The Encoding screen will appear. To connect to the Makey Oz+ module, click on the Bluetooth icon in the corner.
When clicking on the Bluetooth icon and the radar screen of module scanning will open. If the Bluetooth is not active on your phone, turn on the Bluetooth by clicking on it. Be sure that the Makey Oz+ modules have power. When the Makey Oz+ modules are waiting for connection, the blue light on it will blink slowly. On the radar screen, we see the Makey Oz+ modules in the environment.
Get closer your phone to the Makey Oz+ module you want to connect.
The Makey Oz+ module that we are connecting will turn from orange to blue on the screen when we touch the phone with it.
In this way, after about two seconds, our phone will connect to the Makey Oz+ module and the led on the module will turn on and off the green light three times. After Bluetooth is connected, the Bluetooth icon in the corner of the application will turn green. Now we can start writing code.
As a first application, let's make a police car light. First of all, we need to start our code with the "► key pressed" block under the "Start" category. Then we will combine the "repeat continuously" block under the "Control" category so that we will cycle through a loop that repeats continuously. Now we will add our light codes into the "repeat continuously" block. Under the "Light / Sound" category, we will add two the "make RGB [Red] color" block. I'll select blue by clicking on the red color in one of them. Now, when we press the "►" key, the code we write will be sent to the Makey Oz+ module and the code will start to work. Since we continuously switch between blue and red in the code we write, we get a light like a police car light.
Now that we have our police light, we'll play songs with the Makey Oz+ module. Let's connect the buzzer to the D1 / TX output of the Makey Oz+ module. Remember that you can only use the D1 / TX output to play songs with the buzzer module. Now let's simply write the code that will play our song. On the block of "repeat continuously", we drag the codes that we have written about the RGB LEDs to the symbol of trash can. Let's take the "Mission Imp Socket: D1" block from the top under the "Light / Sound" category. When we press “►” the key, Mission Impossible song will play from the buzzer. We can choose another song we want by clicking on the name of the desired song.
We have tried the output modules with the Makey Oz+ module. Now let's try how the input modules work. For example, let's write a code that will burn the red lights on Makey Oz and then play music when we press a button.
We use the block code of “if …do …” for performing style command like “do something when something happens” when writing a code. We write the condition into part of “if” and the event that happens when the condition is satisfied into the part of “do”.
Now, under the "Control" category, take the "if ... do ..." block and put it into the "repeat continuously" block. To read the value from the button, you should combine the "read button Socket: ..." block under the "Detect" category with the “if” part. Then we need to choose which socket we've attached button to the Makey Oz+ module. We choose D0 / RX socket because we connect with it. In the "do" section, we write the events we want to happen when the button is pressed. We want to play the song "Mission Impossible" after the RGB LED turns red for 1 sec. Drag and combine their code blocks. Then press the “►” button to start our code and, the RGB LED on the Makey Oz+ module will flash for 1 sec and then the song will start playing when we press the button.
With the Makey application we have tried simple modules by using the Makey Oz module. It's that simple to write code. Now it's your turn. Now you can start to develop different projects using motors, other sensors.