csc 2700 3 introduction to robotics
Download
Skip this Video
Download Presentation
CSC-2700 – (3) Introduction to Robotics

Loading in 2 Seconds...

play fullscreen
1 / 19

CSC-2700 – (3) Introduction to Robotics - PowerPoint PPT Presentation


  • 127 Views
  • Uploaded on

CSC-2700 – (3) Introduction to Robotics. Robotics Research Laboratory Louisiana State University. What we learned in last class. Microcontroller AVR-C. Atmel- ATMega128 – 8bit - PIN : 64 - Speed: 16 Mhz - Memory: 128KB-ISP, 4KB-EEPROM - Power Consumption : 0.2 W . Variable Type

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' CSC-2700 – (3) Introduction to Robotics' - boone


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
csc 2700 3 introduction to robotics

CSC-2700 – (3) Introduction to Robotics

Robotics Research Laboratory

Louisiana State University

what we learned in last class
What we learned in last class
  • Microcontroller
  • AVR-C

Atmel- ATMega128 – 8bit

- PIN : 64

- Speed: 16 Mhz

- Memory: 128KB-ISP, 4KB-EEPROM

- Power Consumption : 0.2 W

Variable Type

- uint8_t, uint16_t, uint32_t, Char, int, double, float, array[], pointer*

Condition / Loop

- if (){}else{}, switch case

- for (;;), while(){}, do()while{}

topics for today
Topics for today
  • Digital Port
    • PORT A, C, G
    • PORT B, D, E, F
  • Digital Output
    • LED
    • LED-Matrix
    • Buzzer
digital ports
Digital Ports
  • PORT A – digital in/out
  • PORT B – PWM/ISP (In System Programming)
  • PORT C – digital in/out
  • PORT D – Interrupt / UART1
  • PORT E – Interrupt/ PWM / UART0
  • PORT F – Analog to Digital
  • PORT G – digital in / out

All ports can be configured for Digital in/out port

digital out
Digital out
  • LED control
    • Turn ON : LED_ON ( COLOR )
    • Turn OFF : LED_OFF( COLOR )
    • Toggle : TOGGLE (COLOR_LED)
    • Brightness –
      • more than 25 blinking per second, it looks keep on
      • Each blinking period adjust LED on/off time duration
    • What does the abbreviation LED mean?
diode
Diode
  • The most common function of a diode is to allow an electric current to pass in one direction, while blocking current in the opposite direction
    • Protect circuits from high voltage surges

- Avalanche diodes

    • Regulate voltage - Zener diodes
    • Electronically tune radio and TV receivers

- Varicap diodes

    • Generate radio frequency oscillations

- Tunnel diodes, Gunn diodes, IMPATT diodes

    • Convert light into either current or voltage

- Photodiode

    • Produce light - Light Emitting Diodes (LED)
let make 3 3 led matrix program
Let make 3 * 3 LED matrix program

COL1

COL2

COL3

COL1

COL2

COL3

ROW1

ROW1

ROW2

ROW2

ROW3

ROW3

make some patterns on led matrix
Make some patterns on LED matrix

COL1

COL2

COL1

COL2

COL3

COL3

ON

OFF

OFF

ON

OFF

OFF

2

ROW1

OFF

1

ROW1

ON

3

2

1

3

ROW2

ROW2

5

4

ON

OFF

6

5

4

6

8

7

9

8

7

9

ROW3

ON

ROW3

ON

COL1

COL2

COL3

OFF

OFF

ON

ROW1

ON

2

1

3

ROW2

5

ON

4

6

8

7

9

ROW3

OFF

how about this animation
How about this animation

1

3

2

1

3

2

1

3

2

4

6

5

4

6

5

4

6

5

COL1

COL2

COL3

8

7

9

8

7

9

8

7

9

ROW1

1

3

2

1

3

2

ROW2

4

6

5

4

6

5

ROW3

8

7

9

8

7

9

1

3

2

1

3

1

3

2

2

1

3

2

4

6

5

4

6

4

6

5

5

4

6

5

8

7

9

8

8

7

7

9

9

8

7

9

how to make this pattern
How to make this pattern

ON

OFF

OFF

OFF

2

Repeat this

25 times per second

at least

1

3

ON

6

5

4

COL1

COL2

COL3

8

7

ON

9

ON

OFF

OFF

ROW1

2

1

3

OFF

2

3

1

ROW2

5

4

6

ON

5

4

6

8

7

ROW3

9

8

7

ON

9

ON

OFF

OFF

OFF

1

2

3

ON

5

4

6

8

9

7

ON

let s try to make some patterns
Let’s try to make some patterns

COL1

COL2

COL3

COL1

COL2

COL3

ROW1

2

1

3

2

3

1

ROW1

ROW2

5

4

5

4

6

ROW2

6

8

7

9

ROW3

ROW3

8

7

9

can we make this animation
Can we make this animation

COL1

COL2

COL3

1

3

ROW1

2

1

3

2

4

6

ROW2

5

4

6

5

8

7

9

ROW3

8

7

9

different size of led matrix
Different size of LED matrix
  • 3 * 3 LED matrix
  • 5 * 7 LED matrix
  • 8 * 8 LED matrix
  • 1280 * 720 LED matrix
    • if three colors(Red, Green, Blue) are in one LED dot

SD – LED TV

1920 * 1020 (RGB)LED matrix

HD – LED TV

digital out1
Digital out
  • Buzzer – sound
    • Tic- tac noise
    • Siren
    • Sound pitch control
    • Song
homework 3
Homework -3
  • Make the animation in slide-15
  • (Bonus Point)Display “-GO_TIGER” on LED-Matrix
  • (Bonus Point) Make characters move from right to left

G

-

O

I

E

G

T

S

R

_

  • G O _ T I G E R S
open mind quiz 3
Open Mind Quiz (3)
  • There are two gates, one is for heaven and the other is for hell.
  • There are one angel and one devil, and we don’t know who angel is
  • The angel say always true but devil say always false
  • You have only one chance to ask one of them
  • How to figure out which gate is for heaven?

1

2

A

B

ad