 Cool, so it's 10 30 so we can start. Okay, so next up. We have Danny and it's going to be talking about tiny go And how to build toys with tiny go and lots of hardware. So run up us for him, please Oh, I'm Daniel Esteban also known as Conejo and I would talk today about building toys or games devices With tiny go and a maker. It's like I make things on my free time usually involving electronics and Maybe you are asking what what is tiny go tiny go is not a soup set or a super set of go It's the same language. It's just a new compiler that's target and very very a small place We release version 0.12 two days ago If you want to know more about tiny go you could check the link there About the last year at first then also talk from Ron Evan and No, we are a sponsor By Google when I talk about a small places. I talk about this kind of microcontroller Like they are really small Maybe you should see this son of you, but it's like Arduino BBC micro bit son of the other for it like it's a bitchy or a secret plate Playground spray tiny go also compiles your go program To smartwatches like the pint time Just go to the AW building and Check the pine 64 booth stand they have there We have super for several all the devices sensor and actuators like a RGB LEDs real time clock humidity temperature sensor sound light sensor this time all the scenes and also a Lot of these place if you don't have any bar or a jet or you don't have any Devices to play you could we also have a playground with we simulate Son of the bar and you could try tiny go without installing anything on your computer. So What are you going to see today? Well son a small toys some fun to make project that you could do at home All the information is on the slide. I will blow up later I will just go over the highlights or the main different part that you need The very basic you need to make this project So the first one is the go first day. I don't know if you know that This game is called Simon sometimes like it plays Different tone and lights a different color and you need to match that color And it will be going a longer sequence each time you For the Simon it's very simple. We'll only use three buttons and three EL LED and some printer par and I will just use an other fruit background express Which is This little more or go code we start with the import we just need to import the main package The machine package Which is a special one to talk to the hardware and we also Are going to import like tiny go dot or X driver buzzer, which is to make sound To set up the the LED We just define an LED like image in dot a one or a True or maybe the 12 because it's the pin number on your board We configure it as an output pin here and to enable the LED is a simple as LED dot high or LED Dot low to disable it for the three buttons. It's very similar also but instead of output we configure them as an input and Just to check the status of the button is expressed or not. Yes, we do button dot get and it will return True false for the buzzer, which is a small speaker that makes sound Again, we define the buzzer pin we Configure it as an output and then we create a buzzer device and To play a song is as simple as Just call the function tone with a note and a duration of that note The rest of the code is your normal go code. There is no difference dear there and Since it's a bit a little longer than I wanted to I will not so but it's already in the slide And in did have to check it, but you will check is the same It's the same as go and it's no difference To flash it on your board. So it's program. You usually just connect it to your computer and Normally is you press double press the reset button. So It's your the war in this case the secret playground express enter The programmable state and Then it's I'm sure and I don't know how to change now I could make bigger Yeah So to flash it is just as simple as tiny go flash you specify your target in this case the secret player and play express and The code you are going To flash we wait out little and now He has a battery so and now we have our go program here It would play and it will go longer and longer. It's For the next one I Don't know probably, you know the game called punk It's sometimes it's a hockey game We just need display this one is not so tiny it's a little bit Actually, this is one like you could put one Several together and make those big billboard on the street or in the stadium It's supported by tiny go and also for this case I just add a real time clock so actually the game is playing itself while Showing the hour and when it's time one player or the other will lose For the game, we just need two percent geometry. I use it then as knob here They are analog input. We also use that huge LED matrix and in this case I choose an Arduino nano 33 IOT and as I said a real-time clock optional Again, the the import part is you just need to import the machine package The driver for the hub 75 which is the LED matrix driver for the real-time clock And the tiny phone package which is Special package also let's allow us to draw text on every tiny go display supported for the analog input It's very similar as the bottom of the previous example in this case We need to initialize the analog to digital converter, but the same is we just choose a Pin and configure it and instead of true false now. We are getting an integer variable Depending on the value of the analog For the screen also quite simple we just will be fine serial peripheral interface spi interface for the screen and We create a hub 75 which is the screen device We make some configuration of the displays, but then we just call like we could change each pixel with set pixel That's the XY coordinates and the color again. You write the rest of the code you Put it in a boot load model and flash it there you have it here for the real-time clock again In this instead of SPI interface and I to see We configure it and we just use like You will see I mean you are seeing that this is normal go code for a third project We could make a portable game console You have some option this is all we are also using this as a batch. It's a little blurry. Sorry I put the GIF there because better You have several options here. You could make a homemade one with a spare part you have Or you could buy us There are some more like this. This is a pie batch, but there are also pay Gammer or each batch like more or less as long as it has an display and some buttons you could make your own games of course, if you want something More professional looking you could use a Gameboy advance because actually It's right We ask Compile a go code and it's running on a Gameboy advance. I Cannot tell you exactly how You should put your Venerable is there. Maybe it's not really legal but and for your games you could use tiny draw it's a package to make simple primitive on every Screen that it's supported by tiny go right now We also have tiny form which is to write Text on the displays also the last two projects. I like a lot. They are community project They are also open source and open hardware The first one is called a scorn about which mean beetles And it's a educational robot similar to Bebott or a cubeto and it's great and I mean it's been used in a school right now to Introduce young children into programming Children are not programming the robot itself, but There that's just Using the top buttons here to make the robot move or turn it doesn't that much just You the children clicks the button like move forward one step or two steps Then turn right then go backward as I said, it's been used and in a school If it's not the score now, but it's usually the bebott or cubeto They have several different activities with them for the robot You just the most important is like you just need two stepper motor five buttons One bathroom to make sound which is optional some 3d-painted bar and microcontroller The different I mean that we already see how to use the button and the only addition to this project is the use of two motors With the easy stepper driver in this case if you have one motor is just create a new Step is easy stepper device Just configure and just tell the motor to move 200 step, but we have to so instead we use easy stepper new dual device and Just tell them move Again with last decode and see in action in this case It's a little golfer So we just tell them to go forward Turn right and then come back because and it's moving The last project is possible my favorite It's called open LED rays. It's also a community project. It's open store and open hardware You just create a racetrack with our LED strip and Then make the different LED move I mean you simulate arrays With any input for this you need an other stable LED strip Anything as an input and Just a microcontroller the only difference here is the WS 2812 which is the LED strip Yes, select the pin for the output. I create a new device and You just write the color you want to appear on the LED strip. I will need two volunteers that want to compete in the game and Just win some hardware. We have to give away. So if you know how to click a button, please Write your hand Just check you okay again Since it's an open hardware project and community driven I said you could use anything as an input. So People is doing different kind of thing We just simulate the track In this case on the left picture you could we who simulate the gravity so we are creating a virtual slope that will slow your car and on one side and Speed it up on the other also in this case Arduino Nano has our Wi-Fi chip. So Why not add Wi-Fi to our project and have telemetry data like the professional and if the Wi-Fi works Maybe you are going to be the red golfer you are going to be Wait Okay, wait a moment Okay, it's too much Yeah, wait, I Don't know if the Wi-Fi working, but we'll see Yes, oh, it's not working, but press the button. Yes for both of you There's an Arduino Nano. It's compatible and you could make this. So As he said everything is here being is here all the Project just you are working and Aaron did have right now and If you just like Join us up tiny go Channel of select. Thank you