Arduino & Genuino Products

Arduino, an open source microcontroller that allows developers use of it for DIY (Do It Yourself) and custom projects that can relate with real life daily application. There are a lot of thousands of projects already build using this microcontroller. There are five types of Arduino boards are entry level, enhanced features, internet of things, wearable and 3D printing.

Arduino - Products.

Arduino – Products.

For entry level is suitable for those want to make as their first learning in microcontroller world. There are Arduino/Genuino Uno, Arduino Pro, Arduino Pro Mini, Arduino/Genuino Micro, Arduino Nano, Arduino/Genuino Starter Kit, Arduino Basic Kit and Arduino Motor Shield. Similar to Raspberry PI, a rival to Arduino with is good for entry level. Later we will discuss more details about the comparision between these two. For entry level, mostly Arduino Uno is the most popular compare to the others because the price is cheap and support most of the functions and external device integration such as camera, ultra sonic and DC motor. Besides that it’s really suitable for students for those have basic programming in C++ and it’s easy to use.

If the developers want more advanced functionalites, features and faster performance, they can select for enhanced features type. There are Arduino/Genuino Mega, Arduino Zero, Arduino Due and Arduino Proto Shield. The major differences between these two Arduino are number of pins and memory size. Enhanced features type got a lot number of pins and large memory compare to entry level less number of pins and small memory. You can integrate a lot of external devices such as camera, ultra sonic and DC motor on enhanced features type. Besides that the performance can be more better than entry level type during program execution.

Compare to internet of things, this type can connect to internet or clouds that can exchange the data between internet and the embedded device (Arduino). It can perform machine to machine communications (M2M) and apply it to smart cities. The microcontroller can connect to internet using GSM, ethernet and Wifi. Arduino Yun and Arduino Ethernet Shield support for ethernet connection (LAN or called local area network), Arduino GSM Shield only support for GSM connection (only GPRS, not 3G,4G or LTE) and Arduino Wifi Shield 101 support for wireless connection.

For those interested to wearable technology, they can choose wearable type. There are five microcontrollers, Arduino Gemma, Lilypad Arduino USB, Lilypad Arduino Main Board, Lilypad Arduino Simple and Lilypad Arduino Simple Snap. What actually is wearable? Wearable is a clothing and accessories that integrated with computer and advanced electronic technologies like we seen today. There are a lot of existing wearable technologies out there such as iWatch, android wear, Pabble and Jawbone (3/24). It can be similar with internet of things because it’s connected to the internet but it more on fashion or accessories perspective, it’s wearable.

If you a hobbyist in 3D printing, 3D printing type is a best selection because it’s only one microcontroller that support 3D printing features. It’s called Materia 101. It uses an Arduino Mega2560 with a white shield for controlling 3D printers. It’s open source, not for commercial purpose as all Arduino products.

P.S: For those interested to build DIY projects, can buy online from here, http://my.element14.com/arduino.

IBM Worklight 6.1- Deploy Worklight war file into WebSphere 8.5.5

Previous tutorial I show you how to create a simple worklight app, http://blog.revivalx.com/2014/05/29/simple-app-crud-using-ibm-worklight-6-1/. Then we deploy our worklight app into IBM websphere. You get all the resources regarding to this tutorial here, https://github.com/datomnurdin/CRUD-worklight . Before you can deploy worklight app, you need install your worklight server using IBM Installation Manager.

Reference: http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/10_01_Moving_from_development_environment_to_stand-alone_QA_and_production_servers.pdf

IBM Worklight

IBM Worklight

Go to your IBM Websphere console. Mine is https://192.168.1.180:9043/ibm/console. Enter your User ID and Password.

websphere login

websphere login

You will get welcome page like this one.

websphere welcome page

websphere welcome page

Open server tab on left side and click All Servers.

Websphere all server

Websphere all server

Websphere Middleware servers

Websphere Middleware servers

Stop all running server before deploy war file into websphere and click refresh Status to make sure all servers stop running.

