Richard O'Donnell
Published © MIT

SnowPI on Windows 10 IoT

Create a Windows 10 app with a XAML GUI that controls a SnowPI

BeginnerFull instructions provided3,144
SnowPI on Windows 10 IoT

Things used in this project

Hardware components

SnowPI
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Raspberry Pi 2 Model B
Raspberry Pi 2 Model B
×1

Software apps and online services

Visual Studio 2015
Microsoft Visual Studio 2015
Windows 10 IoT Core
Microsoft Windows 10 IoT Core

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Code

SnowPIControl first draft

XML
The basic shape of the SnowPI
    <Viewbox>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Background="DarkGreen">
            <!--#region Hat-->
            <Polygon Points="0 0, 290 0, 255 170, 35 170" Fill="Black" HorizontalAlignment="Center" StrokeThickness="10" />
            <Rectangle Fill="White" Width="360" Height="40" Margin="0, -1, 0, 0" />
            <!--#endregion -->
            <!--#region Face-->
            <Grid Margin="0 -20, 0, 0">
                <Ellipse Fill="White" Width="385" Height="385" />
                <Path Stroke="Black" StrokeThickness="10" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0, -128, 0, 0">
                    <Path.Data>
                        <PathGeometry>
                            <PathFigure StartPoint="0, 306" IsClosed="False">
                                <ArcSegment Point="256, 306" Size="130 120" />
                            </PathFigure>
                        </PathGeometry>
                    </Path.Data>
                </Path>
            </Grid>
            <!--#endregion -->
            <!--#region Body-->
            <Grid Margin="0, -40, 0, 0">
                <Ellipse Fill="White" Width="480" Height="480" />
            </Grid>
            <!--#endregion -->
            <!--#region GPIO Header-->
            <Rectangle Fill="White" Margin="0, -50, 0, 0" />
            <!--#endregion -->
        </StackPanel>
    </Viewbox>

SnowPI

Controlling a SnowPi using Windows 10 IoT

Credits

Richard O'Donnell

Richard O'Donnell

1 project • 3 followers
Software Engineer

Comments