VisibEL is a tangible map of Sweden modelling the electricity production. There are cities, placeable power plants and factories that can be connected to the power grid. It is an educational game which is based on scenarios. The main users are children between the ages of nine and twelve. By playing this game, children can learn about different types of power plants, how much energy they produce and how much they cost to build and run...
Please visit our website and visit us at the exibition IDXPO at Lindholmen Science Park.

Tuesday 6 April 2010

Software control

Today we have running lights controlled from a Java program and it works to connect and disconnect both the DS2408 I/O device and the USB-adapter.

I found some documentation about storing device IDs in a XML-file along with classification and we'll probably use this since it's nice to keep that data out of the code. That way it's easy to keep track of what DS2408 is supposed to represent a factory, what is supposed to be a nuclear power plant and so on...

Next on the todo-list is to dwelve further into how to control the bits on the DS2408. Now the code alternates the state but I want to set the state instead. Also have to figure out how to read the input bit connected to the wire that can be connected to the main power grid (+5).

It all seems quite doable right now!

No comments:

Post a Comment