Recoded. Significance of programming Digitalised era- phones, computers, industrial processes…...
Preview:
Citation preview
- Slide 1
- Recoded
- Slide 2
- Significance of programming Digitalised era- phones, computers,
industrial processes Raspberry programming device Exploration of
the concept of artificial life through media Moore's law: computer
processing power doubles every other year Stephen Hawking
prediction artificial life will take over
- Slide 3
- Arduino Hardware/ breadboard Software computer programming
language-c Our task- Program a robot to use components Use c to
write coding Program our robot to navigate itself through a simple
maze
- Slide 4
- Roaming with whiskers Ben, Adam, Byron
- Slide 5
- The equipment required
- Slide 6
- The setup
- Slide 7
- How do they work?
- Slide 8
- Roaming about the place The code is actually quite simple:
Setting up the wheels Set up the whiskers, and make the servos on
the wheels controllable by the outputs of the Arduino. Then,
forever; If both whiskers are touched, go backwards If the left
whisker is touched, go right If the right whisker is touched, go
left If neither whisker is touched, go forwards How do we make this
really simple?
- Slide 9
- Functions! To go forwards; Move the left wheel clockwise and
the right wheel anticlockwise To go left; Both wheels go
anticlockwise To go right; Both wheels go clockwise To go
backwards; The left wheel goes anticlockwise, the right wheel goes
clockwise
- Slide 10
- Getting stuck in corners Here, it would just keep going left
and right!
- Slide 11
- A-maze-ing? No. Just no. This isnt very good for actually
solving mazes, as the robot would never know when there is a gap.
But cant you solve a maze by sticking to the left wall?
- Slide 12
- Will robots take over the world?
- Slide 13
- Where is infrared radiation
- Slide 14
- Navigation using IR radiation Infrared headlights and receivers
acts as bots eyes Headlights send out IR radiation, reflects off of
object and back towards receivers Similar principle to TV remote
Flash rate of roughly 38kHz
- Slide 15
- How did we make it then? Parts list: IR receivers IR LEDs
(clear case) IR LED shield assemblies Resistors, 220
(red-red-brown) Resistors, 2 k (red-black-red) Jumper wires
- Slide 16
- Slide 17
- Although a chance in the resistors will affect the distance
that the bot will detect. The greater the resistance the shorter
the detecting distance
- Slide 18
- The tone made indicated that the bot was about to move. But we
thought we could have it do so much more. Hope u can hear it!
- Slide 19
- Phototransistors
- Slide 20
- Phototransistors breadboard set up The physical set up of the
bot. The code that makes it detect light.
- Slide 21
- Phototransistors They are light sensitive transistors. We
programmed our bot to stop moving after a certain voltage is
reached. When you shine a light on them the robot will stop moving.
This is because the current detected increases, which results in an
increase in voltage.
- Slide 22
- Moving the robot using light We then programmed our bot to move
as the light is shined. When you shine a light on them the robot
will turn in the direction where there is less light being
shone.
- Slide 23
- Semi-dependant movement Our Project was about getting the robot
to move quasi-autonomously, we achieved success in the form of
directing the bot using bright light Here are some of our results
: