element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Upcycle It
  • Challenges & Projects
  • Design Challenges
  • Upcycle It
  • More
  • Cancel
Upcycle It
Blog [Upcycle It] Nixie Display #4 - Got Started with the Intel®︎ Edison Development Board on macOS
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: gpolder
  • Date Created: 8 Apr 2017 8:00 PM Date Created
  • Views 738 views
  • Likes 4 likes
  • Comments 3 comments
  • upcycle_it
  • start-up
  • arduino ide
  • intel_edison
  • unix
  • set-up
  • upcycled_nixie
Related
Recommended

[Upcycle It] Nixie Display #4 - Got Started with the Intel®︎ Edison Development Board on macOS

gpolder
gpolder
8 Apr 2017
<< PreviousBlog IndexNext >>

As mentioned in my previous blog the kit arrived this week. I couldn't resist to start playing.

In this post I briefly mention my experience. Intel has a sound startup guide: https://software.intel.com/en-us/iot/hardware/edison. Also mcb1 wrote a very thorough introductory guide for the Edison (First Steps - Intel Edison ).

It is not my intention to repeat what others already wrote, instead I focus on the aspects which differ in my case. I don't know for all challengers, but up till now it looks like I'm the only one using macOS as host system. In my case it is macOS Sierra version 10.12. Luckily the mac is well covered by Intel, although the latest version, which I am using is not mentioned ( https://software.intel.com/en-us/get-started-edison-osx).

I'm planning to use the IntelRegistered Edison Breakout Board Kit in my nixie display, but I decided to start with the IntelRegistered Edison Kit for Arduino since it looks like very convenient to experiment with and also gives the possibility to explore the Grove starter kit.

 

Setting up the Edison

First I installed the compute board and spacers. After connecting the power the green power led lit up.

Then I connected the usb cables and downloaded and started the setup tool.

image

To my surprise I got an error, stating that my macOS version wasn't supported. I ignored the message and could install everything almost without any problem. As jasonwier92 already mentioned (The Kit and Exploring Edison OS's [Upcycle It #2]) you can monitor what's happening by connecting a terminal to the bottom micro usb port. On macOS the terminal command is the same as on Linux:

 

     screen /dev/tty.usbserial-A903OQHG 115200

First I Flashed the Firmware:

image

After pressing the button the firmware was downloaded an flashed into the system:

It took some time to download 285Mb.

 

image

On the console monitor you can follow the progress:

image

Finally I got the message that the firmware was properly installed.

image

Unfortunately for some reason the sign is still yellow, indicating that there might be an even newer version.

I still have to investigate this.

After setting a pasword the next sign went green.

image

And the same for the WiFi connection.

image

Arduino

For the SDK I decided to start with Arduino.  The Arduino SDK was already on my PC, I'v lot of Arduino compatible boards around. I didn't install a new instance and rename it to ArduinoEdison as proposed by Intel, but just added the Edison using Arduino's board manager.

 

image

The ultimate Arduino 'Hello World' program is of course the blinking LED.

I opened it from the menu, compiled and loaded it to the Edison, where the LED immediately started blinking.

image

So first test passed image

 

There is one thing that needs further investigation.

In contrast with a real Arduino the sketch doesn't startup automatically when I power the Edison.

It appeared to start when I run the Setup app, but for normal use I found this solution.

https://software.intel.com/en-us/blogs/2015/08/01/procedure-to-autostart-the-arduino-sketch-on-edison, where startup script is added to different startup levels in the /etc/rc*.d folders.

As mentioned in this link there are other ways as well, so I'm curious which procedure you are using. Please leave a comment to this post.

Anyway I just followed the instructions above, rebooted the edison and voila, the LED just started blinking after the reboot.image

Unfortunately after about 5 minutes it stopped blinking, so this looks like not the proper solution.image

konstantinoskonstas also mentions a link (Interesting Site for Edison Challengers ), first solution  there is the same as mentioned above.

Maybe martinkronberg or huzefa_nk can give some ideas and reflection.

 

So next I tried the service method, also mentioned here (https://communities.intel.com/docs/DOC-111103).

First I removed the init.d startup script from the run level system:

 

 

     update-rc.d -f automateSketch.sh remove
     rm -r /etc/init.d/

 

Then I wrote a service file to start sketch and copied it to /lib/systemd/system, enabled it and rebooted the Edison:

 

 

root@edison_arduino:~# cat startsketch.service 
#!/bin/sh  
[Unit]  
Description=Edison Arduino board start sketch
[Service]  
ExecStart=/sketch/sketch.elf /dev/ttyGS0 /dev/ttyGS0
[Install]  
WantedBy=basic.target
root@edison_arduino:~# cp startsketch.service /lib/systemd/system
root@edison_arduino:~# 
root@edison_arduino:~# systemctl daemon-reload
root@edison_arduino:~# systemctl enable startsketch.service 
ln -s '/lib/systemd/system/startsketch.service' '/etc/systemd/system/basic.target.wants/startsketch.service'
root@edison_arduino:~# 
root@edison_arduino:~# 
root@edison_arduino:~# reboot

 

Again the LED just started blinking after the reboot indicating that sketch was started on startup.image

Hopefully it will last longer than with the init.d method.

  • Sign in to reply
Parents
  • DAB
    DAB over 8 years ago

    Looks like you are getting set to do some serious work now.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 8 years ago

    Looks like you are getting set to do some serious work now.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • gpolder
    gpolder over 8 years ago in reply to DAB

    true, I rather also liked to play with the Grove kit today, but the weather was too nice, so I spent my afternoon gardening.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube