Presentation is loading. Please wait.

Presentation is loading. Please wait.

Recoded. Significance of programming Digitalised era- phones, computers, industrial processes… Raspberry programming device Exploration of the concept.

Similar presentations


Presentation on theme: "Recoded. Significance of programming Digitalised era- phones, computers, industrial processes… Raspberry programming device Exploration of the concept."— Presentation transcript:

1 Recoded

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

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

4 Roaming with whiskers Ben, Adam, Byron

5 The equipment required

6 The setup

7 How do they work?

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?

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

10 Getting stuck in corners Here, it would just keep going left and right!

11 A-maze-ing? No. Just no. This isn’t very good for actually solving mazes, as the robot would never know when there is a gap. ‘But can’t you solve a maze by sticking to the left wall?’

12 Will robots take over the world?

13 Where is infrared radiation

14 Navigation using IR radiation Infrared headlights and receivers acts as bot’s eyes Headlights send out IR radiation, reflects off of object and back towards receivers Similar principle to TV remote Flash rate of roughly 38kHz

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

16

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

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!

19 Phototransistors

20 Phototransistors breadboard set up The physical set up of the bot. The code that makes it detect light.

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.

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.

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 :


Download ppt "Recoded. Significance of programming Digitalised era- phones, computers, industrial processes… Raspberry programming device Exploration of the concept."

Similar presentations


Ads by Google