rwaldron / galileo-io

Intel Galileo & Intel Edison IO Plugin for Johnny-Five
http://johnny-five.io
MIT License
101 stars 26 forks source link

Beginner Feedback #14

Closed garrows closed 9 years ago

garrows commented 10 years ago

Hey I just got my blinking light example up and going and wanted to provide some feedback on difficulties I had.

I first looked at https://github.com/rwaldron/galileo-io which doesnt give me enough information to get started from scratch.

Then I found this https://learn.sparkfun.com/tutorials/galileo-getting-started-guide/all which was good but doesn't tell me anything about nodebots (obviously).

Then I read this http://bocoup.com/weblog/intel-galileo-javascript-nodejs/ which led to a bit of confusion. The articles had the blinking light GPIO example which was cool but the follow up examples of new five.Led(13).blink(500); led me to believe the same LED should be blinking. It didnt.

After a blind stab in the dark, I thought I would put a multimeter to pin 13 and see if it changes and yes it did. The whole 'pin 13 LED standard' isn't there on the Galileo and your examples suggest it is.

Another problem I had was the examples using var Galileo = require("galileo"); and var Galileo = require("galileo-io"); both didn't work for me however the auto detection using plain old require("johnny-five") worked.

Hopefully this feedback helps.

Thanks for making this work on the galileo. Exciting stuff.

rwaldron commented 10 years ago

Thanks for the feedback, all of it appreciated. I could use some help documenting and refining all of this stuff. As it turns out, I'm spending the day setting up 3 Galileos, so I'm taking a lot of notes on the process.

rwaldron commented 10 years ago

I've added some instructive links to the readme, but I still need your help to make getting started easy

rwaldron commented 10 years ago

Items needed:

Setup:

screen /dev/cu.usbserial 115200
cd /tmp;
tar xzvf /media/mmcblk0p1/iwlwifi-6000g2b-ucode-18.168.6.1.tgz;
cp iwlwifi-6000g2b-ucode-18.168.6.1/iwlwifi-6000g2b-6.ucode /lib/firmware/;
root at clanton
$ wpa_passphrase MyWiFi << EOF > /etc/wpa_supplicant.conf
> MyPassPhrase
> EOF
root at clanton
$ /etc/init.d/networking restart
root at clanton
$ ifdown wlan0
root at clanton
$ ifup wlan0
screen -ls
screen -X -s THE_SCREEN_ID kill
garrows commented 10 years ago

No problem. I'll do my best. Also if you Google poor man's telnet you should find a sketch that let's you run terminal commands from the serial monitor using only USB.

rwaldron commented 10 years ago

Also if you Google poor man's telnet you should find a sketch that let's you run terminal commands from the serial monitor using only USB.

Which step or steps (from above) does this replace?

garrows commented 10 years ago

It doesn't really replace them but if you don't have the serial cable or serial converter (like me) you can use poor man's telnet to run the commands. On Jul 26, 2014 7:40 AM, "Rick Waldron" notifications@github.com wrote:

Also if you Google poor man's telnet you should find a sketch that let's you run terminal commands from the serial monitor using only USB.

Which step or steps (from above) does this replace?

— Reply to this email directly or view it on GitHub https://github.com/rwaldron/galileo-io/issues/14#issuecomment-50208015.

rwaldron commented 10 years ago

@garrows ah, gotcha, so an alternate. Yes, that's definitely useful

sethismyfriend commented 9 years ago

I've been working on improving the workflow with the IOTDK at Intel Labs and keeping notes as I figure things out here there is a little blog on getting started that may help make sense of all the documents provided - just my personal take on the tools.

rwaldron commented 9 years ago

Thanks Seth!

rwaldron commented 9 years ago

I think this has been addressed via several resources.