So I'm a first time Edison user, going for the entire experience. Remember you can only be a virgin once. (Note: I'm running Windows 10 Operating System)
I followed along with the Intel install guide:
https://software.intel.com/en-us/get-started-edison-windows-step2 (Run the installer, find com ports)
https://software.intel.com/en-us/get-started-edison-windows-step3 (Setup Putty, connect to com port)
https://software.intel.com/en-us/get-started-edison-windows-step4 (Connect to WIFI)
https://software.intel.com/en-us/get-started-edison-windows-step5 (Connect to IDE)
A few random observations.
- I was able to connect via Putty right away.
- I was able to connect to WIFI. Awesome. Initially I did NOT change name or password (more on this later...)
- I was able to get the Arduino Integrated Development Environment (IDE) up and running with blink pretty easily. I didn't need to login to use the Arduino IDE tool.
- Initially, I was not able to figure out the whole Intel XDK IoT (Internet of Things) edition IDE. I simply was not able to login. So, here's my first goof up. Apparently when you do the Serial/Putty connect you get a chance to setup and change name and change password. So I wasted too much time there.
Simple hint: Name = Device Display Name, NOT LOGIN NAME. Not sure how I missed that.
Display name = thomas
login name = root
password = (......)
- Once I got that figured out I was easily able to use the node.js stuff within the XDK IoT IDE.
- Onward to C/C++ .. I initially saw an article telling me that I could use Microsoft Visual Studio to create C/C++ files for the Edison. Yes that's true, you just have to plop down a bunch of $$ and buy a license for visualgdb.com compiler library which will compile your code with the GNU compiler system, so the code runs in Yocto Linux. Ugh. So, I'm like, okay, I'll try the Eclipse download. I tried to do the download via the Intel Edison package links, but got a total fail there. The error code states: "Eclipse: Integrity checking failed, Source file is incorrect. iotdk-ide-win.7z" Not sure what was up with that. I'll try do to a complete Eclipse download from the Oracle site later. Stay tuned.
- Other stuff: I was easily to File Transfer Protocol (FTP) to the Edison unit via secure SFTP
So, I did watch these awesome videos from the Intel Garage.. Kind of quirky, but fun to watch. It was seeing these videos a few weeks ago that gave me the push in the direction of the Edison kit.
Image and video processing with Intel Edison
So, I'm trying to reproduce the Edison code from within those examples. I'm not a Python guy, but the samples should be simple enough. And here's where I hit a hard wall. There is a sample where you hook up a video camera, create an image file. To see the file, you have to copy it over to the website public facing directory. I've done that per the instructions (the actual directory is: `/usr/lib/edison_config_tools/public/ ` ) Note: there was a typing error here.. the code on the intel website was usr/lib/ldison ... I can see the files there, including index.html, 404.html, logo-intel.png, main.css, exit.html... it looks like a regular web repository directory. Unfortunately I can't point my browser to any of those files contained there. If the browser isn't pointing to the root, then you get an error mesage in the form: `The page at /blah.png was not found. `
Not sure what I'm doing wrong. I can see the server code (node.js file "edison-config-server.js" which uses http module to serve up files. I don't understand why the files contained within the /usr/lib/edison_config_tools/public/ aren't visible. I suspect there is a problem inside the file edison-config-server.js, but I'm not seeing it at first glance. What I do know is http://thomas.local works fine to display index.html with main.css and logo-intel.png, but no go on http://thomas.local/blah.png (my video capture snapshot) or http://thomas.local/exit.html (or any of the other five or six html files that are stored in usr/lib/edison_config_tools/public/ )
And hey, there was one funny take in the first or second video from the Intel Garage. They tell you to use the editor of your choice to edit some code. Well it turns out the only editor available is not Nano, Vim or Emacs. The only editor available is VI. So you should probably choose that one :^) But don't fret.. you can easily install the friendly editor nano via $ `opkg install nano` after you get thru that initial step.
When I FTP the blah.png back to my own computer, the image looks as expected. Does anybody know what's up with the edison node server thing? In fact, does anybody know where the shell command is located that starts up that server in the first place?
One other tool of interest: After you get the WiFi setup, you no longer have to use the usb cable for serial communications via Putty. You can SSH to the edison board just fine. In fact, I used my Git for Windows Command Line / Bash tool... its as simple as
$ ssh firstname.lastname@example.org
$ password: (....)
Awesome. So, in summary.. here's a few thoughts for a new guy to this product. Many thanks to the folks at Intel (and the women at the Intel Garage!)
Las Vegas NV