Friday 30 April 2010

Experience

As obviously, the buggy could not run on the magnetic strip but while working on this project, we learnt about robots and had practical experience of circuits, installation of motors, assembling different parts, soldering parts together. So, basically it was quite fun to work on this project. I wish, we could have given little bit more time, so that we could program it and make it alive.

Test Day

After the building, circuiting of the buggy was completed; it was the time to program our buggy. Since Xavier our team mate was very good at that, he took the responsibility to program it. Unfortunately in the last week we found out that he decided to drop out the university for some reasons. And then the test day came, we managed to program it but instead of moving forward, it was moving backward with one wheel not rotating because of the insufficient torque produced by the motor. So, we did not give it a try on the platform.

Circuit Diagram

Monday 26 April 2010

Picaxe 18X

The Picaxe 18X microcontroller is a digital device. It reads digital inputs that is binary numbers(0,1) where 0 means low and 1 means high. When the voltage is less than 3V, the input signal is been read as low(0) and when the voltage is greater than 3V, the input signal is read as high(1). This microcontroller also has pins that can be used as analogue inputs. This implies that we can read an analogue signal by changing each of the 8 bits of a byte as binary numbers. And this would be in the form of binary numbers. As we know that the byte variables range from 0 to 255, therefore the code has to be on this base. The input values from analogue to digital pins is stored in byte variables.

The Final Push

For the final circuit we needed to include 3 things: the motors, the reed switches and the picaxe.

We made the circuit on a breadboard for easy of construction and modification in the event of a mistake being made.

Bellow is the partially constucted circuit. The reed switches are simply plugged into the board as opposed to being on extended wires. This was purely so we could see their position clearly whilst we were still configuring the layout off the breadboard.



The final circuit has both reed switches on elongated wires in order for the sensors to be postioned on the chassis closer to the ground and therefore closer to the magnetic strip.



This photo shows how the circuit is placed on the chassis. The breadboard itself creats a cover for the picaxe and motor controller. The reed switches have not yet been perminantly sealed in place on the front of the buggy.

Saturday 24 April 2010

Initial Programming

main:
readadc 1, b1
readadc 2, b2
select case b1
case 50 to 100
low 2
high 1
case 0 to 49
high 2
low 1
end select
select case b2
case 50 to 100
low 4
high 3
case 0 to 49
high 4
low 3
end select
debug b1
debug b2
goto main
This program would probably move the buggy to move on the magnetic strip. The idea behind this program is that one motor would switch off itself when the buggy goes off the magnetic strip.

Design



The design of our buggy is very simple. The chassis have two wheels and one brass runner. The two wheels are connected at the back of the chassis and the brass runner is situated at the front in middle. The initial idea was to construct circuit with the chassis as a platform. And this circuit would control the working of the two wheel motors. But after trying this configuration, we found that the whole buggy was becoming unstable.

Friday 23 April 2010

What are robots?

A robot is a machine designed to execute one or more tasks continuously, with speed and precision. There are various kinds of robots can be found depending on the type of tasks for them to perform. Generally, robots are computer controlled but they can be controlled by a human operator from a great distance.
On the basis of being controlled, there are two categories of robots; autonomous robots and insect robots. An autonomous robot is a robot which is complete with its own computer. This computer controls the actions of the robot and the robot acts as a stand-alone system.





Whereas, on the other hand, insect robots work in fleets with numbers ranging from a few to thousands. These all members work under the supervision of a single controller.












Robots are also categorised according to the time frame in which they were first widely used. First-generation robots fall in the time frame 1970s and constitute stationary, nonprogrammable, electromechanical devices without sensors. Second-generation robots date from the 1980s and consist of sensors and programmable controllers.
Third-generation robots fall in the time frame between 1990 and the present. These machines can be stationary or mobile, autonomous or insect type, with sophisticated programming, speech recognition and other advanced features.


Fourth-generation robots fall in the research and development phase and have special features as artificial intelligence, self-replication, self assembly and nanoscale size. There is another type of robots called androids which have significant resemblance to human beings. They are mobile, usually moving around on wheels or on a track.

Reed Switches - Introduction

I apologise for posting my entry very late on the blog. The reason behind this is my injury because of what I was on the bed for more than 4 weeks and I could not do any work. After four weeks, I did my work but could not post it on the blog because of no internet access.

Reed switches are tiny switches that contain magnetisable, flexible, metal reeds whose end parts are separated by small gap when the switch is open. When they are exposed to a magnetic field, the magnetisable metals inside the switch tend to come in contact with each other and hence completing the electrical circuit. Since these reeds are quite stiff, it causes them to separate, resulting in an open circuit. This happens when there is no magnetic field.

The most important quality of these types of switches is their sensitivity to magnetic field. Its sensitivity is measured in ampere-turns, corresponding to the current flowing through the coil to the number of turns. The sensitivity ranges between 10 to 60 Ampere-turns for commercial devices. The lower the value of AT is more sensitive the switch is.
In manufacturing, a metal reed is inserted in each end of a glass tube and the ends of the glass tube are sealed by heating. They are heated so that both ends seal a portion of the reed. The glass of the tube is infrared absorbing glass, has a high electrical resistance and must not contain volatile components such as lead oxides and fluorides.

Prototyping and Building the Chassis

In order for the vehicle to do anything we must find a way of holding all the components together on a chassis.

There are multiple factors that must be taken into account such as weight, strength and thickness.



With our prototype we used a card base however it was instantly clear that card was not strong enough to support the circuitry. It did however give us some idea of what size was needed and what shape was best.

With card ruled out as a usable material the realistic choices were down to acrylic, wood (such as plywood) and metal (such as thin aluminium)

In the end it was decided that thhe chassis would be built from a thin aluminium due to the advantage in strength whilst not comprimising on the weight. A hole was added where a brass runner was placed that would mean the buggy is held up at the front.