SlideShare una empresa de Scribd logo
1 de 62
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

Más contenido relacionado

Más de aiaioo

Más de aiaioo (8)

Learning Non-Linear Functions for Text Classification
Learning Non-Linear Functions for Text ClassificationLearning Non-Linear Functions for Text Classification
Learning Non-Linear Functions for Text Classification
 
Vaklipi Text Analytics Tools
Vaklipi Text Analytics ToolsVaklipi Text Analytics Tools
Vaklipi Text Analytics Tools
 
Fun with Text - Managing Text Analytics
Fun with Text - Managing Text AnalyticsFun with Text - Managing Text Analytics
Fun with Text - Managing Text Analytics
 
Fun with Text - Hacking Text Analytics
Fun with Text - Hacking Text AnalyticsFun with Text - Hacking Text Analytics
Fun with Text - Hacking Text Analytics
 
Vaklipi (Natural Language Programming and Queries)
Vaklipi (Natural Language Programming and Queries)Vaklipi (Natural Language Programming and Queries)
Vaklipi (Natural Language Programming and Queries)
 
Statistics for linguistics
Statistics for linguisticsStatistics for linguistics
Statistics for linguistics
 
Rules engines to machine learning
Rules engines to machine learningRules engines to machine learning
Rules engines to machine learning
 
Aiaioo labs - Only Slightly Futuristic
Aiaioo labs - Only Slightly FuturisticAiaioo labs - Only Slightly Futuristic
Aiaioo labs - Only Slightly Futuristic
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Arduino for Indian Languages

  • 1. Aiaioo Labs (www.aiaioo.com)Bangalore, India Arduino for Indian Languages
  • 2. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages What can you teach using Arduino? Computers Electronics Students
  • 3. 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
  • 4. Computer Science Concepts How do we teach computers now? Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 5. Computer Science Concepts PowerPoint How do we teach computers now? Word Excel Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 6. Computer Science Concepts PowerPoint What is the problem? Word Excel Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages
  • 7. Computer Science Concepts PowerPoint What is the problem? Word Excel Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages 1. These are boring
  • 8. 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
  • 9. 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
  • 10. 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
  • 11. 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
  • 12. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages ಕನ್ನಡದಲ್ಲಿ ‘ಆರ್ಡ್ವೀನ ವ’ ಕರಮವಿಧಿಗಳನ್ನನ ಬರ ಯಲನ ಕಲ್ಲಯಿರಿ
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. 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;
  • 17. 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 ಕ ತನುಂಬುಂಕ ಕ = ೨;
  • 18. 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
  • 19. 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
  • 20. 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
  • 21. 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
  • 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 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 ಕಿ
  • 24. 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 ಕಿ
  • 25. 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 ಕಿ
  • 26. 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 ಕಿ
  • 27. 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
  • 28. 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 ಕಿ
  • 29. 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
  • 30. 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
  • 31. 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 ಕಿ
  • 32. 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 ಕಿ
  • 33. 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 ಕಿ
  • 34. 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 ಕಿ
  • 35. 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 ಕಿ
  • 36. 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 ಕಿ
  • 37. 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 ಕೆ
  • 38. 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 ಕೆ
  • 39. 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 ಕಿ
  • 40. 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 ಕಿ
  • 41. 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
  • 42. 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
  • 43. 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
  • 44. 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 ಕಿ
  • 45. 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
  • 46. 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
  • 47. 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 ಐ
  • 48. 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
  • 49. 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
  • 50. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages What can you teach using Arduino? Computers Electronics Students
  • 51. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages What can you teach using Arduino? Electronics Analog Electronics Digital Electronics
  • 52. 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
  • 53. 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
  • 54. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Writing Analog Values ತನುಂಬುಂಕ ತುಂತಿ=೩; ಮೌಲಯವನ್ನನ_ಬರ (ತುಂತಿ, ೨೫೫);
  • 55. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Reading Analog Values int pin=3; int value = analogRead(pin);
  • 56. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Reading Analog Values ತನುಂಬುಂಕ ತುಂತಿ=೩; ತನುಂಬುಂಕ ಮೌಲಯ= ಮೌಲಯವನ್ನನ_ಓದನ(ತುಂತಿ);
  • 57. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Digital Electronics Digital Pins
  • 58. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Writing Digital Values int pin=13; digitalWrite(pin, HIGH);
  • 59. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Writing Digital Values ತನುಂಬುಂಕ ತುಂತಿ=೧೩; ಅುಂಕ ಯನ್ನನ_ಬರ (ತುಂತಿ, ಹ ಚ್ನು);
  • 60. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Reading Digital Values int pin=13; int value = digitalRead(pin);
  • 61. Aiaioo Labs (www.aiaioo.com)Arduino in Indian Languages Reading Digital Values ತನುಂಬುಂಕ ತುಂತಿ=೧೩; ತನುಂಬುಂಕ ಮೌಲಯ= ಅುಂಕ ಯನ್ನನ_ಓದನ(ತುಂತಿ);

Notas del editor

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