Websphere Middleware servers

Websphere Middleware servers

See the result.

Websphere Middleware servers

Websphere Middleware servers

Go to Applications > Application Types > Websphere enterprise applications.

websphere

websphere

Click Install button.

Websphere Enterprise Applications

Websphere Enterprise Applications

Click Choose File button.  Use given war file for this tutorial. https://github.com/datomnurdin/CRUD-worklight/blob/master/bin/CRUD-worklight.war

Preparing for the application installation

Preparing for the application installation

Click Next button.

 Preparing for the application installation


Preparing for the application installation

Select Detailed click Next button.

Preparing for the application installation

Preparing for the application installation

Click Continue button.

Application Security Warnings

Application Security Warnings

Scroll down and click Next button.

Install New Application 1

Install New Application 1

Install New Application 2

Install New Application 2

Select your clusters and servers tick worklight module. Then click Apply button. Mine clusters and servers are server1 and IHSI. After that click Next button to proceed next page.

Install New Application

Install New Application

Click Next button.

Install New Application

Install New Application

Tick CRUD-worklight_war and click Reference shared libraries.

Install New Application

Install New Application

Select WL_PLATFORM_LIB and click Add button.

Enterprise Applications

Enterprise Applications

After selected and click Ok button.

Enterprise Applications

Enterprise Applications

Tick Worklight module and click Reference shared libraries button.

Install New Application

Install New Application

Select WL_PLATFORM_LIB and click Add button.

Enterprise Applications

Enterprise Applications

After selected and click Ok button.

Enterprise Applications

Enterprise Applications

Click Next button.

Install New Application

Install New Application

Click Next button.

Install New Application

Install New Application

Click Next button.

Click Next button.

Click Next button.

Tick on jdbc/WorklightDS Resource Reference. Click Set Multiple JNDI Names and select jdbc/WorklightDS. This process is to assign each resource reference to their own database. 

Install New Application

Install New Application

Do the same process again. This time tick on jdbc/WorklightReportDS Resource Reference. Click Set Multiple JNDI Names and select jdbc/WorklightReportDS.

Install New Application

Install New Application

Click Next button.

Install New Application

Install New Application

Click Next button.

Install New Application

Install New Application

Name your Context Root to /CRUD-worklight and click Next button.

Install New Application

Install New Application

Scroll down and click Next button.

 Install New Application


Install New Application

Install New Application

Install New Application

Click Next button.

Install New Application

Install New Application

Click Next button.

Install New Application

Install New Application

Click Finish button.

Install New Application

Install New Application

Click Save.

Install New Application

Install New Application

You will see that your war file already deployed inside the websphere. Enterprise Applications

Enterprise Applications

Enterprise Applications

Go to server tab and select All servers.

websphere server

websphere server

Select server1 and click start button.

Middleware servers

Middleware servers

Then click refresh status to make sure your server is running. Red colour shows your server stopped and green colour shows it started.

Middleware servers

Middleware servers

Go to Applications tab > Application Types > Websphere enterprise applications.

Websphere enterprise application

Websphere enterprise application

You will see all your applications are running.

 Enterprise Applications

Enterprise Applications

Enter this URL on your browser, mine is http://192.168.1.180:9080/CRUD-worklight.

IP address: http://192.168.1.180

Port number: 9080

Context root: /CRUD-worklight

You will see this page on your browser.

IBM Worklight Console

IBM Worklight Console

Deploy your application or adapter in your IBM worklight console. Use given CRUDWorklight-all.wlapp and USERAdapter.adapter for this tutorial.

CRUDWorklight-all.wlapp: https://github.com/datomnurdin/CRUD-worklight/blob/master/bin/CRUDWorklight-all.wlapp

USERAdapter.adapter: https://github.com/datomnurdin/CRUD-worklight/blob/master/bin/USERAdapter.adapter

github

github

Now you can test your app. If you had any problem regarding to this tutorial, let me know. Enjoy!!