Thursday 21 August 2014

Tuesday 29 July 2014

Arduino INDIA call for interns !

Arduino INDIA calls for interns, there are two openings and interns are supposed to work on arduino based projects. There will be NO stipend ,lunch is on the house , but I guess the experience any young MAKER or electronics hobbyist or an engineer or an artist will gain while working in Arduino is priceless.

These are few details for interested candidates:

- There are two openings for internship.

- The interns are expected to work on Arduino based projects. The exact projects will be defined and discussed before commencement.

- The duration of the internship will be for a minimum period of one month.The internship will start on August 4 2014.

- There will not be financial remuneration for the internship. Lunch is on the house.

- The interns will be given a certification on successful completion.

- The location is Coles Road, Frazer Town, Bangalore.

- The deadline for applications is 30th July, 2014.

For further details visit:

Friday 25 July 2014

MATLAB GUI for image type conversion-Part2

This video is second part of the MATLAB GUI for image type conversion , this video explains the programming the GUI and a working demo of grayscale conversion and binarisation of RGB image




Thursday 24 July 2014

MATLAB GUI designing using GUIDE for image type conversion.

MATLAB GUI designing for image type conversion, e.g conversion of RGB image into grayscale image or RGB to binary image . Both these conversions are very basic processes for initiating with any image processing algorithm and also very essential process. We have created a video tutorial to explain the GUI development in MATLAB using the image type conversion process.The video tutorial is divided into two part first part will explain the designing and characterisation of the GUI and the second part of the video will elaborate on including the required code in the GUI. The first video tutorial is given below watch and learn.   


                                                    MATLAB GUI designing using GUIDE



Monday 14 July 2014

MATLAB GUI Arduino LED blinking

In previous post , we have published a detailed Arduino UNO serial communication with MATLAB, in this post we are taking it little further.
We have incorporated the serial communication code with MATLAB GUIDE(Graphical User-Interface Development Environment) and created an interactive GUI with different color scheme. To view the result watch this video:

To view latest updates about vaarious projects join our group on Linkedin:

Or Like our facebook community page:


Thursday 10 July 2014

MATLAB & ARDUINO serial communication

I have being asked by many people about interfacing Arduino UNO with MATLAB without using any supporting inbuilt functions. So , for answering all those queries I am posting this article by explaining MATLAB & Arduino UNO serial communication .
This post will cover the topic of controlling arduino pin13 LED by send serial command from MATLAB to arduino UNO.

The Arduino code required for establishing the serial communication and reading serial data is.

const int ledpin=13;
int recValue;

void setup()
{
Serial.begin(9600);
pinMode(13, OUTPUT);
}

void loop()
{
  if(Serial.available()>0)
  {
    recValue=Serial.read();

    if  (recValue == 100)            // If use will send value 100 from MATLAB                                           then LED will turn ON
     { 
       digitalWrite(ledpin, HIGH);
       }
        if(recValue == 101)          // If use will send value 101 from MATLAB                                            then LED will turn OFF
         { 
         digitalWrite(ledpin, LOW);
         }
      }
    }



Upload the above program on Arduino UNO and then open MATLAB environment for establishing serial communication with UNO.
The MATLAB code required for establishing communivcation and sending required command for toggling LED is:

s=serial('COM','BAUD', 9600); % Make sure the baud rate and COM port is 
                              % same as in Arduino IDE
fopen(s);

for m=1:10                    % The program will execute 10 times , 
                              %you can change the vaalue of m to increase or decrease
                              %the number of executions

servalue= input('Enter the value 100 to turn ON LED & 101 to turn OFF LED :');

fprintf(s,servalue);          %This command will send entered value to Arduino 
end


After opening the MATLAB execute this program, initially a LED on PIN13 on Arduino UNO will blink that denoted handshaking or serial communication establishment between UNO and MATLAB . Then MATLAB will ask user to enter desired value, make sure to enter 100 to turn ON and 101 to turn OFF LED.

Note: Make sure the baud rate and COM port entered in MATLAB code is similar to the one in Arduino IDE

For any further query commen on this post or post your question on

Google+ account name MATuino R
https://plus.google.com/u/0/106198205604943884729/posts

Facebook community page arduinomatlabrobotics
https://www.facebook.com/arduinomatlabrobotics?ref=hl

Monday 7 July 2014

New member in ARDUINO family: USB Host Shield

USB shield is one of my favourite among all shields, the reason is this shield enhances the capability of arduino board and make it possible to control arduino boards with almost all USB devices. There are already few available USB host shields from Sparkfun's , Circuit@home and many more cmpanies. But,this one is officially created by arduino team made with love Italy :-). This shield open a whole new domain of controlling the arduino because most of the gaming controllers are USB based. That means all your XBOX, PS and NINTENDO gaming controller can be used to control any of your home appliance or control any robot and can be used to create new cool projects. The fun doesn't just end here it also supports bluetooth dongle which means you can make wireless projects easily and without any compatibility issues.

