Aiaioo Labs (www.aiaioo.com)Bangalore, India
Arduino
for Indian Languages
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
What can you teach using Arduino?
Computers
Electronics
Students
What do you mean by Computer Science Concepts?
Getting an understanding of
1. how a computer works
2. how it is programmed
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Computer Science Concepts
How do we teach computers now?
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Computer Science Concepts
PowerPoint
How do we teach computers now?
Word
Excel
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Computer Science Concepts
PowerPoint
What is the problem?
Word
Excel
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Computer Science Concepts
PowerPoint
What is the problem?
Word
Excel
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
1. These are boring
Computer Science Concepts
PowerPoint
What is the problem?
Word
Excel
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
1. These are boring
2. They were designed to be used
without knowing how a computer
works
Computer Science Concepts
So how do you learn computer
science concepts?
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
1. Learn how a computer stores and
processes information
2. Learn how to program a computer to
do various things
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Computers Students
You can use Arduino to …
1. Demonstrate how a computer stores
and processes information
2. Teach how to program a computer to
do various things
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Computers Students
You can use Arduino to …
1. Demonstrate how a computer stores
and processes information
2. Teach how to program a computer to
do various things
And you can do it in Kannada
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
ಕನ್ನಡದಲ್ಲಿ
‘ಆರ್ಡ್ವೀನ ವ’
ಕರಮವಿಧಿಗಳನ್ನನ
ಬರ ಯಲನ
ಕಲ್ಲಯಿರಿ
Computer Concepts
Explaining the basic things a computer can do:
1) Storing Information
2) Arithmetic Operations
3) Logical Operations
4) Bitwise Operations
5) Transfer of Control
6) Repeating Actions
Teaching students to program a computer to do those things.
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Storing Information
A computer stores information as a series of 0s and 1s.
000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Binary numbers
Decimal numbers
Memory location
Writing a Program for Storing Information
Boxes where information is stored are called memory locations.
010 = 2
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location
You can give it a name
x
Writing a Program for Storing Information
Boxes where information is stored are called memory locations.
010 = 2
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location
You can give it a name
x
int x = 2;
Writing a Program for Storing Information in Kannada
Boxes where information is stored are called memory locations.
010 = 2
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location
You can give it a name
ಕ
ತನುಂಬುಂಕ ಕ = ೨;
A Program to Read Information
Boxes where information is stored are called memory locations.
010 = 2
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location
You have given the location a name
ಕ
Serial.print(ಕ);
Use that name to display the stored information
A Program to Read Information in Kannada
Boxes where information is stored are called memory locations.
010 = 2
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location
You have given the location a name
ಕ
ಅನ್ನಕರಮ.ಛಾಪಿಸನ(ಕ);
Use that name to display the stored information
Arithmetic Operations
A computer manipulates information stored as 0s and 1s.
000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
Memory location ಕಿ
Operations
Addition, Subtraction, Multiplication, Division, Remainder
Writing a Program for Adding Two Numbers
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location x
x + y
Memory location y
Adding Two Numbers (names in Kannada)
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ + ಕಿ
Memory location ಕಿ
Subtracting Two Numbers
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ - ಕಿ
Memory location ಕಿ
Multiplying Two Numbers
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ * ಕಿ
Memory location ಕಿ
Dividing Two Numbers
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ / ಕಿ
Memory location ಕಿ
Remainder from Dividing Two Numbers
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ % ಕಿ
Memory location ಕಿ
Bitwise Operations
A computer manipulates information stored as 0s and 1s.
000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
Memory location ಕಿ
Operations
XOR, Shifting
XOR of Two Numbers
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ ^ ಕಿ
Memory location ಕಿ
Shifting a Number
Boxes where information is stored are called memory locations.
010 = 2
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ >> 1
Logical Operations
A computer manipulates information stored as 0s and 1s.
000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
Memory location ಕಿ
Operations
Equal, Not Equal, Greater, Lesser, And, Or, Not
Two Numbers Being Equal
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ == ಕಿ
Memory location ಕಿ
Two Numbers Being Unequal
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ != ಕಿ
Memory location ಕಿ
One Number Being Less Than Another
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ < ಕಿ
Memory location ಕಿ
One Number Being Less Than or Equal to Another
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ <= ಕಿ
Memory location ಕಿ
One Number Being Greater Than Another
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ > ಕಿ
Memory location ಕಿ
One Number Being Greater Than or Equal to Another
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ >= ಕಿ
Memory location ಕಿ
And
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
011 = 3
100 = 4
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ >= ಕಿ && ಕನ > ಕ
Memory location ಕಿ
Memory location ಕು
Memory location ಕೆ
Or
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
011 = 3
100 = 4
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಕ >= ಕಿ || ಕನ > ಕ
Memory location ಕಿ
Memory location ಕು
Memory location ಕೆ
Not
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
! ( ಕ >= ಕಿ )
Memory location ಕಿ
Not
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
! ( ಕ >= ಕಿ )
Memory location ಕಿ
Transfer of Control
A computer manipulates information stored as 0s and 1s using
instructions stored as 0s and 1s.
000 = 0 000 = assign
001 = 1 000 = assign
010 = 2 010 = +
011 = 3 011 = -
100 = 4 100 = >
101 = 5 111 = jump
110 = 6 001 = print
111 = 7 001 = print
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory Instructions
Transfer of Control
A computer manipulates information stored as 0s and 1s using
instructions stored as 0s and 1s.
000 = 0 int a = 1 000 = assign
001 = 1 int b = 2 000 = assign
010 = 2 a = a + b 010 = +
011 = 3 b = a - b 011 = -
100 = 4 a = a - b 100 = -
101 = 5 (a > b) 100 = >
110 = 6 if (a > b) 111 = jump
111 = 7 print a 001 = print
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory Instructions
If
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location a
if ( a < b )
Memory location b
If (ಆದರ in Kannada)
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಕ
ಆದರ ( ಕ < ಕಿ )
Memory location ಕಿ
Repeating Actions
You can repeat actions by jumping backwards.
000 = 0 int i = 0 000 = assign
001 = 1 (i >= 10) 100 = >
010 = 2 if (i >= 10) 111 = jump
011 = 3 sum + a 010 = +
100 = 4 sum = sum+a 000 = assign
101 = 5 (i < 10) 100 = >
110 = 6 if (i < 10) 111 = jump
111 = 7 print sum 001 = print
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory Instructions
For
Boxes where information is stored are called memory locations.
000 = 0
000 = 0
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location sum
int sum = 0, i = 0;
for (; i<10; ++i) {
sum = sum + i; }
Memory location i
For (ಕರಮವಾಗಿ in Kannada)
Boxes where information is stored are called memory locations.
000 = 0
000 = 0
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location ಒುಂಟಿಗ
ತನುಂಬುಂಕ ಒಟಿಿಗ =0,ಐ=0;
ಕರಮವಾಗಿ (;ಐ<೧೦;++ಐ){
ಒಟಿಿಗ = ಒಟಿಿಗ +ಐ; }
Memory location ಐ
While
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
000 = 0
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location a
int sum = 0;
while (sum+a < b) {
sum = sum + a; }
Memory location b
Memory location sum
While (ಆಗನವಾಗ in Kannada)
Boxes where information is stored are called memory locations.
010 = 2
101 = 5
000 = 0
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Memory location a
ತನುಂಬುಂಕ ಒ = 0;
ಆಗನವಾಗ (ಒ+ಕ<ಕಿ) {
ಒ = ಒ + ಕ; }
Memory location b
Memory location sum
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
What can you teach using Arduino?
Computers
Electronics
Students
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
What can you teach using Arduino?
Electronics
Analog Electronics Digital Electronics
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Analog Electronics
Image from http://www.arduino.org/products/boards/4-arduino-boards/arduino-uno-wifi
Analog Pins
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Writing Analog Values
int pin=3;
analogWrite(pin,
255);
Image from http://www.simplelabs.co.in/content/induino-r5-arduino-r3-usb-clone-board
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Writing Analog Values
ತನುಂಬುಂಕ ತುಂತಿ=೩;
ಮೌಲಯವನ್ನನ_ಬರ (ತುಂತಿ,
೨೫೫);
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Reading Analog Values
int pin=3;
int value =
analogRead(pin);
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Reading Analog Values
ತನುಂಬುಂಕ ತುಂತಿ=೩;
ತನುಂಬುಂಕ ಮೌಲಯ=
ಮೌಲಯವನ್ನನ_ಓದನ(ತುಂತಿ);
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Digital Electronics Digital Pins
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Writing Digital Values
int pin=13;
digitalWrite(pin,
HIGH);
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Writing Digital Values
ತನುಂಬುಂಕ ತುಂತಿ=೧೩;
ಅುಂಕ ಯನ್ನನ_ಬರ (ತುಂತಿ,
ಹ ಚ್ನು);
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Reading Digital Values
int pin=13;
int value =
digitalRead(pin);
Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
Reading Digital Values
ತನುಂಬುಂಕ ತುಂತಿ=೧೩;
ತನುಂಬುಂಕ ಮೌಲಯ=
ಅುಂಕ ಯನ್ನನ_ಓದನ(ತುಂತಿ);
Bangalore, India
Speaker: cohan@aiaioo.comEnd
The End

