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

Advertisements

ProCodeCG – BDV – codeMeetUp() #114 & #115 IoT Series Day #2 & #3 – 13 Nov 2017

Standard

codeMeetUp() #114 and #115 in a row 🙂

IMG_1897 IMG_1898

We continued the lesson last week 🙂

IMG_1899

We had this awesome kids again in this class yaaay 🙂

IMG_1900

IMG_1901

Today we finished the setup and started to connect ESPectro to DHT22 temperature and humidity sensors

IMG_1902

IMG_1903 IMG_1904

IMG_1905

Took some time to download the libraries

IMG_1906

IMG_1907

We finally got the reading of the sensors

IMG_1908

IMG_1910

IMG_1912

And connect it to the cloud 🙂

IMG_1911

Next week we will learn more 🙂

 

ProCodeCG Kids Regular Coding Class – ESPectro Programming – 11 Nov 2017

Standard

Hello from our kids regular coding class 🙂

IMG_1715

Today we only had one kid doing ESPectro Programming: Ozaaaaan 🙂 😉

IMG_1718

Ozan had to continue his project: ultrasonic with buzzer and LED 🙂

IMG_1719

We changed the plan a bit: the buzzer will beep each time the ultrasonic detects something, not when the counter reaches a certain number

IMG_1721

Ozan had to rewrite the code by combining several files together 🙂

IMG_1722

It didn’t work so Ozan had to try ultrasonic only with buzzer, without LCD to see if it works. Then attaching the LCD after that 😀

IMG_1733

Hang on Zan, you can do it! LOL 😀

IMG_1740

We still have next week! 😉

ProCodeCG – BDV – codeMeetUp() #113 IoT Series Day #1 – 6 Nov 2017

Standard

Today ProCodeCG and BDV started Day #1 of codeMeetUp() IoT Series 🙂

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

Today we learned some intro about IoT, take a look at some devboards and sensors

IMG_1346 IMG_1347

We used devboard from DyCodeX: ESPectro ver 3 🙂 It is available on Makestro Shop 🙂

IMG_1348

and then started to install Arduino IDE, drivers and ESPectro Libraries

IMG_1349

As usual, the beginning is always painful because it takes time to download the libraries, and do the setting 🙂

IMG_1350 2

We had kids in the class too 🙂

IMG_1351 2

IMG_1357

Everybody seemed to have fun, despite of the obstacles (different on every OS :D)

IMG_1352 IMG_1353

IMG_1354

The first group successfully installed ESPectro library and make the LED blinks, plus turned neopixel off. They were given task to make neopixel blink but time was up so we had to continue next week 🙂

IMG_1355 2

ESPectro32 is already available on Makestro Shop, to those who are interested 😉

IMG_1356

See you next week 😉

ProCodeCG Kids Regular Coding Class – Arduino/ESPectro Programming – 4 Nov 2017

Standard

Hello Saturday 🙂 Always looking forward to see kids coding in our class 🙂

Morning prep 🙂

IMG_1170

IMG_1171

Ozan continued working on adding buzzer to his ultrasonic counter

IMG_1174 IMG_1179

Ozan had to check simple buzzer code to be added to the new code

IMG_1181 2

IMG_1182 2

Took a lot of effort because the same problem occur: the ultrasonic counter doesn’t work with buzzer added

IMG_1191

Nafis was back 😀 He’s doing the same project as Ozan and Reza

IMG_1183

And Nafis agree to start it all over again and add the components one by one, using ESPectro 🙂

IMG_1186

Reza helped to make Nafis’ work

IMG_1190

And after the ESPectro shut down for several times due to wrong polarity, it finally worked 😀 but not yet with buzzer and LED 🙂

IMG_1197

The most mysterious thing is that Reza’s wouldn’t work

IMG_1180

It took Reza hours to debug

IMG_1184 2

He changes the components to find the problem

IMG_1218

Still didn’t work, so we decide to take Ozan’s to be tested on Reza’s code

IMG_1192

And yes it worked 😀 So we combined Reza’s code with Ozan’s board and it worked well 😀

IMG_1229

We’re still curious to find out why Reza’s didn’t work (but at least he has a code that worked well). Reza is a very persistence kid. Won’t stop until it’s done 🙂 Now to buzzer will beep when the count reaches 20 🙂