The following device classes are supported by the shield:
  • HID devices: keyboards, mice, joysticks, etc.
  • Game controllers: Sony PS3Nintendo Wii, Xbox360.
  • USB to serial converters: FTDI, PL-2303, ACM, as well as certain cell phones and GPS receivers.
  • ADK-capable Android phones and tables.
  • Digital camerasCanon EOS, Powershot, Nikon DSLRs and P&S, as well as generic PTP.
  • Mass storage devices: USB sticks, memory card readers, external hard drives, etc.
  • Bluetooth dongles.

This shield is really a opportunity for MAKERS to play with it and share some really cool projects with the world. I am really hoping to get one of the shields and planning to make PS remote controlled robot. I hope you people will also enjoy playing with this .
For further details about this visit

http://arduino.cc/en/Main/ArduinoUSBHostShield

Saturday 5 July 2014

MATLAB & ARDUINO : LED blinking

The last post(1st Jul 2014) which elaborates about the digitalWrite function , which is utlised for togglin the LED connected to PIN 13 of arduino uno using MATLAB environment. In this post,we have resolved the problem of typing the function( digitalWrite) in COMMAND WINDOW over and over again to toggle the LED. By compiling a small LED blinking program written in MATLAB script, this program will blink the LED for 60 seconds. After all prerequisite program installed in Arduino IDE and MATLAB ,you can directly run this program and blink the LED through MATLAB programming. To make it more fun you can use other toolbox of MATLAB like image processing or signal processing to trigger the LED or any actuator.

To get better understanding, watch a video named MATLAB & ARDUINO : LED Blinking on our youtube  channel  MATuino R.



The MATLAB programming for LED blinking:

a=arduino('COM3');              % Establish serial communication via COM3 port
pinMode(a,13,'output');         % Assigning pin 13 of arduino as output pin.
tic

while toc/60 < 1                % toc/60 means the while loop will keep
                                 executting  till 60 seconds.
                                    
digitalWrite(a,13,1);           % write a boolean 1 on pin 13 of arduino

pause(1);                        %Pause the execution for number of seconds                                                                mentioned in bracket.
    
digitalWrite(a,13,0);           % write a boolean 0 on pin 13 of arduino
pause(1);

end


Make sure for above program select the correct COM port as in our case it is COM# , it may be something else in your case.
Thank you for any further query comment on this post. 

Tuesday 1 July 2014

MATLAB & ARDUINO interfacing - digitalWrite(LED)

This post is a follow up of the 28th June post i.e MATLAB & ARDUINO interfacing - Part#1, which was about downloading required MATLAB support file for arduino IDE. This post will elaborate about uploading desired program on UNO and preparing MATLAB environment before establishing communication between arduino uno and MATLAB  and also a  demonstration of simple digitalWrite function by toggling the LED.
The steps involved for completing the communication between MATLAB and Arduino uno are:

1. Open Arduino IDE and open the "pde" named file in examples , then select a file named "adioes" and upload this program on arduino uno. It will take few seconds and blinking of  LED on UNO borad will confirm the uploading.

2. Then open the MATLAB environment , make sure that the current folder selected will be the MATLAB  support folder for arduino named "ARDUINO IO" and then create a serial connection of MATLAB with arduino uno using command

>> a= arduino( COM X);              here X is the number assigned to the port of your PC or laptop.

3. After successful connection with arduino , assign a pin 13 as a output pin using "pinMode" command and after that, write a Boolean 1 or 0 to pin 13 for toggling the LED connected using "digitalWrite"
command.

The final demo looks like the image below:
LED toggling using MATLAB

The final commands for digitalWrite are as under , type each command at a time in COMMAND WINDOW of MATLAB enviornment.

a=arduino('COM3');            % Establish serial communication via COM3 port
pinMode(a,13,'output');       % Assigning pin 13 of arduino as output pin.
digitalWrite(a,13,1);         % write a boolean 1 on pin 13 of arduino (LED ON)
digitalWrite(a,13,0);         % write a boolean 0 on pin 13 of arduino (LED OFF)
 
For further detailed and step by step description of the above post visit youtbe and visit our channel
"MATunio R"
And do watch video related to this post

MATLAB&ARDUINO interfacing - digitalWrite(LED)

For any query post a comment on this post or mail us at arduinomatlab@gmail.com. 

Monday 30 June 2014

Arduino ZERO - Arduino and atmel collaboration

This new board launched by arduino named Arduino ZERO, is a  outcome of collaboration between two amazing companies Atmel and Arduino.
I wonder why arduino has named it Arduino ZERO , but it sound really cool, and i believe its functionalities are also really amazing. This board aims at developing some trending wearable devices and some really good automation projects. As mentioned by the man himself, Massimo Banzi ,this board will be a new experience for all MAKERS and students who are passionate about electronics.

Massimo BanziArduino CO-founder and CEO said:

"It aims to provide creative individuals with the potential to realize truly innovative ideas especially for smart IoT devices, wearable technology, high-tech automation, crazy robotics, and projects not yet imagined".

