Embedded Programming

 

ASSIGNMENT

Individual Assignemnt

read a microcontroller data sheet
program your board to do something, with as many different programming languages and programming environments as possible

Group assignment

compare the performance and development workflows for other architectures

 

INTRODUCTION

Using the boards I made in (WEEK_10) I can show very simply how to load a program onto them.

 

 

 

 

First of all I have to know which PINs I have on my board and what they correspond to, and where is the GND, VCC, SCK, SCL and if as in my case there are "extra" PINs, or connected to one of the pins of my programmer (Attiny_44 for me).

WHAT I HAVE ON MY BOARD

 

 

When I know what that "x" PIN corresponds to, I can proceed to get what I need:
- my programmer with the MicroUSB-USB cable
- my board
- an ISP connector cable
- a break board
- jumper

WHAT I NEED FOR PROGRAMMING

 

 

In order to understand exactly which pins I need, in addition to looking at my board I need to understand which connection corresponds to that PIN. In order to do this, I'm going to Google the "DATASHEET" of my Micro Controller (Attiny_44) so as to understand which connection corresponds to that pin.
To be able to orientate and therefore understand which way to look at the Microcontroller, just look at it and find a dot: that dot tells me that that is the "top" of my Microcontroller, and that to be "straight" it will have to be on the top left.

WHAT I HAVE TO KNOW AND CHECK AT ALL TIMES

 

 

Once I have everything I just have to connect my PROGRAMMER to my PC through the MicroUSB-USB cable, my PROGRAMMER to my BOARD through the ISP cable and my BOARD to the BREAK BOARD through jumpers.

CONNECTION

 

 

After that I just have to write my sketch, load it through the programmer and see what happens:

I wrote my code

CODE

 

 

After that I just have to write my sketch, load it through the programmer and see what happens:

HOW TO UPLOAD A SKETCH

 

WHAT HAPPENS

 

 

FILE

- CODE
- BOARD
- SCHEMATIC