Recent blog entries

New Blog Site

Whilst I'm not exiting from here, I've created a new blog site from the ground up to have all of the features I want.

Read the rest of entry »

Azure Sphere - Hands on!!

I just received an Azure Sphere MT3620 Development kit this week and I was curious to test it.

I already have VS 2017 installed on my Win10 machine, so the preparatory work was only to install the dedicated "Azure Sphere package", which is pretty light and provides you with an Azure Sphere console (hello 80's).

The manipulations on the MT3620 Development kit start with a system update, and the definition of tenant for the card. Beware at this level because a company or scolar subscription to office365 is required (valid tenants must be in an AD) and once the tenant is set, it cannot be changed. I used my professional office365 login and registered succesfully as my board's tenant.

Once the conncetion established with the tenant's account, development and debug is quite straightforward using Visual Studio 2017 dedicated templates and tools.
One point to note: This is the first time I use Visual Studio to develop for a linux platform !!

How long can an ESP8266 run on battery

I developped several systems based on ESP8266, but this chip has a low power consuption called "Deep Sleep".

I decided to run a simple test application which would measure Temperature and humidity every hour and to uplad the data to an Azure database. How long would it last ?

The test was quite disapointing as it ran for about a week on a 500 Mah battery. A quick analysis showed that most of the energy was not drained by the ESP8266 chip itself but by the battery adapter shield!!

I modified my circuit to add a low power timer cutting the current before the shield...  and the device could then run for three month.

UWP C#: Reflection: Get list<subclass> from list<class>.

In creating a custom  XAML UserControl, a need arose to make use of generics with the UserControl class. The control is based upon the XAML AutoSuggestionBox control and  implements a quick lookup of a user from an app supplied list of users. The control uses Linq queries to efficiently search through a list of  type User using Name and Id properties. The search can be on partial name completion or on user’s initials. So as to allow the use of a broad range of  list types for the supplied user list, as provided in the UserControl’s hosting app, the app’s user type needs to implement a specific set of properties that are used in queries and so it must implement a specific interface (called IUser). It would have been nice to have parameterised the UserControl class using generics to specify the list of users’ data type as the apps user type and constrain it to implement the interface using generics. But the custom UserControl class does not permit generics.   Consider the following: ...

Read the rest of entry »

Connecting MXCHIP IoT DevKit to Azure

I recently received an MXCHIP IoT DevKIT and I experimented the Azure connectivity functions available in the Arduino library for this platform. The "DevKit -Get Started" section of the github gives detailed description of each step: https://github.com/Microsoft/vscode-iot-workbench/blob/master/docs/iot-devkit/devkit-get-started.md   I'll summarize the actions I had to perform to establish an MQTT exchange between my MXCHIP board and Azure IoT Hub: I first installed two tools on my machine:      - Ardunio IDE      -  Visual Studio Code   VS Code contains all specific entries required to handle Azure functions, which are not in the Arduino IDE, moreover it is a pretty efficient IDE compared to Arduino. Two extensions must be installed in VS Code: "Azure IoT Workbench" and "Arduino". Then the specific platform for the MX board must be installed from Arduino Board manager. At this point I had all the tools to build and run the GetStarted applicat ...

Read the rest of entry »

(Part 3/3) Refactoring a Multipage Xamarin.Forms app: Reflection listing of classes in a namespace

Q. How do you get a list of classes under a namespace without instantiating those classes: Reflection

Read the rest of entry »

(Part 2/3) Refactoring a Multipage Xamarin.Forms app: MetaInformation

Q. How can you add meta-information, such as a description, to a class and return it without instantiating the class? Read on …

Read the rest of entry »

(Part 1/3) Refactoring a Multipage Xamarin.Forms app: XAML Namespace Mapping

Q. What do those xmlns namespace directives at the root of an XAML page mean? Read on …

Read the rest of entry »

Entity Framework Core with UWP and SQLite Revisited: Some Notes on Scaffolding

Some notes on adding and removing migrations in Entity Framework core.

EF Code First approach (Create class/es first)

Read the rest of entry »

Entity Framework Core with UWP and Sqlite Revisited: Step by step

Entity Framework, in Code First Manner, can auto-generate the scaffolding for accessing a database from an app from an app’s model class. In a previous blog I covered some issues wrt using Entity Framework Core with a Universal Windows (Platform) app with a Sqlite backend database. The entities are specified as classes in in a .Net Core class project separate to the app project (within the same solution). The issue addressed in that blog was a problem referencing the class library from the UWP project. This blog revisits the same topic with an emphasis upon the steps required to implement an EF Core backed UWP app.

Read the rest of entry »

Pages: Previous1234567...66NextReturn Top

Windows Embedded Compact 7

The Windows Embedded Compact 7 (Compact 7) getting started series is created to provide simple and easy to follow information to help academic, hobbyist and commercial developers to learn and engage in Compact 7 development.

***This is a series of 9 articles, with additional supplements, that cover the following subjects:

  • Development environment
  • OS design
  • Managed code application
  • Native code application
  • Silverlight for Windows Embedded application
  • SQL Compact database application
  • Debug and remote tools
  • More..

http://www.embedded101.com/compact7.aspx

Embedded101 Articles & Application Notes

Apr10CEDriverWiz Version 2.00: Using the Wizard
Created by David Jones on 4/10/2013 8:56:42 AM

  Book Links: ...
Read More..


Apr10CEDriverWiz Version 2.00: An Example
Created by David Jones on 4/10/2013 7:28:32 AM

Book Links: ...
Read More..


Apr09Installing CEDriverWiz for Visual Studio
Created by David Jones on 4/9/2013 8:41:27 AM

Install Visual Studio 2012/2008/2005 (depending upon your version of CE/Compact) and all of t...
Read More..


Apr01CEDriverWiz V2.00: About this release
Created by David Jones on 4/1/2013 7:33:39 AM

This brings the wizard in line with our Wrox book: "Professional Windows Embedded Compact 7" . ...
Read More..


Apr01CEDriverWiz Version 2.00 User Manual
Created by David Jones on 4/1/2013 6:40:34 AM

Index
Read More..


May15Configure Flash Storage to Launch Compact 7 OS Runtime with DiskPrep
Created by Sam Phung on 5/15/2012 8:41:50 PM

The DiskPrep powertoy is a useful utility to configure different type of flash storage to launch Wi...
Read More..


More
Turkish porno izle video site in rokettubeporno izle