For more detailed description of Arduino ZERO, click on the link below.





Saturday 28 June 2014

MATLAB & ARDUINO interfacing - Part#1

After complete installation of connecting and uploading arduino uno, in the previous post,in this post we will give explanation of downloading and uploading required resources for creating arduino IDE a server for establishing  communication with MATLAB.
For interfacing arduino uno with MATLAB ,it is important to prepare arduino IDE to create proper communication between MATLAB and arduino uno. The steps involed to prepare arduino IDE are:

1.The first step for interfacing arduino with MATLAB is to download the MATLAB support for Arduino UNO from Mathworks website
http://www.mathworks.in/matlabcentral/fileexchange/32374-matlab-support-package-for-arduino--aka-arduinoio-package-

2. After downloading MATLAB support for arduino uno,unzip the  Arduino IO file and locate a folder name 'pde' in Arduino IO then copy the 'pde' folder and paste it in LIBRARIES named folder within Arduino named folder which located in PROGRAM FILES.

3 After following above two steps , confirm the addition of PDE in libraries of arduino IDE, open arduino IDE and select EXAMPLES option and verify weather the PDE is enlsted under EXAMPLES option. As shown in image below.


Follow these steps to prepare arduino IDE for making communication between Arduino UNO and MATLAB. For more eleaborate explanation watch this youtube video and subscribe our channel
 MATuino R.


In next post we will elaborate the MATLAB setup for arduino interface and establish communication between arduino UNO and MATLAB.
Keep sharing ideas related to MATLAB arduino interface , or comment if have any query.

Thursday 26 June 2014



MAKERS , DIYers and OPEN CULTURE is really a next big thing and a new revolution, which is not only making the world a better place but also promoting many hidden talents. The MAKER MOVEMENT or OPEN HARDWARE is a phenomenon which is so effective and game changing that it has reached each and every part of the world. Sharing is such a powerful concept that it has effected so many people. MAKER movement has created a platform where even a small kid who have a passion for LEGO or a grandmom who loved the way how lilypad made her grandchildren clothes glow in dark can come and get appreciation for their work. Numerous people who used to have an idea to make some innovative hardware product but always hesitated because of prototyping and licensing,they got an opportunity with help of OPEN HARDWARE CULTURE.

'No one have ever imagined that sharing has such a beatiful impact'

These ae some MAKERS who are real ame changers and still working hard to create new and cool stuff and SHARE it with world.

http://www.mnn.com/leaderboard/stories/14-makers-who-are-changing-the-diy-world

Connecting and Programming Arduino UNO

After installing the arduino IDE , the next step is to connect the arduino UNO board with windows PC or laptop and uplaod a simple program to verify the proper functionality of arduino UNO and proper communication between PC or laptop.
The steps involved for seting up arduino UNO and uploading program involves.

1. Connect the arduino uno with to laptop ot PC using USB A to B cable .
2. Browse in control panel and go into hardware options and open DEVICE MANAGER and click on PORTS( COM & LPT) option it will scroll down to Arduino(COM X) X is the numeric number.
3. Double-click on Arduino(COM X) it will open a window which contain details for updating the arduinno drivers as shown in image below:


Select the UPDATE DRIVER option and then select the FTDI USB DRIVER from arduino folder.
After successful updation of drivers .
4. Now open the Arduino IDE and go into tools option and check the BOARD and SERIAL PORT options and make sure the BOARD selected is ARDUINO UNO and SERIAL PORT is same as in DEVICE MANAGER as in case of above image it is COM 3 as shown in image below:


5. After confirming the BOARD TYPE and PORT , go to FILE option and select the BLINK program from EXAMPLES option. Then verify and upload the program in arduino uno and see the orange LED on board blinking.

All of the above steps are elaborately shown in video on youtube, watch the video for better understanding of the process:

   

Tuesday 24 June 2014

Installing Arduino IDE for WINDOWS 7

For initiating the process of interfacing Arduino with MATLAB , the basic requirement is Arduino IDE and arduino uno or any other arduino board ( We will only consider Arduino uno in all future posts). MATLAB 2010b or later is mandatory for interfacing process( we will talk about it later in detail). 
The arduino IDE is basically a arduino hardware programming open-source software, which is really easy to install and very user-friendly. The arduino IDE is availabe on arduino website for downloading visit  http://arduino.cc/en/Main/Software , all versions are availabe for mac, windows or linux. 
 After downloading the arduino IDE , unzip the folder and you will have a a file with logo image as below:



Double-clicking on this fle the installation will starts automatically , after succesful completion of arduino IDE installation a shortcut will be created which can be used for easy access to arduino IDE.

For further detailed process of downloading and installation of arduino IDE kindly watch the video below :

Installing Arduino IDE for WINDOWS 7



Browse and display image in MATLAB

First of all, excuse us for not posting any tutorial and videos on our you tube channel for such a long time. Recently one of our subscrib...