ProCodeCG – Kids Private Class – Basic Electronics – 11 April 2019

Standard

This is our plan for today: creating a timer with 2 or 3 buttons 🙂

IMG_9372

Tyo is so ready 😉

IMG_9373

It requires lots of coding modifications

IMG_9375

IMG_9376

The wiring is ready but not yet the coding

IMG_9377

We added more details and features

IMG_9379

We still have to fix the information printed to the display

IMG_9380

and the third button is still not working

IMG_9383

We should add clear display in the loop so it wouldn’t get overlapped characters like this

IMG_9385

the up and down button is working well

IMG_9388

IMG_9390

We will deal with the third button on the next class 😉

*Photos and videos are also available here

Advertisements

ProCodeCG – BDV – Technical Series #8 – Machine Learning Object Detection with YOLO – 8 April 2019 – Day #2

Standard

Day #2 of deep learning with YOLO 😉

 

photo6149951813193935070

photo6150062494501152960

Today we will test object detection with darknet and darkflow configuration

photo6150062494501152961

It of course took a lot of effort and resources (in terms of time and computational resources :D)

photo6150062494501152962

Every participants are free to decide darkflow or darknet. But both implementations are expected.

photo6150062494501152963

photo6150062494501152964photo6150034358170396903

photo6150062494501152965

photo6150062494501152966

photo6150034358170396905

photo6150062494501152967

photo6150062494501152970

photo6149951813193935074

photo6149951813193935075

photo6150062494501152972

photo6149951813193935078

IMG_9223

IMG_9224

IMG_9225

Some of the participants use Google Colab so they can make use of the GPU 😉

IMG_9228

IMG_9229

An example of the object detection we learned today 🙂

Screen Shot 2019-04-09 at 15.50.39//embedr.flickr.com/assets/client-code.js

predictions//embedr.flickr.com/assets/client-code.js
 

*Photos and videos are also available here
Most of the photos are courtesy of Telkom Bandung Digital Valley

ProCodeCG Kids Regular Coding Class – 6 April 2019

Standard

Saturday’s Coding Squad 🙂

IMG_9014

Capt. Faris is given a project to detect hoax and real news

IMG_8976

plus investigating the neural nets architecture being used by our machine learning platform

IMG_9039

The codes

IMG_9040 IMG_9052

Hafiz’s Plant vs Zombie Game is getting better and better 😉

IMG_8977 IMG_8981

we need to add lots codes to add more features to the game

IMG_8990 IMG_8991

IMG_8993 IMG_8994

Now the game has the randomly generated points (the yellow dots)

IMG_8998 IMG_8999

it also now has flowers that can shoot peas 🙂

IMG_9033

Hafiz has to repeat the process for lots of sprites

IMG_9035

and then define scoring and rules of the game. Lots of hard work but fun 🙂

IMG_9053

Sulaiman is going to choose his own project today 🙂

IMG_8978

We borrowed Aidia’s book to find a suitable project for Sul 🙂

IMG_9004 IMG_9003

IMG_9006 IMG_9010

IMG_9012

After a while, Sul finally chose this one 🙂

IMG_9013

The result 🙂

IMG_9026

and then Sul started to create running text structure like Capt. Awa was doing earlier

IMG_9055

Syadad started creating games today 🙂

IMG_8979

The first sprite

IMG_8986 IMG_8987

Object movement test

IMG_8989

The other sprite to be eaten by the first sprite

IMG_9005

room setup

IMG_9017

Yayyy, Syadad’s first game 🙂

IMG_9037

more object arrangements and background

IMG_9042

We will add scoring in the next class 😉

IMG_9050

Aidia is improving her sophisticated locker system design 😉

IMG_8980 IMG_8984

Aidia added more structures to her world

IMG_8985 IMG_8988

She brought some books for references

IMG_9009

So whatever Aidia created in her world is pure her creativity; she combined lots of ideas into unique structures

IMG_9028

IMG_9034

Capt. Awa asked for a challenge and so the challenge was creating a running text structure

IMG_8983

No one has ever created this before because of it’s tricky nature. By using piston the furthest shift is 7 blocks

IMG_8995

But Awa wouldn’t be a Captain if he wasn’t qualified 🙂 He brilliantly overcome the limitation by making it circular 🙂

IMG_9020

The structure. Unbelievable. Impressive. Outstanding. 🙂

IMG_9022

Awa tried several structures before finally found the correct one

IMG_9023

Minecraft can be used to learn many things including logic, problem solving, creativity, including mechanical structures and electronics logics 😉

IMG_9025

Experimenting with the machine

IMG_9032

adding shield to make it waterproof 😀

IMG_9054

Andra is still going through the intro to coding 🙂

IMG_9008

Today he learned about function through pattern

IMG_9018

IMG_9019 IMG_9029

And then moved on to more challenges. Next week Andra will learn visual coding with actual coding scripts 🙂

IMG_9031 IMG_9049

*Photos and videos are also available here

ProCodeCG – Darul Hikam – Kids Coding Class – 5 April 2019

Standard

Today we started to prepare projects for the end of semester 😉

IMG_8936//embedr.flickr.com/assets/client-code.js

Daffa collaborates with Arsa creating a new game with GameMaker

IMG_8874

Daffa created some of the sprites

IMG_8910

and the objects to make them move

IMG_8911

IMG_8923

and also created some of the backgrounds

IMG_8925

but Daffa is very interested in learning basic electronics. Next class he will be given a basic electronics project 😉

