Git Product home page Git Product logo

unio's Introduction

All Nanodes (should!) have a Microchip 11AA02E48 serial EEPROM chip soldered to the underneath of the board (it's the three-pin surface-mount device). This chip contains a unique ethernet address ("MAC address") for the Nanode.

To read the MAC address using this library, use code like this in your sketch:

#include <NanodeUNIO.h>

void setup() { byte macaddr[6]; NanodeUNIO unio(NANODE_MAC_DEVICE);

unio.read(macaddr,NANODE_MAC_ADDRESS,6); }

(If you're using a library like NanodeUIP for networking on your Nanode, you may find that it's already using this library to read the MAC address from the chip.)

The MAC address only takes up 6 bytes in the chip. The other 250 bytes are potentially available for you to use. (By default the top 64 bytes are write-protected, leaving the lower 192 bytes available, but you can disable this as long as you're careful not to overwrite the pre-programmed MAC address.)

See the header file (NanodeUNIO.h) for more information on writing to the chip.

Comments? Suggestions? Contact Stephen Early [email protected] @sde1000 on Twitter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.