Bary Nusz

Falafel’s “Tinkerer-in-Chief”. Bary’s career has taken him from the oil field services industry, to LCD research, and to the DOE. He’s served as a lead researcher, designer, and programmer on numerous systems that encompassed a wide range of technologies such as ultrasonics, eddy current, and down-hole viscosity measurements — all along the way using the latest software technologies to solve complex control and data imaging challenges. With numerous patents and engineering/scientific achievement awards he finds no challenge too hard to handle. During the spring he spends time chasing down severe storms, and in the summer spends time at the lake with his family. He also enjoys competing as an epee fencer along with his son and daughter. Bary has a BS in Electrical Engineering from Texas Tech University.



Particle Photon Oscilloscope

By | .NET, Blogs, C#, Fun, Hardware, IoT, Microsoft, Mobile, Multi-Device, News, Photon, Visual Studio, Windows | One Comment

I previously turned my Windows IoT Core-based Raspberry Pi 2 into an oscilloscope, but I didn’t stop there. The next gadget in my target is the Particle Photon. This is an amazing little device. However ,unlike the Raspberry Pi 2, it doesn’t have an HDMI output (it’s only about the size of an HDMI connector). I wasn’t sure how best to display the signal data. I took inspiration from a post from – Sending sound over the Internet. They used the TCP capabilities of the Photon to stream audio data to a client. That’s all I needed to bring…

Read More

Windows IoT Core Remote Wifi Scanner

By | .NET, C#, Fun, IoT, Microsoft, Mobile, Multi-Device, News, Visual Studio, Windows, Windows Universal Apps | 2 Comments

Windows IoT Core has a nice web-based device management interface. This app can configure many aspects of the device, such as connecting the device to a WiFi network. Because the web-based device management was just a web app, I thought it shouldn’t be difficult to write a remote app to do the same. I ended up with a remote app that could query WiFi networks visible to a Windows IoT Core device and connect or disconnect that device to those networks. To get started, I connected my browser to the web-based device management app for one of my Windows IoT Core…

Read More
Office Lens_20150902_104950_processed

Windows IoT Core Oscilloscope

By | .NET, Blogs, C#, Fun, Hardware, IoT, Microsoft, Mobile, Multi-Device, News, Telerik, Tools, Visual Studio, Windows Universal Apps | 2 Comments

In my continuing quest to see what the Windows IoT Core is capable of and my desire to push my gadgets to their limits, I came up with an interesting oscilloscope project using a Windows IoT Core-based Raspberry Pi 2 and a simple ADC. Now, I’m not claiming that you can just quickly build an oscilloscope using a Raspberry Pi 2 and an ADC and never need to spend the money on an oscilloscope ever again. The one shown in this project is limited in its temporal resolution to the millisecond range. For an oscilloscope, that’s slow, but it may…

Read More

Bluetooth Rfcomm Communication with a Windows IoT Core Device

By | .NET, C#, IoT, Mobile, News | One Comment

Being a gadget guy, I can’t express enough the excitement I have for the Windows 10 IoT Core. The fact that I can now run most any UWA on a Raspberry Pi 2 is cool. I looked at the many ways you could wirelessly communicate with the Raspberry Pi 2. Carey has done a great post on using ZigBee modules. Then there is also Wifi and Bluetooth. This post will look at using Bluetooth to link a Raspberry Pi 2 with my Surface Pro 3. If you’ve not installed the Windows IoT Core onto your Raspberry Pi 2 you can…

Read More

Microsoft Band Galvanic Skin Response Sensor

By | .NET, Blogs, C#, Fun, Microsoft, Mobile, News | One Comment

Before I get to the sensor, Microsoft updated the Band SDK today. From what I can tell, this update did not significantly change any of the sensors I’ve covered on the API level. Once I’ve had a better look at it I’ll post any changes I do find. The next Microsoft Band sensor in my target is the Galvanic Skin Response sensor, or more simply the Contact sensor. This sensor is designed to give you an indication of if the Band is actually being worn or not. This sensor sends a small electric charge from the metal frame around the…

Read More

Microsoft Band Skin Temperature Sensor

By | .NET, C#, Mobile, News | One Comment

I’m continuing my Microsoft Band exploration by investigating the skin temperature sensor. Just like the pervious Band sensors I’ve already covered, the accelerometer and the ultraviolet sensors, the skin temperature sensor follows the same general pattern. Connect to the band. Set up an event handler to sensor ReadingChanged event. Start the process of reading the sensor by calling the StartReadingsAsync() function. Read the sensor value from the event args SensorReading property. Here is the code snippet to accomplish this:

The ReadingChanged event handler returns the value of the skin temperature sensor in Celsius. Also included in the event args…

Read More

Microsoft Band Ultraviolet Sensor

By | .NET, Blogs, C#, Fun, Hardware, Microsoft, Mobile, News | 2 Comments

