Compartir a través de


Lighting my Lego city using .NET Microframework

Now I have created a software to pilot sprinklers, I want to be able to pilot my Lego city and light it. I know my sprinkler project is not over as I still need to work on the hardware. I will do it over the winter and try to find someone to help me. This new project looks simpler for me as it will basically only be couple of led. So it can be directly plugged to the netduino board.

I have quite a big Lego city as you can see in this picture with 2 trains, a modern city, an old city, an airport, couple of rail stations.

For those who may not have guess, I’m a Lego fan, I have more than 650 official Lego sets from 1970+ to now. Not all are build, some are just used for spare parts to build other kind of constructions. And I have also hundreds of kilos of brick at home which allow me to build whatever I want. You can have a look at part of the collection here.

Same as for the sprinkler project, the idea is to be able to switch some part on automatically, at night for example, and switch them on and off also manually. In order to reuse the work I’ve done, I will create a similar project with and http web server (like IIS or Apache running on Windows or Linux), dynamic pages (like ASP.NET, php or Java) with parameters. I’ve already develop a web server I will be able to reuse and the management for dynamic input.

My idea this time is to be able to display a web page with pictures of the city and specific points on the pictures that will represent the light to switch on and off. clicking on them will change the color of the points and switch the light accordingly.

In a longer term, I will try to pilot also the train lights and the rail switch. That will need a bit more electronic but is very easy to do in term of code. So probably that the code will exist before the electronic as for the sprinkler project. I will try also in this project to use the SD card to store the picture of the city and the points coordinate to be displayed. So a kind of setup file. I’ve already try to play with the SD card but with limited success. I don’t know from where the problem is coming from. I use couple of different cards and I always get errors but never the same. So I think the problem is coming from the hardware.

So let see where this project will go Sourire

Comments

  • Anonymous
    July 20, 2012
    i think its a under done i have seen bigger a LOT bigger and lets see some kind of scene peoplei am the unknown *** and i get bigger

  • Anonymous
    June 21, 2014
    Is this the FULL Lego city ????????

  • Anonymous
    June 23, 2014
    eu e meu primo também  temos quase toda a coleção

  • Anonymous
    July 01, 2014
    Ta ville est superbe et moi aussi je rêve d'en construire une comme celle-ci

  • Anonymous
    November 15, 2014
    The comment has been removed

  • Anonymous
    February 20, 2015
    cuicsgfyduhgfdfdsfdsfdisfdsfduifdjsfuishgdfhjsdj,fdsfdsfj

  • Anonymous
    June 05, 2015
    I wonder how much is this lego town. i think it is 320,000 because it has a lot of places and citys theirs like 280, 056 citys and places.  theirs  like 146,896 people in this city.l think this is calaforna .

  • Anonymous
    August 10, 2015
    how much is it ? could we have it for low price

  • Anonymous
    November 28, 2015
    To pilot the city, you can use a Netduino (30$) + a bit of electronic (15$). See other posts for more details. Can work as well with a Raspberry Pi 2 running Windows 10 IoT core as well.