Global session
global session
global session

Week 8

  • Category:Embedded Programming
  • Sessions Date:
  • Assignment:
      Group Assignment
    1. compare the performance and development workflows for other architectures
      Individual Assignment
    1. read the data sheet for your microcontroller
    2. use your programmer to program your board to do something
    3. extra credit: try other programming languages and development environments
Individual Assignment
Reading Datasheet

For our Fabacademy, I will be using the tinyAVR family. The Datasheet was 21 long pages so I skimmed and scanned through it to understand the basics.

ATtiny44
datasheet

    The ATtiny44 terms
  1. VCC: Power Supply
  2. GND: Ground
  3. Port B (PB3...PB0)4-bit bi-directional I/O port with internal pull-up resistors.
  4. RESET: Reset input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running.
  5. Port A (PA7:PA0): a 8-bit bi-directional I/O port with internal pull-up resistors

datasheet

The ATtiny 44 requires 1.8-5.5v power supply and its operational range is from -45 deg - 85 deg celsious.

Block Data
datasheet

Programming

For this week, we have to program our board (Echo-Hello-World) which made in the Electronic Design week using the Programmer (FabISP) which we made in the Electronic Production week.

  • First install Windows 10 driver here (USBtinyISP)
  • After that I connected the Fabisp to the Hello world board using the SPI cable. I followed the spi pinout diagram below to connect the FabISP to Echo Hello World.

  • datasheet

  • Since, I have already programmed my Echo hello world using ISP in my week 6 Electronic Design, I followed the same steps.
  • First I set my board to ATtiny 24/44/84, then set the processor as ATtiny44 and then set mmy Programmer to USBtinyISP.

  • datasheet

  • After that I went into examples and used the blink code. I changed my output pin to 8 and I uploaded it.And it was successfully uploaded.

  • datasheet

    Below is a video of the programmed board.



    Group Assignment

    Click here for the group assignment

    <<<<<<< HEAD

    Files

    Source code ======= >>>>>>> d5312eec27bae457dd50bcc3d9cdcee965365c51