Intel Edison notes and resources

Notes on working with the Intel Edison

Getting Started

Suport Forum

Latest Downloads

Manually flash OS image

Enabling opkg packages

Python mraa docs

Arduino board hardware notes - includes info on PWM pin mapping via jumpers and shows all pin functions

'configure_edison' is the tool to setup wifi

Notes:

  • Durring install "phone flash tool" says to unplug the board, make sure you plug it back in before clicking finish on that step
  • installer will upgrade the OS image and wipe out everything.  becareful, and keep backups!
  • for Arduino support, install the latest official IDE and use the board manager to make sure Edison support is installed.  use the usb port closer to the switch (you can also power the edison from this port)
  • In any Arduino code, inclduing libraries, bit shifting uint8_t into int will not do what you want, switch definition to short to restore expected behavior
  • known bug in latest Yocto causes sketches to stop running when you unplug the USB cable, and also does not persist on reboot.

I2C - if cannot find Wire.h, copy wire.h and wire.cpp from the libraries/Wire/src/ folder to core/arduino folder. For me this was in C:\Users\%USERNAME%\AppData\Roaming\Arduino15\packages\Intel\hardware\i686\1.6.2+1.0\

Grove 3 Axis Digital Compass -  use the github version, the official site and wiki are out of date.

 

to enable the arduino i2c bus, i2c6, for linux use:

echo 28 > /sys/class/gpio/export
echo 27 > /sys/class/gpio/export
echo 204 > /sys/class/gpio/export
echo 205 > /sys/class/gpio/export
echo 236 > /sys/class/gpio/export
echo 237 > /sys/class/gpio/export
echo 14 > /sys/class/gpio/export
echo 165 > /sys/class/gpio/export
echo 212 > /sys/class/gpio/export
echo 213 > /sys/class/gpio/export
echo 214 > /sys/class/gpio/export
echo low > /sys/class/gpio/gpio214/direction
echo low > /sys/class/gpio/gpio204/direction
echo low > /sys/class/gpio/gpio205/direction
echo in > /sys/class/gpio/gpio14/direction
echo in > /sys/class/gpio/gpio165/direction
echo low > /sys/class/gpio/gpio236/direction
echo low > /sys/class/gpio/gpio237/direction
echo in > /sys/class/gpio/gpio212/direction
echo in > /sys/class/gpio/gpio213/direction
echo mode1 > /sys/kernel/debug/gpio_debug/gpio28/current_pinmux
echo mode1 > /sys/kernel/debug/gpio_debug/gpio27/current_pinmux
echo high > /sys/class/gpio/gpio214/direction
 
i2cdetect -y -r 6
 
Flash new firmware to the Grove motor driver on windows via an Arduino as ISP, adjust paths as needed.  Mac and Linux commands should be similar: 
"C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe" -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega8 -carduino -P\\.\COM3 -b19200 Uflash:w:"C:\Users\chrisw\Downloads\Edison\Firmware for I2C motor Driver using ISP\motor driver firmware\mega8motor.hex":i
To talk to an Arduino sketch that uses Serial from the host see this Instructable
 

 

 

Posted by
Chris Weiss's picture
Chris Weiss
on Monday, August 24th, 2015
Filed under
| More

Agenda

Tomorrow

  1. Build Night!
    • Start time: 07:00pm
    • End time: 09:00pm
    • Where: Arch Reactor, 2215 Scott Ave, St. Louis, MO 63103, USA
    • Come help build out Arch Reactor into the kind of space we all know it can be! All skill levels welcome, we can even teach you some new building skills!

    • View this event in Google Calendar
  2. Harry Potter Wand Making
    • Start time: 07:00pm
    • End time: 10:00pm
    • Stop by Arch Reactor to make "Magic Wands"!

      You may make one or more for yourself or donate your creations to an upcoming Arch Reactor Fundraiser.

      Please note that this style of wand-making involves hot-glue. Children are welcome but must be closely supervised by their parent/guardian.

    • View this event in Google Calendar

Friday, August 24th

  1. 3D Printer Meetup
    • Start time: 07:00pm
    • End time: 10:00pm
    • Whether you're interested in printing for art, prototyping, manufacturing, or just fixing dishwasher soap lids, this is a meetup group where you can come get answers to your questions, help people new to the hobby, and show off your printer and its creations.

      If you have a printer, bring it along, working or not, we would love to see and learn about it.

    • View this event in Google Calendar

Saturday, August 25th

  1. ESTL Meetup
    • Start time: 12:00pm
    • End time: 06:00pm
    • While this is a meetup specifically for ESTL, the space can still be open for projects, etc.
      Feel free to contact btissi@gmail.com for questions.

    • View this event in Google Calendar
  2. Harry Potter Wand Making
    • Start time: 02:00pm
    • End time: 04:00pm
    • Stop by Arch Reactor to make "Magic Wands"!

      You may make one or more for yourself or donate your creations to an upcoming Arch Reactor Fundraiser.

      Please note that this style of wand-making involves hot-glue. Children are welcome but must be closely supervised by their parent/guardian.

    • View this event in Google Calendar

Sunday, August 26th

  1. Open Build Something!
    • Start time: 07:00pm
    • End time: 10:00pm
    • Where: 2215 Scott Ave, St. Louis, MO 63103, USA
    • Come stop by and visit! Open build night to work on projects and hang out!

    • View this event in Google Calendar

Tuesday, August 28th

  1. TinkerCAD for 3D Printing
    • Start time: 07:30pm
    • End time: 10:00pm
    • We will be covering the usage of TinkerCAD as it specifically relates to 3D printing.
      Taught by Chris W.

    • View this event in Google Calendar