Friday, March 20, 2015

Python on Intel Galileo/Edison - Part 1



In this series of blog posts, I'll be posting on writing Python code on Intel Galileo platform. I'll be using the Grove kit. You can also use a bread board instead of Grove kit.

There are two libraries available on the Intel Galileo for developing applications written in python that need to use sensors, actuators, LEDs etc...

  1. MRAA: Provides API for interfacing with the GPIOs, ADCs, PWM, SPI, etc... It is basically for interfacing the low level peripherals. It is kind of bare bones, you can use the functions provided by MRAA to drive more complicated peripherals like sensors or you can use...

  2. UPM: Provides higher levels of abstractions via objects for controlling things like LCDs, temperature sensors etc... It is a level above the MRAA and most of the functions that you might need while interfacing a sensor or LCD are already implemented in UPM.






Python on Intel Galileo/Edison - Part 1

In this series of blog posts, I'll be posting on writing Python code on Intel Galileo platform. I'll be using the Grove kit. You can also use a bread board instead of Grove kit.

There are two libraries available on the Intel Galileo for developing applications written in python that need to use sensors, actuators, LEDs etc...
  1. MRAA: Provides API for interfacing with the GPIOs, ADCs, PWM, SPI, etc... It is basically for interfacing the low level peripherals. It is kind of bare bones, you can use the functions provided by MRAA to drive more complicated peripherals like sensors or you can use...
  2. UPM: Provides higher levels of abstractions via objects for controlling things like LCDs, temperature sensors etc... It is a level above the MRAA and most of the functions that you might need while interfacing a sensor or LCD are already implemented in UPM. 

Monday, March 16, 2015

Circle OS tutorial: Menu


In this tutorial, we are going to learn how one can use menu GUI element available in the circle OS. For this tutorial,we are going to implement a simple game, wherein you are presented a random math question and the list of options(you guessed it right, the list of options are actually implemented using the menus) one among them is the right answer. Once an option is selected, you are notified whether the choice was right or wrong. As was the case with the previous tutorial, I am going to explain about the game logic and then move on to circle OS menu usage details.



Circle OS tutorial: Menu


In this tutorial, we are going to learn how one can use menu GUI element available in the circle OS. For this tutorial,we are going to implement a simple game, wherein you are presented a random math question and the list of options(you guessed it right, the list of options are actually implemented using the menus) one among them is the right answer. Once an option is selected, you are notified whether the choice was right or wrong. As was the case with the previous tutorial, I am going to explain about the game logic and then move on to circle OS menu usage details.

Thursday, March 12, 2015

Intel Galileo as a teaching aid

Below are some of my thoughts about the Intel Galileo as a teaching platform for engineering grads.

The Galileo is really an versatile board. The unique thing about Galileo is that not only it runs Linux, it also supports the Arduino environment. This helps the students to get into physical programming with more easier "Arduino language" and once comfortable with that, they can move into C/C++ programming with MRAA and UPM libraries.

Intel Galileo as a teaching aid

Below are some of my thoughts about the Intel Galileo as a teaching platform for engineering grads.

The Galileo is really an versatile board. The unique thing about Galileo is that not only it runs Linux, it also supports the Arduino environment. This helps the students to get into physical programming with more easier "Arduino language" and once comfortable with that, they can move into C/C++ programming with MRAA and UPM libraries.