Connecting a Raspberry Pi Using an Ethernet Crossover Cable and Internet Connection Sharing

I’m preparing for an upcoming speaking engagement around the topic of using Node.js and the Raspberry Pi for IoT applications. While at home, I enjoy the luxury of being the owner of my network which provides complete freedom in network configuration. On the road, I will not have this luxury whether it is at a hotel or when speaking at the conference. Here’s the problem I am trying to solve. While on the road, I want to be able to connect my laptop to the Wi-Fi hotspot on my phone rather than utilizing the wireless network at the conference location which might be fraught with both security and reliability issues. Read More

Share

Getting Started with YAML in Node.js using js-yaml

In this tutorial, we harness the power of YAML for use within Node.js. As described on the official YAML site, YAML (YAML Ain’t Markup Language) is a “human friendly data serialization standard for all programming languages”. YAML and JSON are closely related. In fact, all JSON syntax is valid YAML as of the YAML 1.2 spec, but not all YAML syntax is valid JSON. YAML is a superset of JSON.

Share

Learning to Code with CoDrone

I attended the monthly San Diego Hardware Hackers meeting earlier this week with one of my sons.  The presentation was by a local Kickstarter-funded company, Robolink, who is building a device called CoDrone.  The CoDrone (portmanteau of Code and Drone) is geared to help teach kids how to code.  It can be programmed using the Arduino IDE, and can also be morphed into a Rover kit by replacing the propellers with wheels.  Fun stuff!  You will find the lessons plans here if you want to get a deeper view into how it is programmed.  The goal is to teach computer science to kids as young as the fourth grade.

Share