I just got my Arduino Mini Pro & Bluesmirf GOLD yesterday. Im running some tests and practicing some stuff with them. Since yesterday , my personal achievements are “Using Arduino as an ISP Programmer” , “Communication through bluetooth with Bluesmirf”.
I used an old arduino of mine – which is a so called Arduino Severino – to program Arduino Mini Pro.I had a RS232 to USB converter so i could program it with my laptop. But the uploading process was quite tricky. Im going to write down the tips and tricks here in case i forgot , i dont want to struggle with whole that all over again.
Make sure baudrate is 19200
Switch Arduino Severino to Serial Enable Mode( Move (JP0)Serial Female header to 2-3 pins ).
Click upload button and wait for the “sketch size bla bla” notification appear below , when it appears press reset button asap…
Communication through Bluesmirf is no different than Serial Comm. But make sure you connect Tx-Rx pins reverse. Tx(bluesmirf)->Rx(arduino)……
And here are some photos and a video demo. of what i have done so far…
Here is the first step in making of Self Balancing Robot. In this step i worked on Bluetooth & Serial Communication.
N95 —(Bluetooth)—> PC —–( Serial)—-> Arduino
I used the same motor driver shield which i already made back in Narduino Project.
If you havent heard about Narduino Shield and its simple design done on veroboard click here to see it and its circuit diagram.
After the Narduino shield properly connected to motor wires and the supply connection , it is time to talk about coding…
Here below , i shared all the codes used in the project.
I just had an idea yesterday that can get me to make a self-balancing robot without buying any expensive electronic components.
You know last summer i made a cellphone controlled RC Car which had a tabletpc onboard to get commands via bluetooth.That time , having an onboard tabletpc , save me from buying a bluetooth chip which costs about 60$.This time, to make a self-balancing robot i’ll have to have whether an Accelerometer or a MEMS Gyro to track rotation of the robot.
Those sensors are pretty expensive too.So i’m thinkin about putting my n95 smartphone onto the robot.As i have Accelerometer on the smartphone i can use it to measure rotation movement of the robot.
I tried to explain how it is going to work in the photo.
And the finished robot will look something like this:
Hi my fellow readers,
Here’s a little summary of the projects i’ve been working on lately…
Algoritms&Programming 2 Homework :: OpenCV Character Position Detection :
With OpenCV’s built-in Computer Vision Functions it has been very easy to develop a character position detection application.
Here is a screenshot from the application i made.
Algoritms&Programming 2 Homework :: OpenGL 2D Drawing & Mouse Input Handling with GLUT
Last week we were asked to make a simple application , using OpenGL & GLUT , that draws a 2d house and movable circle onto the screen.But that’s no fun for a real programmer.So i decided to make it a little bit fancy.Here what i’ve done.
I made a movable head instead of a circle and added hair.And i implemented a relation between hairs & mouse movement.If mouse moves more than a pixel at a render cycle.It calculates the projection of mouse movement on X & Y axis’ and uses those values to create a wind like effect on hairs.
I also implemented a relation between movement of the head and orientation of grasses.I also used the distance value , between head and each grass , which is already calculated to set color the color of each individual grass.As you move head closer to lawn it brights up the grasses with inverse propotional relation between h labelled distance and Green color value of the grasses.
Personal Interest :: Comet Programming with ORBITED & TWISTED
Hi my fellow readers ,
It has been a long long time… I just wanted to sum up what i have been up to lately…
Well… off course i didn’t spend all my time on web-development , i have been studying OpenCV with OReilly’s book called ‘Learning OpenCV’. It’s a quite complicated library but it’s still the simpliest way to do Computer Vision. But with the entertaining and creative apps & softwares that are made possible with Computer Vision technology , i dont care how hard or how much of time consuming it is.
Here i made another project with my brandnew arduino demilanove.In this project i intended to send commands to my laptop computer with an infrared remote controller.I used an old ir receiver that came within video card of my old computer.I also choosed to use its own remote controller to send ir signals.It turned out to be very useful.I wrote a very simple code with python which you can add more responses for different ir signals.