Showing posts with label ledcube. Show all posts
Showing posts with label ledcube. Show all posts

10/12/18

This week's Wednesday Evening Training: a "klusavond" on a giant Arduino driven LED cube, a lot of sensors and generating 3D Archimate models

In this week's Wednesday Evening Training we had some great demo's and discussions on our individual projects on IoT and 3D modelling.





A lot of IoT

Aish showed us her giant LED cube (10x10x10 LED's, that's a lot of soldering!) and explained to us how she managed to build and run it. We discussed powering such a large collection of LED's and how the software was designed. Such a bug LED cube offers plenty of applications, including running 3D animations and games within the cube. We've started building a graphics library for basic LED handling that is going to be a great help in building such applications.

Aish also showed us her multi sensor project; a test platform on which all sorts of sensors are installed. We discusses the various sensor types, how to connect and use them and how (combined) measurements can best be done. Interesting stuff! One of the topics we also discussed is the way which the sensors are read in the software. That can be done in a loop but also using interrupts (low level event handlers). The latter method is faster, less error prone and cleaner. We'll be investigating this technique in the upcoming Wednesday Evening Training IoT sessions.







Archimate architecture models in BabylonJS 3D

This week's session, I gave give a demo of my BabylonJS prototype in which an Archimate model view (using the free Archi editor) is converted into a BabylonJS 3D model. For complex architectures, 3D modelling may give more insight than plain 2D models. Worth doing some experiments to see whether this is a good approach. The Technical Proof of Concept is running great. It uses MySQL as a central database and a simple website with some Web Workers to gather model data, generating and continuously updating a JavaScript Archimate model and a derived Babylon 3D model from this in the background. Our colleague Fred van Nimwegen also joined my project and he had experimented with Neo4j in which he stored the Archimate model.  Neo4j is a graph database (while MySQL is a relational database). Graph databases have some advantages over relational databases, mainly when querying data collections that naturally resemble networks. And that is exactly what an architectural model resembles: a network of related nodes. Moreover: modern architectures are getting more dynamic and will change over time more rapidly. When analyzing an architecture model to answer architectural questions like "what will happen when I change this?", an efficient query language and dito database are very convenient. We've planned a Wednesday Evening Training session on Graph databases and Neo4j in november. Fred will then share his knowledge gained with us.





Further reading

Do you want to read more on the topics in this post? Here are some links…

Considering building your own LED cube? Start simple with a 4x4x4 cube (still 64 LEDS, but at least you won't be needing a nuclear plant to power it): https://www.instructables.com/id/4x4x4-LED-Cube-Arduino-Uno/
BabylonJS: https://www.babylonjs.com
Archi: https://www.archimatetool.com
Archimate tool database plugin: https://github.com/archi-contribs/database-plugin
Neo4j: https://en.wikipedia.org/wiki/Neo4j


Past Wednesday Evening Trainings

You 'll find post of previous sessions here: https://www.linkedin.com/search/results/content/?keywords=%23wednesdayeveningtraining


Next week 's Wednesday Evening Training

Next week, we'll have the intro on Progressive Web Apps (PWA)This a hot topic in the world of web development and its only growing further in popularity. It is a relatively new way to develop applications for the mobile phone, combining the best of the web and apps. We will cover benefits using a PWA instead of traditional hybrid/native solutions, the basics and possibilities of a PWA, show some examples in functionality and give an example of how you can get started building your own PWA’s quickly. Yes, there will also be a handson lab. In later sessions we expect to cover topics like push notifications, background refresh, et cetera. 

6/13/18

This week's Wednesday Evening Training: continuing our IoT handson labs (Raspberry Pi, Arduino and lot's of LEDs)

In this Wednesday Evening Training we continued our IoT labs on Arduino and Raspberry Pi. There was soldering (yes, the LED cube), even more LED's, a quick intro to Arduino (C) programming and my first steps in programming the Arduino Nano using the web and windows editor.

