0%
0%

Sam DEV

Arduino Nano style board for Atmel's SAM D20 / D21 ARM microcontrollers

alexAlex

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests
Similar projects worth following
1.2k views
View Gallery
Simple to use and Breadboard friendly PCB for SAM21D / SAM20D ARM cortex M0+ microcotrollers. Inspirited by The Arduino nano and other boards from <a href="http://hackaday.io" target="_blank">hackaday.io</a>.

Inspirations/Credits

  • 1 ×ばつ ATSAMD21G17-AU 32bit microcontroller TQFP48
  • 1 ×ばつ LD117AS33TR LOW DROP FIXED POSITIVE VOLTAGE REGULATORS 1A
  • 1 ×ばつ MINI-USB-SHIELD-UX60-MB-5ST MINI USB Connector
  • 1 ×ばつ 12.000M HZ Crystal
  • 1 ×ばつ USBLC6-2 Very low capacitance ESD protection
  • First tests

    Ethon 11/16/2015 at 15:06 0 comments

    After an while we received most of the components and soldered them all together. Now we are testing some of the basic functions and die IO's of the board.

    At the picture you can see the first test, to toggle a LED with a button by using ASF.

    Code:

    #include <asf.h>
    #define LED PIN_PA08
    #define BUTTON PIN_PA09
    void stepup_pins(void)
    {
     struct port_config pin_conf; // create struct
     pin_conf.direction = PORT_PIN_DIR_INPUT; // set to input
     pin_conf.input_pull = PORT_PIN_PULL_UP; // set to pullup
     pin_conf.powersave = false; // set not to powersave
     port_pin_set_config(BUTTON, &pin_conf); // configure pin PAxx
     pin_conf.direction = PORT_PIN_DIR_OUTPUT; // set to output
     pin_conf.input_pull = PORT_PIN_PULL_NONE; // set not to pullup
     pin_conf.powersave = false; // set not to powersave
     port_pin_set_config(LED, &pin_conf); // configure pin PAxx
    }
    void main(void)
    {
     system_init();
     stepup_pins();
     while (true) 
     {
     bool pin_state = true;
     pin_state = port_pin_get_input_level(BUTTON);
     port_pin_set_output_level(LED, !pin_state);
     }
    }

  • PCBs arrived

    Ethon 11/03/2015 at 13:23 0 comments

    Finally the pcbs arrived.

View all 2 project logs

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Does this project spark your interest?

to follow this project and never miss any updates

Cancel

AltStyle によって変換されたページ (->オリジナル) /