Uncategorized

Python on Intel Galileo/Edison – Part6: Light sensor

In this post, we will be using the upm library to interface the Grove Light sensor with the Galileo/Edison using python.

The light sensor is made up of primarily of LDR and opamp:

The Grove light sensor (photo: seeed studio)
The Grove light sensor (image: seeed studio)

“LDR” stands for light dependent resistor (in above schematic, it is marked as “LIGHT”) as the name suggests, it is made up of a material that changes it resistance depending on the intensity of the ambient light.

Continue reading

Uncategorized

Blockly on and for Edison/Galileo – work in progress

Just a quick post to give you guys a heads up on what I have been working on.

I’ve been working on bringing Blockly onto Edison/Galileo. The plan is to have blockly server being hosted by Edison from within the blockly interface, one should be able to upload and execute the generated Arduino sketches.

Blockly is visual programming tool using which you can whip out functional code with great ease. It consists of predefined blocks. Combining them you can create executable code targeting a number of platforms. I am basing this on the BlocklyDuino project.

If you are looking for something similar but better, have a look at wyliodrin.

In below video you can see Edison serving up the Blockly. Using the Blockly interface you can see me put together a simple LED (again connected to D5) blinking code.