We programmed a long LED strip and experimented with various light color and sequence patterns.



Aish gave us a quick intro into the C programming language (actually, for some of the older colleagues like me, it was a recap of a language that we learned a long time ago :) ) and the basics in writing/reading the Arduino ports.

We also experimented with the Arduino's web editor which offers a nice online IDE (Integrated Development Environment), with example projects available as well.

In the Wednesday Evening Training of july 11th, we'll continue our labs. We'll have a demo/walkthrough on an IoT project using multiple sensor at the same time and we'll be taking a closer more comprehensive look at the Arduino's IDE. It may also be a good time to look for future handson labs... maybe a programmable robot arm?

Thanks Aish for sharing your knowledge!


Further reading

Do you want to read more on the topics? Here are some links...
Connect and Control WS2812 RGB LED Strips via Raspberry Pi: https://tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips/
Getting Started with Arduino Web Editor on Various Platforms: https://create.arduino.cc/projecthub/Arduino_Genuino/getting-started-with-arduino-web-editor-on-various-platforms-4b3e4a
Step by step guide for Arduino Web editor part 1 (video): https://www.youtube.com/watch?v=Kvl8HkajXHg


Next week

In next week's Wednesday Evening Training, we'll be taking a close look at the Aurelia framework. Aurelia is a JavaScript client framework for web, mobile and desktop that leverages simple conventions to empower your creativity. It's a kind of Angular, React or Knockout. Some key point of Aurelia: modern architecture, two-way databinding, extensible HTML, routing & UI composition, broad language support, use ES5, ES 2015, ES 2016 and TypeScript, testable… etc.

 

Past Wednesday Evening Trainings

You'll find post of previous sessions in LinkedIn as well, see: https://www.linkedin.com/search/results/content/?keywords=%23wednesdayeveningtraining


#capgemini #werkenbijcapgemini #lifeatcapgemini #wednesdayeveningtraining #iot #internetofthings #arduino #raspberrypi #ledcube

5/16/18

Last week's Wednesday Evening Training: Building a programmable LED cube

In last week's Wednesday Evening Training (apologies for the delayed publication of this post) we learned how to build a programmable LED cube and program it with Arduino.


So, what is a LED cube anyway?
A LED cube is a cube constructed with LED's. It can have any size from 3x3x3 to 10x10x10. You can buy such a cube but building one yourself is more fun. However, behold: a 10x10x10 cube consists of 1000 LED's. That takes quite a long time soldering. Therefore we restricted ourselves to building one of 3x3x3 LED's. Programmed by an IoT device like Arduino, a LED cube is a really cool device that enables you to see in three dimensions and get some depth perception. You can create some nice 3d animations with it.
For a demo, see: https://www.youtube.com/watch?v=S6P3jcxKh-k

Aishwarya Dhall, one of our IoT champions, arranged the materials and gave us instructions how to proceed.
Also thanks to Harrie van der Plas (UWV), for helping!




In our continuing quest for the ultimate Rube Goldberg machine (see my post http://hansrontheweb.blogspot.in/2018/04/this-weeks-wednesday-evening-training_26.html) we could use our LED cubes to interact with eachother, to their environment and to other IoT applications. We will see where all this is going to lead!


This week's Wednesday Evening Training
In this week's Wednesday Evening Training (today), we'll get a nice session on PowerShell. Thanks in advance, Niloufar Markazi and Carl in ‘t Veld, for preparing this!


Further reading
Want to read more on LED cubes or try buildin one yourself? Here are some links...

Instructions to some nice handson labs:
http://www.instructables.com/id/3D-LED-Cube/
http://www.pyroelectro.com/projects/8x8x8_led_cube/

And, if you can spare the time for some more soldering: some giant LED devices:
https://www.youtube.com/watch?v=7toXDJZfxug
https://www.youtube.com/watch?v=dVHP7Nhsn4E


#capgemini #werkenbijcapgemini #lifeatcapgemini #wednesdayeveningtraining #iot #ledcube