One of the more interesting sensors on the Microsoft Band is the UV sensor, mainly because it’s one sensor type that I’ve not played with before. When I examined the UV sensor via the UV tile, it was apparent that it took some time to collect data and then display the results. It appeared that it was a one-time shot with some unknown delay before giving you another UV reading. I really didn’t find much info on the details of this sensor online. So what exactly is UV? It is electromagnetic radiation with a wavelength from 400nm to 10nm, just…

Read More

Microsoft Band Sensors – Accelerometer & Gyroscope

By | .NET, Blogs, C#, Fun, Microsoft, Mobile, Multi-Device, News, Windows | 8 Comments

Microsoft just released the Microsoft Band SDK Preview and I’m excited. Just like with any other electronic gadget, I’m interested in the sensors. The Band is stuffed full of sensors, but the first ones I want to look at are the accelerometers and gyroscopes. From the preview site you can download samples for Windows Phone, Android, and iOS. You also need the documentation. To get started with my sensors investigation, I downloaded the Windows Phone sample code and followed the instructions here to get started with my own project. Accessing the accelerometers and gyroscopes is easy and follows a familiar…

Read More

Accessing the Unity Gyroscope

By | .NET, Blogs, C#, Fun, Microsoft, Mobile, Multi-Device, News, Unity | No Comments

In my continuing desire to explore the capability of Unity accessing the device sensors, I’m exploring the gyroscope. The gyroscope is an instrument that is used to measure the change in rotation along its axis. The first versions of this instrument started off as large and heavy mechanical tops, then progressed to very small MEMS that can now fit into our phones. To demonstrate the gyroscope I’ll use the same code base that I’ve been using in my previous Unity posts; Unity Accelerometer Device Attitude Alignment and Displaying the Device Compass in Unity. So you’ll see the device orientation cubes…

Read More

Displaying the Device Compass in Unity

By | .NET, Blogs, C#, Fun, Mobile, Multi-Device, News, Unity, Windows | No Comments

In my last Unity post we looked at integrating the accelerometers in a Unity app. In this post we look at integrating the magnetometer. A couple of years ago I published a magnetometer application in the Windows Phone Store. That app shows the magnetometer readings in 3D in relation to the orientation of the phone. The magnetometer sensor is how your device senses true north for the compass. For some devices (like my Nokia 1520), the Unity magnetometer API hides the 3D vector and only gives you access to the 2D vector “compass” data. I’ll live with that for now. In…

Read More

Handling EWA Exchange Server Calendar Appointments with FirstClassProperties and ExtendedProperties

By | .NET, C#, Microsoft, News, Office365, Windows | No Comments

While working with EWA Exchange server calendar appointments and ExtendedProperties, I discovered something interesting. Following the online examples found here, reading the ExtendedProperties of each appointment was no problem. However, when I loaded the appointments with the FirstClassProperties option so I could access things like the location and body, the ExtendedProperties disappeared. To get around this problem I retrieve the appointments using the IdOnly option. Then iterate through the appointments and reading the ExtendedProperties as in the example. After reading the ExtendedProperties of the appointment, you can then load the FirstClassProperties of just that appointment with the following call:


Read More

Unity Accelerometer Device Attitude Alignment

By | .NET, Blogs, C#, Fun, Microsoft, Multi-Device, Unity | 3 Comments

In my last post I explored how easy it was to display the device camera onto a Unity 3D surface. This time I’m exploring how easy it is to access the device accelerometer sensors and use the data to align 3D objects in Unity to correct for the attitude of the device to give that floating compass look. Although for this post, I’m only interested in the accelerometers. The magnetometers will come later. I started with my camera project from the last post and added a series of cubes into a parent GameObject to plainly show the orientation and a…

Read More
Main camera

Showing the device camera in Unity

By | .NET, C#, Fun, Microsoft, Mobile, Multi-Device | One Comment

Back in March I helped my Nokia buddies out with the DVLUP Days 2014 North American Tour in Dallas. During one of the sessions, I got introduced to Unity. From my numerous posts about XNA and most recently about Open GL, you can’t be surprised I went to that session. From my previous XNA work you can see that I’m deeply interested in the AR aspect of mobile devices. To do that, however, you need access to the device hardware. With Unity being a cross-platform framework, I was not hopeful that this would end up being an easy task. My…

Read More

Open GL Hello Triangle with Xamarin

By | .NET, Android, Blogs, C#, Fun, Mobile, Multi-Device, News, Xamarin | No Comments

In my last post I shared that I was beginning a new task of learning to develop with Xamarin. What would I tackle for my first projects? It’s not enough for me to do a simple hello world app. I’ve got to go with what I’m interested in. Back in 2012, I did my first post on this blog about XNA 3D graphics. In that post I shared the fact that I first started my 3D graphics exploration starting back in the mid 90’s with OpenGL. So, I’m going to explore the world of 3D graphics in Xamarin centered on…

Read More
Falafel Blog

Microsoft OCR Library

By | .NET, Blogs, C#, Fun, Microsoft, Multi-Device, News | 2 Comments

