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 πŸ™‚

 

 

 

 

 

 

Advertisements

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 πŸ™‚