IMG_8929

Arsa teamed up with Daffa

IMG_8875

designing a new interesting game 😉

IMG_8900

the game will be in night and day mode 🙂

IMG_8914

Arsa had mastered the basics of creating games so he can make any games he wants

IMG_8915

but in the middle of process, Arsa wanted to explore about basic electronics, because it looks really interesting 😀

IMG_8926

Arsa learned about basic components and how to use a multimeter 😀

IMG_8933

Capt. Bullitt is ready for the duty today 🙂

IMG_8876

The project for the end of semester: a smart trashbin 🙂

IMG_8889

Capt. Bullitt is responsible to lead the project, and make sure the team give the expected results 🙂

IMG_8928

Hanif is going to make v2 of his game

IMG_8877

the v1 is working with some bugs so we are going to modify it and see the result

IMG_8896

IMG_8897

we’re going to implement different methods in spawning these pipes

IMG_8902

Arsa visited Hanif offering himself to test the game 😀

IMG_8907

IMG_8912

IMG_8919

We are definitely testing every step and make sure we didn’t miss any configurations that work well in the previous version

IMG_8930

Andra is also preparing the project for the end of the semester

IMG_8880

Andra will modify and upgrade his game

IMG_8908

IMG_8917

IMG_8918

IMG_8931

Faisal is doing the same project as Isma’ill and Danen: creating a Smart TrashBin

IMG_8881

Faisal is responsible on drawing the design

IMG_8893

The picture will describe how the project works 🙂

IMG_8916

Isma’ill is responsible for the code and make sure works

IMG_8882

Teamwork 😉

IMG_8885

IMG_8905

The stuff for the project

IMG_8921

The code

IMG_8924

debugging the code

IMG_8932

Danen is responsible for installing the components

IMG_8884

IMG_8892

Look at those happy faces 😉

IMG_8898

Danen has successfully installed the ultrasonic sensor and the microservo

IMG_8904

Later we can use a more proper box but the target is to make it work 😉

IMG_8906

Khalis had learned so much about creating games

IMG_8887

and this is his project for the end of the semester 😉

IMG_8890

IMG_8891

IMG_8899

IMG_8901IMG_8903

Wow almost finished 🙂 We’re going to finished it up next week 😉

IMG_8935

*Photos and videos are available here

ProCodeCG – Kids Private Class – Basic Electronics – 2 April 2019

Standard

Tyo couldn’t wait to continue his timer project 🙂

IMG_8822

but we have to do it step-by-step: installing and testing the components separately and make sure they are working properly before assembling them into the final project.

The first one to test is the button for setting up the timer

IMG_8824

ok buttons for setting up variables are working

IMG_8825

next is designing the view 🙂 Tyo wants to have scrolling text so we test the scrolling function

IMG_8828

this one is also working

IMG_8830

the next is to set up multifunctional button for starting and stopping the timer

IMG_8832

Tyo had to do lots of modifications to the code, and his skill and experience in Java programming comes in handy 😉

IMG_8833

Next week we’re going to put all together 🙂

*Photos and videos are also available here

ProCodeCG Kids Weekdays Coding Class – 4 April 2019

Standard

Midweek coding time 😉

IMG_8800

Abil executing the plans from last week

IMG_8801

including adding more backgrounds

IMG_8805

IMG_8804

IMG_8808

and sprites

IMG_8810

and the list of assets keeps expanding 😀

IMG_8816

Abil’s game now is a multiplayer game 🙂 We’re still figuring out how to display two different scores 😉

IMG_8815

Kinan has great plans too

IMG_8802

Kinan made a very detailed and nice background

IMG_8806 IMG_8807

and going to make the characters being able to jump from one world to another 🙂

IMG_8809 IMG_8812

She added more characters and interactions, making the game more complex but that’s good 😉

IMG_8817

There’s no way to create a good game in a short time, we’re still going to work on this game next week 😉

*Photos and videos are also available here

ProCodeCG – Kids Private Class – Machine Learning – 2 April 2019

Standard

The last class Reza had learned to create a chatbot 🙂

IMG_8715

Today we will create a hoax headline detector with deep learning 🙂

We entered 15 datasets for each category

Screen Shot 2019-04-02 at 11.11.47

we trained it with 11 hoax data and 15 real data, the result is “Donald Trump is ready for a nuclear war” is hoax with 62% confidence 🙂

Screen Shot 2019-04-02 at 11.22.33

with 15 hoax data and 15 real data and then retrained it and the result is “Donald Trump is ready for a nuclear war” is hoax with 86% confidence 🙂

Screen Shot 2019-04-02 at 11.32.16

“North Korea and South Korea agreed to attack United States” detected as real with 67% confidence

Screen Shot 2019-04-02 at 11.33.05

“Donald Trump is going to commit suicide” detected as hoax with 89% confidence

 

Screen Shot 2019-04-02 at 11.32.30

IMG_8716

IMG_8717

The code in Scratch

Screen Shot 2019-04-02 at 11.46.25

Screen Shot 2019-04-02 at 11.47.54

Screen Shot 2019-04-02 at 11.49.35

The code in Python

Screen Shot 2019-04-02 at 11.56.28

Screen Shot 2019-04-02 at 11.36.50

 

Screen Shot 2019-04-02 at 11.56.45

with very small number of datasets, the result is quite amazing 🙂 We will investigate further and do some improvements later 🙂

*Photos and videos are also available here