Sunday 19 November 2017

SOA 12c - How to setup Maven for your SOA project

In this article we will take you through the steps so that you can use Maven to build your project outside SOA Suite. You can create build and deploy directly from SOA Suite, but what about when someone gives you a SOA project and you just want to build and deploy. Do you really need to open up SOA Suite in this case? No right. Now any SOA project will have a default pom file but you cannot compile or package using maven directly as the sar packaging and all oracle libraries are not available in Maven repo. So you have to install all libraries in your local repo and update the archetype. S lets take a look at tge steps

Analog Output - How to control brightness of LED using Arduino

Today we are going to tell you how you can generate analog output from Arduino. You can use this output to do various tasks. One of the most easiest and simplest thing is controlling brightness of an LED.
Background:
Arduino has several PWM pins. You can use this pins to vary the output . So once you are able to vary the output you can do several tasks. One of the most important application is controlling speed of the motors.

Sunday 5 November 2017

Introducing Spring Boot - How to create your first Spring Boot Application

Today I am going to talk about how to create your first Spring Boot application. But before that someone would like to question what is this and why should I use it. So first I will tell you why you should start using Spring Boot for your coming applications and also try migrating old spring applications. But there is a mandatory requirement for spring boot. You must know either Maven or Gradle to start using SApring Boot.
Why should I use Spring Boot?
It is almost 15 years about the first beta release of the Spring framework. We had every configuration xml based. As it developed further, it moved on to the Java based configuration. But whether it is XML based or Java based you have to do a lot of configs to set up your application. If its a web application with hibernate and other spring features configs just get added up and u cant forget about that famous DispatcherServlet in spring.

Saturday 18 February 2017

Getting started with Arduino - LED Blink Digital Output

Today we will start our Arduino tutorial with a very basic thing. There are many coders around the world who write codes to develop some cool softwares to run on computers, smartphones and tsablets. But there are very few who writes code to control hardware using their program. Writing a general basic program won't do that. You need some special devices called microcontrollers and microcomputers with GPIO pins which can control digital devices, read sensor data and perform different actions.
Arduino is most popular open-source board microcontroller. It has a number of digital, analog PWM pins which will serve our purpose. Here we will use Arduino to make LED blink every second.

Hardware Required

  • Arduino UNO
  • Breadboard
  • LED - We are using a red LED here
  • 220ohm resistor
  • Some Jumper wires
Build the circuit
  • Connect a M-M jumper from GND to breadboard
  • Connect GND of breadboard to -ve terminal of LED via resistorto avoid burning it.
  • Connect +ve of LED to pin3 of Arduino

Write the code/sketch
  • Open Arduino IDE and then go to Tools > Board > Arduino Uno. 
  • And also select Tools > Port > Arduino COM Port (COM3/COM4 like)
const int LED = 3;  //Pin to which LED is connected to Arduino

void setup() {
  pinMode(LED, OUTPUT);  //We would see output from this pin
}

void loop() {
  digitalWrite(LED, HIGH);  //Set HIGH voltage
  delay(1000);             
  digitalWrite(LED, LOW);  //Set 0 voltage
  delay(1000);
}
Upload sketch to Arduino and see.


Cheers. Have Fun

Friday 12 February 2016

Introductio to R – Why use R

The science of data analysis (statistics, psychometrics, econometrics, machine learning) has kept pace with this explosion of data. Before personal computers and the internet, new statistical methods were developed by academic researchers who published their results as theoretical papers in professional journals. It could take years for these methods to be adapted by programmers and incorporated into the statistical packages widely available to data analysts. Today, new methodologies appear daily. Statistical researchers publish new and improved methods, along with the code to produce them, on easily accessible websites.