Arduino for Indian Languages

  • 1.
    Aiaioo Labs (www.aiaioo.com)Bangalore,India Arduino for Indian Languages
  • 2.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages What can you teach using Arduino? Computers Electronics Students
  • 3.
    What do youmean by Computer Science Concepts? Getting an understanding of 1. how a computer works 2. how it is programmed Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 4.
    Computer Science Concepts Howdo we teach computers now? Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 5.
    Computer Science Concepts PowerPoint Howdo we teach computers now? Word Excel Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 6.
    Computer Science Concepts PowerPoint Whatis the problem? Word Excel Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 7.
    Computer Science Concepts PowerPoint Whatis the problem? Word Excel Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages 1. These are boring
  • 8.
    Computer Science Concepts PowerPoint Whatis the problem? Word Excel Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages 1. These are boring 2. They were designed to be used without knowing how a computer works
  • 9.
    Computer Science Concepts Sohow do you learn computer science concepts? Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages 1. Learn how a computer stores and processes information 2. Learn how to program a computer to do various things
  • 10.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Computers Students You can use Arduino to … 1. Demonstrate how a computer stores and processes information 2. Teach how to program a computer to do various things
  • 11.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Computers Students You can use Arduino to … 1. Demonstrate how a computer stores and processes information 2. Teach how to program a computer to do various things And you can do it in Kannada
  • 12.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages ಕನ್ನಡದಲ್ಲಿ ‘ಆರ್ಡ್ವೀನ ವ’ ಕರಮವಿಧಿಗಳನ್ನನ ಬರ ಯಲನ ಕಲ್ಲಯಿರಿ
  • 13.
    Computer Concepts Explaining thebasic things a computer can do: 1) Storing Information 2) Arithmetic Operations 3) Logical Operations 4) Bitwise Operations 5) Transfer of Control 6) Repeating Actions Teaching students to program a computer to do those things. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 14.
    Storing Information A computerstores information as a series of 0s and 1s. 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 101 = 5 110 = 6 111 = 7 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Binary numbers Decimal numbers Memory location
  • 15.
    Writing a Programfor Storing Information Boxes where information is stored are called memory locations. 010 = 2 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location You can give it a name x
  • 16.
    Writing a Programfor Storing Information Boxes where information is stored are called memory locations. 010 = 2 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location You can give it a name x int x = 2;
  • 17.
    Writing a Programfor Storing Information in Kannada Boxes where information is stored are called memory locations. 010 = 2 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location You can give it a name ಕ ತನುಂಬುಂಕ ಕ = ೨;
  • 18.
    A Program toRead Information Boxes where information is stored are called memory locations. 010 = 2 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location You have given the location a name ಕ Serial.print(ಕ); Use that name to display the stored information
  • 19.
    A Program toRead Information in Kannada Boxes where information is stored are called memory locations. 010 = 2 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location You have given the location a name ಕ ಅನ್ನಕರಮ.ಛಾಪಿಸನ(ಕ); Use that name to display the stored information
  • 20.
    Arithmetic Operations A computermanipulates information stored as 0s and 1s. 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 101 = 5 110 = 6 111 = 7 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ Memory location ಕಿ Operations Addition, Subtraction, Multiplication, Division, Remainder
  • 21.
    Writing a Programfor Adding Two Numbers Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location x x + y Memory location y
  • 22.
    Adding Two Numbers(names in Kannada) Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ + ಕಿ Memory location ಕಿ
  • 23.
    Subtracting Two Numbers Boxeswhere information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ - ಕಿ Memory location ಕಿ
  • 24.
    Multiplying Two Numbers Boxeswhere information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ * ಕಿ Memory location ಕಿ
  • 25.
    Dividing Two Numbers Boxeswhere information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ / ಕಿ Memory location ಕಿ
  • 26.
    Remainder from DividingTwo Numbers Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ % ಕಿ Memory location ಕಿ
  • 27.
    Bitwise Operations A computermanipulates information stored as 0s and 1s. 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 101 = 5 110 = 6 111 = 7 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ Memory location ಕಿ Operations XOR, Shifting
  • 28.
    XOR of TwoNumbers Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ ^ ಕಿ Memory location ಕಿ
  • 29.
    Shifting a Number Boxeswhere information is stored are called memory locations. 010 = 2 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ >> 1
  • 30.
    Logical Operations A computermanipulates information stored as 0s and 1s. 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 101 = 5 110 = 6 111 = 7 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ Memory location ಕಿ Operations Equal, Not Equal, Greater, Lesser, And, Or, Not
  • 31.
    Two Numbers BeingEqual Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ == ಕಿ Memory location ಕಿ
  • 32.
    Two Numbers BeingUnequal Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ != ಕಿ Memory location ಕಿ
  • 33.
    One Number BeingLess Than Another Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ < ಕಿ Memory location ಕಿ
  • 34.
    One Number BeingLess Than or Equal to Another Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ <= ಕಿ Memory location ಕಿ
  • 35.
    One Number BeingGreater Than Another Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ > ಕಿ Memory location ಕಿ
  • 36.
    One Number BeingGreater Than or Equal to Another Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ >= ಕಿ Memory location ಕಿ
  • 37.
    And Boxes where informationis stored are called memory locations. 010 = 2 101 = 5 011 = 3 100 = 4 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ >= ಕಿ && ಕನ > ಕ Memory location ಕಿ Memory location ಕು Memory location ಕೆ
  • 38.
    Or Boxes where informationis stored are called memory locations. 010 = 2 101 = 5 011 = 3 100 = 4 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಕ >= ಕಿ || ಕನ > ಕ Memory location ಕಿ Memory location ಕು Memory location ಕೆ
  • 39.
    Not Boxes where informationis stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ! ( ಕ >= ಕಿ ) Memory location ಕಿ
  • 40.
    Not Boxes where informationis stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ! ( ಕ >= ಕಿ ) Memory location ಕಿ
  • 41.
    Transfer of Control Acomputer manipulates information stored as 0s and 1s using instructions stored as 0s and 1s. 000 = 0 000 = assign 001 = 1 000 = assign 010 = 2 010 = + 011 = 3 011 = - 100 = 4 100 = > 101 = 5 111 = jump 110 = 6 001 = print 111 = 7 001 = print Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory Instructions
  • 42.
    Transfer of Control Acomputer manipulates information stored as 0s and 1s using instructions stored as 0s and 1s. 000 = 0 int a = 1 000 = assign 001 = 1 int b = 2 000 = assign 010 = 2 a = a + b 010 = + 011 = 3 b = a - b 011 = - 100 = 4 a = a - b 100 = - 101 = 5 (a > b) 100 = > 110 = 6 if (a > b) 111 = jump 111 = 7 print a 001 = print Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory Instructions
  • 43.
    If Boxes where informationis stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location a if ( a < b ) Memory location b
  • 44.
    If (ಆದರ inKannada) Boxes where information is stored are called memory locations. 010 = 2 101 = 5 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಕ ಆದರ ( ಕ < ಕಿ ) Memory location ಕಿ
  • 45.
    Repeating Actions You canrepeat actions by jumping backwards. 000 = 0 int i = 0 000 = assign 001 = 1 (i >= 10) 100 = > 010 = 2 if (i >= 10) 111 = jump 011 = 3 sum + a 010 = + 100 = 4 sum = sum+a 000 = assign 101 = 5 (i < 10) 100 = > 110 = 6 if (i < 10) 111 = jump 111 = 7 print sum 001 = print Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory Instructions
  • 46.
    For Boxes where informationis stored are called memory locations. 000 = 0 000 = 0 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location sum int sum = 0, i = 0; for (; i<10; ++i) { sum = sum + i; } Memory location i
  • 47.
    For (ಕರಮವಾಗಿ inKannada) Boxes where information is stored are called memory locations. 000 = 0 000 = 0 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location ಒುಂಟಿಗ ತನುಂಬುಂಕ ಒಟಿಿಗ =0,ಐ=0; ಕರಮವಾಗಿ (;ಐ<೧೦;++ಐ){ ಒಟಿಿಗ = ಒಟಿಿಗ +ಐ; } Memory location ಐ
  • 48.
    While Boxes where informationis stored are called memory locations. 010 = 2 101 = 5 000 = 0 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location a int sum = 0; while (sum+a < b) { sum = sum + a; } Memory location b Memory location sum
  • 49.
    While (ಆಗನವಾಗ inKannada) Boxes where information is stored are called memory locations. 010 = 2 101 = 5 000 = 0 Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Memory location a ತನುಂಬುಂಕ ಒ = 0; ಆಗನವಾಗ (ಒ+ಕ<ಕಿ) { ಒ = ಒ + ಕ; } Memory location b Memory location sum
  • 50.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages What can you teach using Arduino? Computers Electronics Students
  • 51.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages What can you teach using Arduino? Electronics Analog Electronics Digital Electronics
  • 52.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Analog Electronics Image from http://www.arduino.org/products/boards/4-arduino-boards/arduino-uno-wifi Analog Pins
  • 53.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Writing Analog Values int pin=3; analogWrite(pin, 255); Image from http://www.simplelabs.co.in/content/induino-r5-arduino-r3-usb-clone-board
  • 54.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Writing Analog Values ತನುಂಬುಂಕ ತುಂತಿ=೩; ಮೌಲಯವನ್ನನ_ಬರ (ತುಂತಿ, ೨೫೫);
  • 55.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Reading Analog Values int pin=3; int value = analogRead(pin);
  • 56.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Reading Analog Values ತನುಂಬುಂಕ ತುಂತಿ=೩; ತನುಂಬುಂಕ ಮೌಲಯ= ಮೌಲಯವನ್ನನ_ಓದನ(ತುಂತಿ);
  • 57.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Digital Electronics Digital Pins
  • 58.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Writing Digital Values int pin=13; digitalWrite(pin, HIGH);
  • 59.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Writing Digital Values ತನುಂಬುಂಕ ತುಂತಿ=೧೩; ಅುಂಕ ಯನ್ನನ_ಬರ (ತುಂತಿ, ಹ ಚ್ನು);
  • 60.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Reading Digital Values int pin=13; int value = digitalRead(pin);
  • 61.
    Aiaioo Labs (www.aiaioo.com)Arduinoin Indian Languages Reading Digital Values ತನುಂಬುಂಕ ತುಂತಿ=೧೩; ತನುಂಬುಂಕ ಮೌಲಯ= ಅುಂಕ ಯನ್ನನ_ಓದನ(ತುಂತಿ);
  • 62.

Editor's Notes

  • #26 ಇಲ್ಲಿ ತುಂಬಂಕೆಯನ್ನು ಬಳಸಿದರೆ ಉತ್ತರ ೦ ಆಗುತ್ತದೆ. ಇಲ್ಲಿ ನನಸಂಕೆಯನ್ನು ಬಳಸಿದರೆ ಉತ್ತರ ೦.೪ ಆಗುತ್ತದೆ.