IMG_1239

Next week we will add LED to it 🙂

IMG_1240

ProCodeCG Kids Regular Coding Class – Arduino/ESPectro Programming

Standard

Our Arduino/ESPectro Programming class today 🙂

IMG_0708

IMG_0728 1

One of our extension cable didn’t work so Capt. Awa opened and checked it with voltmeter 🙂

IMG_0715

He found the source of problem and fixed it 🙂

IMG_0716

Took extra patience and some amount of perseverance to do this kind of job 😀

IMG_0717

IMG_0724

It took lots of positions too 😀

IMG_0725

And finally after several testing, Capt. Awa officially announced that the extension cable was working properly and ready to be used. Thanks so much Capt.!

IMG_0733

After got his technical support job done, Capt. Awa got back to his sonar project 🙂 He was experimenting with Parallax
IMG_0711//embedr.flickr.com/assets/client-code.js

IMG_0722

and its standard servo 🙂

IMG_0723

the ultrasonic was mounted on top of the servo

IMG_0778

Capt. Awa teamed up with Clarence because Clarence will develop the code to display the reading from Awa’s sonar system to a TFT display

IMG_0734 1

IMG_0735 1

A really great teamwork 🙂

IMG_0756

Clarence also has his own project, sorting algorithm visualization

IMG_0741

He added more features including serial monitor commands to run the sorting using any chosen algorithm

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

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

IMG_0755

IMG_0772

Then he started working on ultrasonic

IMG_0790

and the reading worked just fine

IMG_0787

IMG_0788

IMG_0789

Next is to add micro servo  🙂

IMG_0792

Ozan was still struggling with adding buzzer to ultrasonic counter

IMG_0727

The ultrasonic counter worked fine until he added a buzzer 😀

IMG_0720

We’ve done lots of debugging and try-and-retry attempts but it still didnt’ work 🙂 Have to try again next week 🙂
IMG_0730

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

After the class: kids just wouldn’t stop 😀

IMG_0798

Friendship scenes after the class 🙂

IMG_0800

IMG_0795

Capt. Fizhan (corner) was given a project to design a logo for Bu Rieny (Coding Mom Batch-3) with Wibi (middle) and Ozan (right) accompanying 🙂

IMG_0796

Will be reporting more excitement next week 😉

ProCodeCG Kids Regular Coding Class – Arduino/ESPectro – 21 Oct 2017

Standard

Our dose of coding every Saturday 🙂

IMG_0245

Cinta spent 2 sessions continuing her Arduino schematic design and simulation using Proteus 🙂

IMG_0243

She tried several designs and with different components

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

IMG_0249

Proteus provides library of components so it is very helpful 😉

IMG_0277

Nafis was back after a while, and he was working on adding buzzer and LED to ultrasonic counter

IMG_0250 IMG_0252

Nafis refused to connect and test the components one by one; instead he put all components and compile to see what happened 😀 Still not working and he has to debug it on the next class 😀

IMG_0274

Nafis little sister, Nayla liked to play with the components (she refuse to be photographed :D)

IMG_0254

IMG_0266

Awa came with a new toys: Arduino Parallax 😀

IMG_0256

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

Awa was given a task to create a radar with ultrasonic and microservo and he started with this one 🙂

IMG_0257 IMG_0258

Awa is fully supported by mom and sister 🙂

IMG_0264

IMG_0261

And Clarence joined in 😀

IMG_0315

These two have their own connections

IMG_0314

making a great team 😀

IMG_0316

Clarence started to tinker with Parallax code 🙂 He was previously given a task to process data from sonar reading and display it to a TFT screen

IMG_0317

Reza was doing the same thing as Nafis but he did it differently: he puts one component at a time and tests it one by one

IMG_0259

IMG_0282

Reza is one very focus and determined kid 🙂

IMG_0318

He kept trying

IMG_0319

IMG_0322

And the time’s up when he was almost finished. The buzzer won’t stop beeping 😀 Next time he has to modify the code so the buzzer will only beep when the counter reaches some certain number 🙂

IMG_0299

Capt. Awa on duty 😀 Blurred pics because he moved so fast! 😀

IMG_0324

Thanks so much Capt. Awa :* ❤

IMG_0325

See you next week 🙂