Posts

  • Monorepo for Beginners
    Monorepo for Beginners Monorepos store everything in a single repository, whether it’s code, documentation, or any other asset that has to do with the system you are building. This leads to a large number of commits and stakeholders, so how can you mitigate plunging it into chaos? With the digital...

  • Azure IoT Edge support for Raspbian 8.0/Debian 8.0 In theory, Azure IoT Edge is working only for the version 9 of Debian. If you’re using a Raspberry Pi, you’ll most likely use a Raspbian version which is based on Debian. So same, you’ll have to be on the version 9 to be able to deploy Azure IoT Edge...

  • Accessing embedded serial ports in .NET Core 2.0 on a Raspberry PI 3 running Linux You will find a full documentation and steps by steps explaining how to access the serial ports in .NET Core for Raspberry PI 3 running Linux. You can access here. In short, you’ll need first to unlock the access of the embedded serial port, then install on a supportted Platform...

  • How to use Microsoft Graph and Office 365 API in a Service or in a Windows App/UWP without a graphical interface
    Office 365 Graph is just a great way to add Office 365 integration into your application. You’ll find many great information in the Office Dev Center to explain more all what is available. I was interested in adding Office 365 integration in a normal Windows .NET Service on my serveur...

  • How to connect Lego Mindstorms NXT ev3 to Azure IoT Hub using node.js
    Recently, I’ve played with node.js and Azure IoT Hub. You can see my previous blog posts here, here and here. And as I’m a huge fan of Lego, I’ve decided to connected my Lego Mindstorms ev3 (the new version of NXT) to Azure IoT Hub. Well, at the end of...

  • How to deploy a node.js site into Azure Web App to create a Website
    There is quite a good documentation on the Azure website on how to deploy an Azure WebApp when using node.js and Git repository from a Mac. Documentation is here. I wanted to deploy the code thru FTP and deploy selected part of my project. My idea is to deploy the...

  • Creating an Azure IoT Device Explorer in node.js, express and jade
    After playing a bit with Azure IoT hub and building a webcam system with a RaspberryPi 2 running Linux in my previous article, I’ve decided to continue developing a bit in node.js to build a simple equivalent of the Device Explorer but in node.js. I’m not a node.js expert so...

  • Azure IoT Hub uploading a Webcam picture in an Azure blob with node.js on Windows and Linux
    In my garden, I have couple of sensors and a greenhouse. In order to play with different technologies I’m using a RaspberryPI v1 (RPI) under Linux with an Atmel328 (same as in Arduino) for analogic data. And I wanted to test the new Azure IoT Hub. As I didn’t know...

  • How to move Azure VM between subscriptions
    I recently needed to move an Azure Virtual Machine from one subscription to another one. I read a LOT on how to do that and it looks super complicated. At the end of the day, I found an easy 3 steps way to make it, so sharing on this blog...

  • ESP8266 and Posting on Windows Azure using Mobile Services The ESP8266 is a nice, cheap wifi board which does include multiple GPIO, SPI, I2C. It is usually integrated in small boards which does contains 2 GPIO + 1 UART for the basic 01 version. You can find them for few $, usually around 3$. It’s a low consumption board...

  • Create a DHT11 C library using WiringPI on RaspberryPI and use it in Mono C# I’m using various boards like RaspberryPI (1 and 2) as well as Arduino and Netduino. I have to say I’m a big fan of C#, so I try to use C# as much as I can. Based on the excellent WiringPI framework, I’ve ported equivalent of .NET Microframework classes to...

  • Internet of Things: installing Mono/Linux and Windows Embedded on a BeagleBone Black board (BBB)
    The BeagleBone Black, also called Beagle Bone Black or BBB is an interesting board. It’s an AM335x 1GHz ARM Cortex-A8 with 512M of DDR3, 4GB of flash and does have an HDMI, USB client and host interface. But what I prefer are the 2 times 46 pins to have tons...

  • Servo motor tester in NETMF (.NET Micro Framework) with Netduino
    I rencently bought new servo motor as I needed some to pilot new switches in my Lego train. The problem is I didn’t found the same as the previous one. Another problem is that I needed to replace one which didn’t worked properly. And here came the main issue: find...

  • Manage my wine cellar with QR codes and Microsoft Azure
    I have quite “few” bottles of wine. I really do like wine a lot. Yes, I’m French As for any resource you use a lot with lots of new items in and out almost every day, you start to have mistakes in your inventory. That’s what happen naturally to any...

  • Connect Arduino, Spark.IO, Netduino (NETMF .Net Microframework), to Microsoft Azure Mobile Services, create IoT (Part 3)
    In the 2 previous articles, we’ve created a local network of objects which communicate sensor information to a more smarter object which will post the information somewhere in the Cloud. Idea is to create a full Internet of Things (IoT) infrastructure. Those sensors are temperature, humidity (air and soil), wind...

  • Connect your Arduino, Spark.IO, Netduino (NETMF .Net Microframework), Galileo to Microsoft Azure (Part 2) to create an Internet of Things (IoT)
    In the previous article, I’ve explained that I’ll build an Internet of Things (IoT) infrastructure to pilot automatically with sensors and a Microsoft Azure backend my Sprinkler system at home. I’ve also explained a bit the full architecture. In this post, I will explain how I have connected existing objects...

  • Connect your Arduino, Spark.IO, Netduino (.Net Microframework), Galileo to Microsoft Azure (Part 1)
    Internet of Things (IoT) is exploding. Cost of processors and cost of electronic components is falling, electrical consumption is also getting lower and lower for more and more power. It’s now more than ever becoming to be super easy to create our own objects with some intelligence. Add to this...

  • .NET Microframework on RaspberryPi (Part 2) I realize I haven’t posted on my blog the direct link to the porting of .NET Microframework (NETMF) to the RaspberryPi. See previous article. So code is available here: https://raspberrypinetmf.codeplex.com/. This is not a full port of NETMF natively on RaspberryPi. It’s a port of specific NETMF classes on Mono...

  • .NET Microframework on RaspberryPi (Part 1)
    I’m a bit fan of .NET Microframework (NETMF). NETMF is an open source technology originally developed by Microsoft based on .NET. It directly run on metal, without any OS. All sources and portability kit are freely available On Codeplex: http://netmf.codeplex.com/. And as a fan of Embedded devices I had to...

  • Ultrasound sensor and .NET Microframework (NETMF)
    I recently bought a cheap ultrasound sensor because I want to build a robot. Yes, after the sprinkler management system and the automation of my Lego city, it’s time to play with a robot . This sensor can measure the distance from 2 cm to approximately 50 cm. Cost is...

  • Adding Bluetooth support to a NETMF board (.NET Microframework)
    I recently bought a very cheap Bluetooth adaptor for my Netduino. I wanted to test how easy/hard it is to support Bluetooth. I see lots of advantages with Bluetooth for a near field communication like piloting easily a robot with a Phone without the need of other network or Infrared....

  • .NET Microframework (NETMF) Web Server source code available So as I got lots of asks to get the code of my Web Server, I’ve decided to create a Codeplex project. You’ll find the source here: https://netmfwebserver.codeplex.com/ It does include the following features: Start, stop, Pause the Web Server Creation of a Web Server on any port Fully functional...

  • Web Server and CSS files in NETMF (.NET Microframework)
    It’s been a long time I did not write anything on my blog. Not that I haven’t developed anything but just because I did not take the time to write proper articles. I’ve continue to add features to my Lego city by piloting the trains but also the switches. And...

  • How software can solve hardware problems
    I’ve developed my own sprinkler system and my own humidity sensor. This sensor is extremely simple as you can read in my article. The main problem of this sensor is that the data to be read is an analogic data and the length of the cable is very long. There...

  • A soil low cost humidity sensor (moisture) and .NET Micro Framework (NETMF)
    I’m working on my own sprinkler system which I can pilot thru Internet wherever I am. I can add programs and also open and close sprinklers when I want. I recently build a prototype of a humidity sensor. Now it’s time to implement this humidity sensor in pre production and...

  • A low cost humidity sensor for my sprinkler system
    I’ve developed my own sprinkler system which embed a web server and allow me to control it remotely where ever I am. I can program when and how long I will sprinkler on which circuit. I have 3 circuits but my system can work with a large number of circuits....

  • Using XMLHttpRequest to pilot a Lego train dynamically in HTML 5
    It’s a long time I did not write a blog post. I was very busy and had no time to write and code anything in the last weeks. I still have a lot of work but I need an intellectual break for the evening. So I do not write this...

  • Creating an efficient HTTP Web Server for .NET Microframework (NETMF) That’s not the first post I’m doing on incorporating a Web Server in .NET Microframework (NETMF). In some of my previous posts, I’ve explain how to do it using the existing .NET classes for this. And it is working very well! The main concerns I have is that I’m using...

  • Using a SPI device with netduino and .NET micro framework
    After playing with I2C, with various IO, I’ve decided to play a bit with SPI The real project behind using a SPI device is to be able to use it a a multiplexer/demultipler of IO. I want to pilot lights for my Lego train. The idea is to have the...

  • Managing my Sprinklers from the Cloud
    I’ve started a project to pilot my sprinklers remotely and make them smart almost 9 months ago. The idea is to be able to remotely open and close my sprinklers but also be able to launch automatic sprinkling cycles. After some software and hardware development, I now have a fully...

  • Using netduino and .NET Microframework to pilot any Lego Power Function thru Infrared (part 3)
    In the previous post, I’ve explain how to create a class and the hardware that will be able to pilot any Lego Power Function. In this article, I will explain how to create a web server (like IIS or Apache but much much much more simpler) and create a simple...

  • Using netduino and .NET Microframework to pilot any Lego Power Function thru Infrared (part 2) In a previous post, I’ve started to describe the Lego Power Function protocol and how I’ve implemented it on a netduino board using .NET Microframework. My work is based on ideas and implementation Mario explain in his blog. We’ve exchange couple of emails to make both our projects work To...

  • Using netduino and .NET Microframework to pilot any Lego Power Function thru Infrared (part 1)
    I’m part of FREELUG, the French Enthusiast Lego User Group. And in this group, there are lots of discussions on Lego of course. In one of the thread someone ask the question if it was possible to pilot an Lego train using the new Power Function with a PC. The...

  • Using 2 identical I2C device on the same I2C bus (solution working better)
    In one of my past posts and with whom I’ve exchange a bit to find other solutions help me there two. Mario is coming from the electronic side and I come from the software side. So he can correct me when I’m wrong with my electronic . And I was...

  • Create your own mobile video recorder or animation stand
    Long time ago, when I was doing lots of demos and used to have to display mobile phone like smartphone of Windows Embedded devices, I needed a mobile video recorder to be able to display them. Of course, I though using a webcam but the webcam alone does not allow...

  • Using 2 identical I2C device on the same I2C bus
    If you know a bit about I2C bus, it is impossible to use 2 identical devices with the same address on the bus. Read my previous article to understand more on how it’s working. But as always, you can find trick to make it works. In my case, I’m using...

  • Using one temperature sensor with I2C protocol and .NET Micro framework on netduino board
    I wanted to play with a temperature sensor. And when the time came to choose one, I was amaze to see how many of those sensor exists. Some were simple resistor like the light sensor I used in one of my previous example, some were more like transistors, and couple...

  • Some hard to pilot a Sprinkler with .NET Microframework
    In previous post, I’ve explained I want to pilot my sprinklers with a netduino board. I’ve already write couple of articles around it, including how to create a HTTP web server, set up the date and time, manage parameters, launch timers, pilot basic IO. I’ve also shown couple of examples...

  • Using basic IO with .NET Microframework
    Here is the code from my first French TechDays demo. The video is available here. During this first demo, I explained how to use the IO in a simple way: OutputPort, InterruptPort, InputPort and Analogic input ports. So those ports are really the basic one you can use in a...

  • Securing web server with login and password on .NET Microframework If you want to expose your .NET Microframework web server on the Internet you better have to make sure it is protected. Even if you keep the URL secret, it will not stay secret it’s not a good way to protect it! A better way if you have to expose...

  • Using a light transistor sensor and a led to create a detector
    I will give a session in French during the next French TechDays on .NET Microframework. And I’m preparing couple of demos that almost anyone with limited knowledge in electronic and limited knowledge in programming. The idea is to show cool stuff you can do at home or a kid can...

  • ASP.NET and .NET Microframework HTTP web server together (part 2/2) In my previous post, I’ve explained how create a HTTP web server on a .NET Microframework Netduino board. And the ASP.NET application will allow to display the lights on a map and allow the user to click on a light. When clicking, the application will call the Netduino which will...

  • ASP.NET and .NET Microframework HTTP web server together (part 1/2) I will show in this post how to call a web page from a .NET Microframework board which has implemented a HTTP Web Server and get results from it. The idea is to do a mix of previous posts. You are more and more to follow this blog so you...

  • Creating dynamically a web page using .NET Micro framework In a previous post, I’ve explain how to read a file using .NET Microframework, how to create a setup file and load it (and write it also), how to implement a web server using HTTP. The idea is to be able to click on an image and a led will...

  • Dynamically watermark a picture in a ASP.NET page
    In a previous post, I’ve explain how to use generic ASP.NET handlers to display a picture. The concept is easy to use and perfect to manipulate any kind of document you want to output in your web server. There equivalent of this in technologies like PHP or Java but it’s...

  • Writing a generic ASP.NET handler to return an image and control the image In one of my project, I want to integrate the picture from an IP camera to a web site. The idea is to be able to put a IP camera in my Lego room and see it for real. Especially to be able to control it. this project is linked...

  • Read a setup file in .NET Microframework In my previous post, I’ve explain how to read the content of a file in .NET Microframework. The idea now is to read a setup file. I want to store the position of the lamp icon I’d like to display on my Lego city map. More information on what I...

  • Reading file in .NET Microframework For the one reading my articles, you know I’m developing in .NET Microframework an application to be able to switch on and off led in my Lego City. In the past post, I’ve explain how to setup a web server with HTTP, generate dynamic pages, handle parameters. And in the...

  • Display overlay images in HTML and javascript with .NET Microframework In my current project of lighting my Lego city, I’m working on a simple web interface that will allow thru a HTTP web page to display an image and small lamp icons on overlay. In my previous project on automate my sprinklers, I’ve implemented a HTTP web server in my...

  • 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...

  • Creating and launching timer in .NET Microframework In previous posts, I had the occasion to show how to implement a web server using HTTP and handling web request (in my example GET requests) with parameters URL like in a real Windows or Linux server running Internet Information Server (IIS) or Apache with a generated HTML page like...

  • Program a date time and duration for a sprinkler in .NET Microframework and netduino In my previous posts, I’ve explained that I wanted to be able to program sprinklers in my garden day by day thru the Internet when I was not at home to save energy and water. No need to use a sprinkler when it has rained all night but need to...

  • Displaying a calendar in a web page using .NET Microframework As I want to program sprinklers I need to be able to select a date. In my previous posts, I’ve already explained how I’ve setup a Web Server using .NET Microframework, my netduino with Visual Studio using C# and all the magic of code . My implementation allow me to...

  • Setup a time and date using .NET Microframework In theory, .NET Microframework implement a class to get the time from a time server. It never worked for me using my netduino board. You’ll find more info on this board in my previous post. And also I’ve implemented a Web Server with the possibility to decrypt a parameter URL....

  • Implementing a simple HTTP server in .NET Microframework To follow my previous posts, I’ve started to implement a simple HTTP server in my netduino using .NET Microfamework. I have to admit it was quite easy as there is a HTTP Server example in the samples. I was very impressed that with no OS so no Windows, no Linux,...

  • netduino board: geek tool for .NET Microframework In the past, long time ago, I’ve been a developer. I loved to develop low level code like drivers. And I love embedded and robots and all those stuff. So I have a natural attraction for .NET Microframework. Of course I know it was existing but I never really touch...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 10) Me voici déjà au dixième post de ma série. J’ai déjà décrypté le protocole de communication de mon onduleur. J’ai implémenté toutes les fonctions nécessaires à une gestion de cet onduleur avec des propriétés qui permettent de lire les données de courant, tension, etc. J’y ai ajouté des événements qui...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 9) Comme indiqué dans mon précédent post, je vais expliquer le fonctionnement d’un timer. Très utilise lorsqu’on souhaite faire une action spécifique à intervalle régulier. Je vais également en profiter pour montrer comment créer une propriété en lecture et écriture. En plus, je vais expliquer comment lever des exceptions dans son...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 8) J’ai donc continuer de développer ma solution de gestion d’onduleur. J’ai profité de mon retour à la maison pour continuer les tests physiques sur mes onduleurs. Oui, j’ai bien dit mes onduleurs. En fait, j’en possède 3 du même modèle. Ce qui a aussi motivé l’écriture de ce service de...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 7) Me voici donc maintenant avec 3 chaînes de texte à analyser et dont il faut que je ressorte plusieurs informations. Les chaînes sont bien délimitées. Le protocole complet est expliqué dans le sixième post. Voici les 3 principales chaînes : #BELKIN Master 1.00 (238.0 237.0 236.0 024 50.0 13.9 32.0...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 6) Voici la suite des aventures de l’analyse du protocole de communication expliqué dans la quatrième partie. J’ai donc essayé à partir des commandes envoyées à l’onduleur de compléter ce que j’ai trouvé en écoutant la conversation entre l’application livrée avec l’onduleur et l’onduleur. J’ai donc utilisé l’application développée précédemment pour...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 5) Dans mon premier post, j’indiquais avoir trouvé en quelques minutes comment faire pour envoyer un mail en SMTP. Parce que ce n’est tout de même pas si simple si le serveur SMTP nécessite une authentification et toujours pour faire plaisir à Benjamin qui trouve que je n’ai pas écrit assez...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 4) Me voici donc au quatrième épisode. Pour suivre les épisodes précédents, c’est ici pour le premier, ici pour le second et ici pour le troisième. Pour rappel, j’ai donc réussi à obtenir les informations nécessaires à l’ouverture du port série. J’en ai profité pour donner quelques explications qui permettent avec...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 3) Pour faire suite aux deux premiers article sur le sujet, je vais rentrer un peu dans le dur de l’analyse du protocole de communication de mon onduleur. Pour mémoire, je me suis arrêté en disant que j’avais lancé PortMon et que j’avais vu plein de choses intéressantes. Voici donc les...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 2) Cette fois-ci, je vais rentrer plus dans le concret des quelques étapes clés à suivre pour déchiffrer le fonctionnement d’un protocole de communication. Pour ceux qui veulent suivre la genèse de l’article, allez voir le premier post. Je vais commencer par rappeler quelques principes de base quand on veut faire...

  • J’ai hacké mon onduleur ou le reverse engineering de protocoles de communication (part 1) C’est un titre un peu long mais bon, il exprime le fond de mon problème : j’ai acheté un onduleur (un Belkin) pour mettre sur mon serveur et un de mes PC à la maison. Par contre, faudra être un peu patient car il va y avoir plusieurs post sur...

subscribe via RSS