ProCodeCG Kids Regular Coding Class – 24 Feb 2018

Standard

It was a wet and cloudy morning but kids kept coming to the class, thanks! πŸ™‚

IMG_9657

We had a visitor today: Ibu Inge Halim –Β General Manager, Banking and Financial Markets, IBM Indonesia πŸ™‚ (on the left, in khaki blazer)

IMG_9694

Capt. BR brought her to see how kids learn and do coding πŸ™‚

IMG_9695

f594126e-f78e-45a2-ae96-759c47144561

She was amazed to see the demo of Koosha’s elevator simulation πŸ™‚

196d1e04-d5c6-4085-a9a5-17a45c2c5f77

Bu Inge took a look on what each kid was doing in the class, including Cinta’s πŸ™‚

907d67db-d016-437d-a8c6-348c5f063292

So here’s the detail of what the kids were working on today πŸ™‚

Ozan was going to control LED brightness via cloud

IMG_9658

First he had to try to control the brightness of the LED using potentiometer

IMG_9663

IMG_9664

IMG_9689

But there was some problems because the potentiometer didn’t seem to work to adjust the LED brightness

IMG_9670

We had replaced the potentiometer and it still didn’t work. Will sort this out next week and as the problem is solved we’re going to control it via MQTT Dash app from Ozan’s android phone πŸ™‚

IMG_9678

Our newcomer: Fathan πŸ™‚ *he was waiting for internet connection before he can start the lesson πŸ˜€

IMG_9659

Fathan finished learning Python with CodeCombat today

IMG_9661

And then Capt. Azriel helped him getting started with GameMaker

 

IMG_9705

Yeeay Fathan’s first game πŸ™‚

IMG_9686

Very well done, Fathan πŸ™‚ Thanks to Capt. Azriel for the assistance πŸ™‚

IMG_9698

IMG_9700

IMG_9701

IMG_9702

Nafis (in the corner) checked his MQTT Dash App to be tested today. He forgot to bring his laptop charger so we have to use another laptop to test it πŸ™‚

IMG_9660

Nafis task was to turn on/off a LED via cloud using his android phone

IMG_9690

and after several attempts, it worked πŸ™‚ With the help of Ka Ozan *because he had gone through the same thing a couple weeks ago πŸ™‚ Thanks Ka Ozan πŸ™‚

IMG_9706

Nafis satisfied look and his sister cute making faces LOL

IMG_9709

Cinta was making her idea into reality: creating a random topic generator πŸ™‚ She is going to create it in Python and then with Thunkable

IMG_9662

We also had students from Telkom University School of Economy and Business, interviewing the whole class about ProCodeCG πŸ™‚

IMG_9667

And Cinta showed them some of her most awesome works πŸ˜‰

IMG_9673

Capt. Syahna arrived and Cinta happily discuss her ideas to her because it was their ideas together to create this random topic generator πŸ™‚

IMG_9710

Capt. Faris, like usual, working on the research: data crawling and tensorflow πŸ™‚

IMG_9665

76884649-1751-4a45-bd94-edfcca7e749b

He said we need to improve the learning process because the result for certain images is like this

IMG_9696

The trend of the image recognition

IMG_9697

