Connect Intel Edison to 802.11G or 802.11N Wireless

Thanks to Jeffery Tu for sharing the below solution to connecting Edison to 802.11G and 802.11N.

First, run:

configure_edison --wifi

Next, use the script from the PDF file: edison_wifi_331438001.pdf

Like this:


##
if [ $# != 2 ] ; then
echo "$0  "
exit
fi

wpa_cli -iwlan0 disconnect
wpa_cli -iwlan0 remove_network all
wpa_cli -iwlan0 add_network
wpa_cli -iwlan0 set_network 0 mode 0
wpa_cli -iwlan0 set_network 0 ssid \"$1\"
wpa_cli -iwlan0 set_network 0 aut h_alg OPEN
wpa_cli -iwlan0 set_network 0 key_mgmt WPA-PSK
wpa_cli -iwlan0 set_network 0 proto RSN
wpa_cli -iwlan0 set_network 0 psk \"$2\"
wpa_cli -iwlan0 set_network 0 scan_ssid 1
wpa_cli -iwlan0 select_network 0
wpa_cli -iwlan0 enable_network 0
wpa_cli -iwlan0 reassociate
wpa_cli -iwlan0 status

How reliable is “that” Henry Ford quote?

This is not a bicycle with a motor
The first automobile was a motorized tricycle built a decade before Henry Ford took interest

Everyone has heard this Henry Ford quote: “If I had asked people what they wanted, they would have said faster horses.

But how accurate is this quote? Can Henry Ford be believed? Would people at the time really have answered that they wanted faster horses?

After doing a little historical research I can only conclude that, while a nice one-liner, this quotation is inaccurate and we should think more carefully before relying on it.

Henry Ford did not invent the automobile, he copied it.

The first commercial automobile was sold by Karl Benz of Germany in 1886, a decade before Ford got started. This fact is well documented and without dispute.

Henry Ford already knew about Karl Benz invention (which was by then selling hundreds of models per year and on display widely in Europe) before he set about creating his own version in 1896. The only research Ford needed to do was to ask a given person on the street: “Would you buy a cheaper automobile (they were luxury items at the time only for the rich) from Karl Benz? Yes?” Market research complete!

If we are going to quote great inventors to find inspiration, we should be quoting Karl Benz (“My first customer was a lunatic. My second had a death wish.”)

Conclusion

While Henry Fords contributions are legendary, I don’t think it is accurate to believe that no customer input or market research of any type was done in the conception and design of the automobile. To know the truth, we would have to ask Karl Benz.

 

Node.js for the Internet of Things at O’Reilly Solid

Had the opportunity to give a workshop on the topic of Intel Edison, Node.js and the Internet of Things at O’Reilly Solid earlier today. Also had a great time attending Sandeep Mistry’s Bluetooth LE + Arduino workshop later in the day.

What the Hack! Hardware hackathon discussion with Jeremy Foster

Thanks so much to Jeremy Foster from Microsoft for spending an hour with Intel to discuss the topic of hardware hackathons. We had a great exchange of ideas about the future of Internet of Things and the importance of DX for hardware and software developers!

How to install Mono on Intel Edison

This is the fastest way to get Mono onto your Intel Edison. I saw some other solutions that involve compiling Mono yourself which takes hours, do this instead to install an existing precompiled image using opkg.

This process works specifically for the Week 18 build (Yocto 2.1).

Step 1: Flash your Edison with the latest image and get it online

Step 2: Configure your Edison with the extended OPKG binaries

First, open a terminal to your Edison and run vi like this:

vi /etc/opkg/base-feeds.conf

Now insert these lines:

 src/gz all http://repo.opkg.net/edison/repo/all
src/gz edison http://repo.opkg.net/edison/repo/edison
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32

Now save and quit and run update:

opkg update
opkg upgrade

Step 3: Install Mono

opkg install mono

Microcontrollers for Web Developers

This is the talk I am planning on presenting this coming Wednesday at Future Insights, Las Vegas. I haven’t decided how much to add or remove from this deck in particular yet as it is the first test run of this thing. The focus is going to be on giving a basic overview of important concepts from the world of microcontrollers that may interest web developers who are interested in using their existing skills to work with hardware (something that is now possible due to intermediate layers such as Intel’s LibMRAA).

More likely than not I will be tweaking this thing constantly over the next week.

Beacons in Context

This is a talk series I gave last year on the topic of beacons. I had a longer version of it stretching into the hundred+ range of slides that went much farther into the technical details of Bluetooth LE (which are fascinating to me). Now that I read it again I can’t help but be disappointed at the lack of more depth on the topic of services, attributes, GATT and the entire protocol stack itself (which fill the entire BLE Developers Handbook by themselves).

Part of the preparation for this involved buying every available beacon on the market and testing it, attending two 8-hour workshops to assemble a beacon from scratch led by Morgan Redfield here at the Metrix Create Space, several meetings with local software consultants building BLE technology, writing my own beacons and GATT profiles for the Intel Edison using the Bleno and Noble Node.js libraries from Sandeep Mistry and then a field trip to the Kirkland Bluetooth SIG to meet with Vincent Gao and have him further educate me about the BLE protocol.

There simply wasn’t a good way to contain this much information and an outline of why beacons are useful into one slide deck.

Maybe I need to create a new deck entirely dedicated to doing a great job talking about BLE which is a really interesting protocol with a lot of applications. For now, we will have to be satisfied with this!