Microsoft recently announced that their OCR Library for Windows Runtime has been released as a NuGet package. This library enables you to add text reading capabilities to your Windows Phone 8/8.1 and Windows 8.1 Store apps. I wanted to get a simple working example up and running and found it to be quite easy and functional. I created a basic Windows 8.1 Store app. The XAML for the main page is listed below.

The code behind has only one event handler for the button click and because this is just a simple working example contains all of the code necessary…

Read More

Winds of Change for Nokia Developers

By | .NET, Blogs, C#, Mobile, Multi-Device, News, Xamarin | One Comment

For the last 16 months I’ve had the privilege of serving as a Nokia Developer Champion. I’ve spoken at numerous events, conferences, and handed out a ton of swag. In return, I’ve gotten early access to the latest Nokia SDK’s and hardware. I’ve also gotten to work with some great Nokia and Microsoft people. We regretfully received word this week that Microsoft is ending the Nokia Champion and Nokia Ambassador programs on September 1. I would like to thank Randall Arnold , Greg Stoll , and Rich Dunbar  for helping me with my Nokia Champion duties. Although the swag and…

Read More

Cyan Developer Preview Update for Windows Phone 8.1 Enables SensorCore

By | .NET, C#, Microsoft, Mobile, News | 3 Comments

­I was happy to receive the latest Windows Phone 8.1 update on my 1520. This update brings it up to OS version: 8.10.14157.200 The SensorCore SDK gives you access to a step counter, activity information, and capabilities to record your location data in a very low power mode. I’ve know for some time that the SensorCore hardware was present in my 1520 but that it was not enabled. I had to make due with a preview version of a Nokia 635 to play with the SensorCore API. With the latest cyan update, I’ve finally got access to the SensorCore hardware on my…

Read More

Picking your Challenges – Luminance for Points

By | .NET, Blogs, C#, Fun, Windows | No Comments

One of the things I’m learning as I’m settling into my #2520orBust challenge, is picking which challenges I’m going to tackle on You have to consider the requirements of the challenge and the due dates. You also have to consider the amount of free time you have to devote to the challenge. For me, that’s not much time. So, I’m looking at the low hanging fruit right now. The next challenge on my list is the “New App Special“. It’s 250 pts, and I’ve got until the end of August. The app I have in mind is a lux…

Read More

Getting Rid of Buttons to Prevent Inadvertent Input

By | .NET, Blogs, C#, Fun, Microsoft, Mobile, Windows | No Comments

In my other life, I fence with swords. My wife and I also run fencing tournaments. We are known for running a tight ship and keeping things moving along. I hate starting events late, and I hate events running long. Even when you prearrange everything up front, your best plans can be blown apart with simple equipment failure. It’s good practice to have a simple timer for timing the fencing bouts. Several smart phone apps allow you to track all aspects of a fencing bout, like time, score, penalty cards, match count, and injury timer. All of this is represented…

Read More

Showing the Camera Preview in a Universal App – #2520orBust

By | Uncategorized | 2 Comments

This is the second post on my “2520 or Bust” quest. In order to achieve my quest I must get points on, and to do that, I must submit apps. However, not all of the points that are available require you to submit apps. There are some that just require you to take an easy quiz. So my first step toward my Nokia 2520 was 50 points for completing the “Rev up your startup with BizSpark”. You better hurry though, this challenge ends on July 1st. If you miss it, it’s OK, new challenges are posted all the time.

Read More

2520 or Bust

By | Uncategorized | 4 Comments

I’m excited to begin a new developer series called “2520 or Bust.” The purpose of this series is to show you how much of an effort it is to acquire enough challenge points on to get a Nokia 2520. This series of posts will also be syndicated over on

Read More

Sharing Sensor Code in Universal Apps

By | Uncategorized | One Comment

Universal Apps have the ability to unify code between platforms, but what about using sensors between platforms? I wrote a simple Universal App to see how much sensor code could be shared. In the past, Windows Store and Windows Phone had similar code to access and handle sensors, but sharing code meant lots of conditional compilation symbols to handle the differences.

Read More

Sharing Resource Dictionaries in your Universal XAML Apps

By | Uncategorized | One Comment

My colleague Josh Morales has already touched on the new Universal XAML Apps, but I wanted to touch on one of my favorite new features. One of the big selling points to developing native Windows applications is that you can share a significant amount of code between Windows 8/8.1 and Windows Phone applications. Now with the new Hub App project type in VS2013 Update 2 RC, the ability to share code between Windows and Windows Phone has taken a huge leap.   Portable libraries are extremely useful for sharing base classes but have had limited namespaces in the past. Hub…

Read More

Early access to Windows Phone 8.1 for Windows Phone Developers – NOW!

By | Uncategorized | No Comments

Updated 04/14/2014: If you’re a Windows Phone developer, then you are now able to update your Windows Phone to a developer preview of Windows 8.1, including Cortana. All you need to do is install the Preview for Developers app and then check for updates on your phone. As soon as I get the new bits installed, first on my list of new API’s to try out is the Nokia SensorCore bits. Very exciting times for us Windows Phone developers.

Read More