Vian and Ain (Ain sit on Vian’s right and we missed taking his pic today :(( ) were still doing their Minecraft Skin project together πŸ™‚

IMG_9666

Koosha worked on loads of thing πŸ˜€

IMG_9668

He determined to make his elevator simulator works πŸ™‚

IMG_9672

IMG_9676

Koosha rewrote the code

IMG_9713

IMG_9677

IMG_9680

and checked again the circuits

IMG_9681

IMG_9682

And it worked πŸ™‚ Yaaay well done!

IMG_9684 2

IMG_9692

Then we added LCD to display the info about the elevator

IMG_9712

There were still some glitches but we will work on it next week πŸ˜‰ So far it’s been a huge progress today πŸ˜‰

IMG_9714

Azriel was given a new challenge: to create a running text in Minecraft

IMG_9674

but it was too hard so we changed it to creating elevator πŸ™‚

IMG_9675

like always, Azriel found each and every way to do it πŸ™‚

IMG_9687

The elevator

IMG_9688

that goes up πŸ™‚ We’re going to find out how to make it move in both directions πŸ˜‰

IMG_9691

That’s it for today! Will be reporting again next week! πŸ™‚

 

 

 

 

 

 

 

 

 

 

Advertisements

ProCodeCG Kids Regular Coding Class – 27 Jan 2018

Standard

Hello from our kids regular coding class πŸ™‚

Earlier, only a few kids

Untitled

Untitled

later…

Untitled

Today we’re thinking about designing an automatic folding table πŸ™‚ We sketched some designs πŸ˜‰

Untitled

Capt. Awa was assigned to create a prototype πŸ˜€

Untitled

But Awa wanted to do his trashbin project πŸ™‚

Untitled

He wanted the LED to be activated each time the ultrasonic sensor detect something

Untitled

 

Untitled

Yep it worked πŸ™‚

Untitled

Awa was also exploring the buzzer to do some morse πŸ™‚

Untitled

And after a while discussing about the folding table prototype, Awa chose to collaborate with Ain, doing the prototyping in Minecraft πŸ˜€ πŸ˜€ πŸ˜€

Untitled

Untitled

Ain was given several challenges to create in Minecraft. He was paired with Awa to connect Minecraft to the outside world πŸ™‚

Untitled

Ozan started to install MQTT Dash on Android and MQTT.fx on Mac because he’s going to learn some IoT implementation πŸ™‚

Untitled

We got Sulaiman exploring his Minecraft Modding skills

Untitled

 

Untitled

Untitled

Sulaiman is very generous and kind kid πŸ™‚ He voluntarily helped others (Kinan on the left, Silmi on the right)

Untitled

Sulaiman is going to be a good Captain one day πŸ™‚

Untitled

Untitled

Capt. Azriel (left) helped too

Untitled

Today we got two newcomers: Silmi

Untitled

and Kinan

Untitled

They both went through intro to programming

Untitled

Untitled

And after they finished the first part

Untitled

Untitled

they started the next

Untitled

Untitled

Vian still so into Minecraft command block, he created lots of stuff in there

Untitled

Untitled

Untitled

Untitled

Untitled

Untitled

Untitled

Nanin continued to learn how to make a website πŸ™‚

Untitled

under Capt. Azriel supervision

Untitled

Untitled

Untitled

the temporary result πŸ˜‰

Untitled

Nanin also designed some header for the website by herself πŸ˜‰ Very nice πŸ™‚

Untitled

Capt. Faris was very busy with his project

Untitled

Untitled

Untitled

Using OpenCV to recognize objects in video

Untitled

Last week we had already successfully recognize objects on images, along with the numbers of the objects. Today we use videos instead of images

Untitled

Untitled

the processing using matrices

Untitled

The first video (recognized the object as bear: 94%

Untitled

Untitled

person:59%

Untitled

the second video (we’d like to know if the system could recognize a human being upside down :D)

 

Untitled

Untitled

Yes it recognized this one as a person πŸ˜€

Untitled

Will do more experiments on this one next week πŸ™‚

 

 

 

 

 

 

ProCodeCG – BDV – codeMeetUp() #116 IoT Series Day #4 – 20 Nov 2017

Standard

The last day of ProCodeCG – BDV – codeMeetUp() #116 IoT Series πŸ™‚

ProCodeCG - codeMeetUp() #116- IoT Weather Programming Series 4:4 - small

Today we made sure everybody could follow what have been learnt in the previous class

IMG_2541

IMG_2542 IMG_2543

IMG_2544 IMG_2545

IMG_2546

After we’re sure that everybody can gather data from temperature and humidity sensor, we moved on to connecting it to the cloud

IMG_2547

IMG_2548 IMG_2549

Then we learned IoT & MQTT

IMG_2550

And experimenting with publishing and subscribing to MQTT πŸ™‚

IMG_2551

We can do it from mobile apps too πŸ™‚

IMG_2552

We can control (and being controlled LED) of any ESPectro subscribing to “led1” topic and can send and receive text to anyone subscribing and publishing to “pesan” topic

IMG_2553

IMG_2554

At the end we learned to continuously publish data to MQTT, and the next step is to send temperature and humidity data

IMG_2555

This us πŸ˜‰

IMG_2556

Thanks so much all, thanks so much BDV, see you again soon with different topics πŸ™‚

IMG_2557

ProCodeCG Kids Coding Camp – IoT Programming – Day #3 – 24 June 2017

Standard

IoT Programming Coding Camp Day #3 πŸ™‚

Today we connect to a MQTT server to be able to publish and subscribe to a topic so we can control our ESPectro remotely via cloud πŸ™‚

We connected to a MQTT server running on one of the computer of the class and also connected to an online MQTT server πŸ˜‰

IMG_2259 IMG_2260

IMG_2261 IMG_2263

IMG_2265 IMG_2266

IMG_2267 IMG_2268

IMG_2269

We can control the ESPectro via mobile too πŸ™‚

IMG_2273

IMG_2274

The lessons today required hard work and patience πŸ™‚

IMG_2278

IMG_2279 IMG_2281

IMG_2282 IMG_2283

We code till we drop LOL

IMG_2284

Some screenshots:

connecting to an MQTT server (local)

Bildschirmfoto 2017-06-24 um 9.32.55 AM Bildschirmfoto 2017-06-24 um 9.52.02 AM

Sending command to ESPectro to turn the LED on/off

Bildschirmfoto 2017-06-24 um 10.03.05 AM

connecting to broker.hivemq.com

Bildschirmfoto 2017-06-24 um 10.47.05 AM

publishing message with command prompt

Bildschirmfoto 2017-06-24 um 10.14.31 AM Bildschirmfoto 2017-06-24 um 10.53.50 AM

MQTT dashboard

Bildschirmfoto 2017-06-24 um 10.56.33 AM Bildschirmfoto 2017-06-24 um 12.40.47 PM

We’ve learned so much today, we deserve certificates πŸ™‚ Yaaay πŸ™‚

IMG_2285

Picking up after ourselves πŸ˜‰

IMG_2287

IMG_2289

Can’t believe coding camp is over πŸ™‚ See you again soon and happy holiday πŸ™‚

ProCodeCG codeMeetUp() #90 – BR – IoT and MQTT

Standard

The topic for today is how to connect IoT to cloud, by Prof. Budi Rahardjo πŸ™‚

IMG_0568

The preparation before presentation and demo. Making sure internet connection was stable πŸ™‚

IMG_0569

IMG_0570 IMG_0571

What is MQTT?

IMG_0572

Concept of Queue

IMG_0573

The audience (a few more were coming late)

IMG_0574

Example of queue system is RabbitMQ

IMG_0575

The stuff for demo

IMG_0576

Pak BR used DyCodeX Espectro because it already has wifi module on board πŸ™‚

IMG_0577

MQTT communication model

IMG_0580 2

Brokers. The open source one is Mosquitto

IMG_0581

IMG_0599

Starting up Mosquitto

IMG_0582

subscribing to HiveMQ

IMG_0583

The client

IMG_0584

The code

IMG_0585

It worked just fine, with DyCodeX Espectro πŸ˜‰

IMG_0587

Compiling code with PlatformIO

IMG_0588

The topic can be subscribed from an Android phone with MQTT apps. Look on the right, when the publisher send a message to turn on/off the LED, Espectro LED on board will be on/off and the switch on Android will be checked/unchecked.

IMG_0594 2

The code can be in Python too πŸ™‚ With paho library

IMG_0595

The code can be compiled with Arduino IDE too

IMG_0596 2

IMG_0597 IMG_0598

We learned so much thing today πŸ™‚

IMG_0600

After class, we tried to set up a publisher and subscriber on Android phones

IMG_0602 2

Yea it worked πŸ™‚

IMG_0603

The phone on the left is publisher and the right one is subscriber. Notice that the right oneΒ display anything inputted by the left one πŸ™‚

IMG_0604

With this platform we can create so much things! Will be reporting more updates very soon πŸ™‚