Blog

Brick Daemon Beta for Windows 10 IoT Core (Part 1/2)

A while ago Microsoft released Windows 10 IoT Core that can run on different embedded boards, such as the Raspberry Pi. The normal Brick Daemon for Windows does not work on Windows 10 IoT Core. But now we have a beta version of Brick Daemon that works on Windows 10 IoT Core.

Installation

This version of Brick Daemon has been tested on a Raspberry Pi 2 Model B with the Windows 10 IoT Core versions 10.0.10586, 10.0.14295 and 10.0.14376.

At the moment Brick Daemon for Windows 10 IoT Core can only be installed from source code. If you don’t have Visual Studio 2015 for Windows 10 IoT development installed yet then you can follow Microsoft’s Getting Started guide to install it.

Now you can download and unpack the required Brick Daemon and daemonlib source code from GitHub. The daemonlib source code has to be unpacked to src\daemonlib directory in the Brick Daemon source code directory:

brickd-2.2.2-uwp-beta1
-> src
   -> brickd
      -> client.c
      -> ...
   -> daemonlib
      -> daemon.c
      -> ...

Now open src\brickd\brickd_uwp.sln in Visual Studio 2015 and compile and run the project. You should now see a running Brick Daemon app.

https://www.tinkerforge.com/static/img/_stuff/brickd_uwp_beta1_700.jpg

It’s a beta!

This is a beta version because there is currently one major issue: USB device auto-detection doesn’t work properly for all Bricks.

The Windows.Devices API to access USB devices requires that every USB device has a DeviceInterfaceGUID assigned. Normally this would just work out-of-the box with all Bricks, but Windows 10 IoT Core (at least versions 10.0.10586, 10.0.14295 and 10.0.14376) seem to have a bug that breaks this for all Bricks except the RED Brick. It’s unclear why the RED Brick is not affected by this problem.

Becasue of this all Bricks except the RED Brick need a manual change in the Windows Registry to make the Windows.Devices API accept them. Here’s what you need to once do for every Brick:

Connect the Brick to USB first, then connect to Windows 10 IoT Core using Power Shell and modify and execute the following command:

reg add "HKLM\System\CurrentControlSet\Enum\USB\VID_16D0&PID_063D\6K9mW5\Device Parameters" /v DeviceInterfaceGUIDs /t REG_MULTI_SZ /d "{870013DD-FB1D-4BD7-A96C-1F0B7D31AF41}"

This adds the missing DeviceInterfaceGUID for a Brick with UID 6K9mW5. To add the DeviceInterfaceGUID for your Brick replace 6K9mW5 with the UID of your Brick in the command.

Afterwards you need to reset the Brick. Now Brick Daemon should find it. But sometimes the reg add command hangs for some unknown reason. If this happens restart Windows 10 IoT Core and try again.

There is a thread in our forum for your feedback.

The second part will discuss the technical details and challenges of porting Brick Daemon to Windows 10 IoT Core.

WIFI Extension 2.0 available

The new WIFI Extension 2.0 is finally available!

https://www.tinkerforge.com/en/doc/_images/Extensions/extension_wifi2_hand_600.jpg

It features the now ubiquitous ESP8266. We use the ESP-WROOM-02 module which is FCC/CE compatible. As you can see on GitHub the development for this new Extension started on July 27th 2015. Nearly one year ago, holy moly!

https://www.tinkerforge.com/en/doc/_images/Extensions/extension_wifi2_tilted_600.jpg

The new WIFI Extension 2.0 comes with it’s own firmware that can be updated completely automatically by the Brick Viewer through a Master Brick. So you don’t need a FTDI cable or similar to update the Extension. Compared to the old WIFI Extension we have many new features and even more are planned:

Property WIFI Extension WIFI Extension 2.0
Price (incl. VAT) 59.99€ 29.99€
Modes Access point or client Access point or client or both at the same time
Encryption WPA2 for client, WEP for access point WPA2 for client and access point
Tinkerforge Protocols TCP/IP, authentication TCP/IP, authentication, WebSockets
Firmware updates No Yes
Mesh networking No Comming soon
Internal homepage No Comming soon
Weight 18g 12g
External antenna Yes No (PCB antenna only)

Every other property between the two are either equal or very similar (RF output power, etc.). As you can see, the new WIFI Extension 2.0 can replace the old WIFI Extension in all but one feature: You can’t connect an external antenna. We realize that this is necessary for some applications. Unfortunately none of the ESP8266 modules with a external antenna connector that are currently available on the market is FCC and CE compatible. As far as we can tell they have neither been tested, nor would they pass a test.

As a workaround we will still offer the old WIFI Extension for the time being. In the last production run a few weeks ago we made sure to produce a full batch. So we expect the old WIFI Extension to be available as fallback for a long time :-)

https://www.tinkerforge.com/en/doc/_images/Extensions/extension_wifi2_w_master_600.jpg

Tinkerforge at Automatica 2016

https://www.tinkerforge.com/static/img/_stuff/automatica.jpg

This year the Automatica is from 21st to 24th June in Munich. We will present our building blocks at this trade fair for automation and mechatronics for the first time. We are very curious about the feedback. Our booth is in hall A5 stand 139A. You will be able to see applications four our building blocks in the areas of low cost automation and rapid prototyping.

As an exhibitor we will have an allocation of free tickets again. If you want to visit us at Automatica, please write an email to info@tinkerforge.com.

Maker Faire 2016

https://www.tinkerforge.com/static/img/_stuff/MakerFaireHannover.jpg

The Maker Faire in Hannover is from 27th to 29th May this year. Friday (27th) is reserved for school classes. Saturday and Sunday are normal faire days, as always. You can find more information on the Maker Faire Website.

This year we will have our booth in the Niedersachsenhalle. You can find us at stand 100.

As an exhibitor we have a small number of free tickets that we can hand out. Please write to info@tinkerforge.com if you want a free ticket for Maker Faire Hannover. We will give the tickets out first come first serve as long as supplies last ;-).

The free tickets are all gone!

Tinkerforge with Volavis at Hannover Messe

Today the Hannover Messe starts (25th to 29th April). While we are not there ourselves, you will still be able to find some of our products in Hannover at the booth of Volavis GmbH (hall 6, booth K46).

https://www.tinkerforge.com/static/img/_stuff/volavis_tf.jpg

The setup consists of lots of Industrial Bricklets that switch valves as well as a RED Brick. The latter provides the control software as well as a user interface that that is shown on a HDMI display with touch. The mini production plant simulates different fabrication steps including the inspection of work pieces and polishing.

Volavis is a cross-sector software service provider with know-how in the development of web applications, embedded software and mobile applications. At the trade faire they are showing “Internet of Things” solutions. They retrofitted an old demonstration production plant with Tinkerforge hardware to make it suitable for “Industrie 4.0″ applications. The machine is now connected to cloud software, it can be controlled from a tablet and production processes can be analyzed online.