SlideShare a Scribd company logo
1 of 37
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Building a Raspberry Pi
Robot Arm with .NET 6,
Blazor and SignalR
PETE GALLAGHER
PETECODES.CO.UK
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
About Me
Pete Gallagher
@pete_codes
www.PeteCodes.co.uk
pete@pjgcreations.co.uk
Freelance IoT Consultant at PJG Creations Ltd
Microsoft Certified Trainer & Azure MVP, Pluralsight Author
Decades of Desktop, Web & Embedded Software experience,
Meetup Organiser,
STEM Ambassador, Code Club Organiser … Gadget Addict
Father of two inquisitive girls
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
What we’re going to be doing…
 .NET 6
 Installing .NET 6
 Raspberry Pi GPIO and the Circuit
 Hello World (In the world of IoT)
 Device Bindings and Driving Servos
 Blazor and SignalR
 Final Demos
 Q&A
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
.NET 6
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
.NET 6
INFRASTRUCTURE
.NET STANDARD
.NET is a software development platform
DESKTOP WEB CLOUD MOBILE GAMING IoT AI
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
What’s new in .NET 6?
 ARM64 Support
 .NET MAUI
 Global Using
 File-Scoped Namespaces
 HTTP/3
 Record Structs
 Async Main
http://bit.ly/dotnet6newfeatures
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
.NET Ecosystem Momentum
> 1.5M
.NET Core Developers
In Visual Studio
#1 Most Loved
Framework
.NET Core
Top 30
Highest velocity OSS Projects
github.com/dotnet
github.com/aspnet
Top 5
Language on GitHub
C#
7x
Faster than Node.js
ASP.NET Core
40%
New to .NET are students
dot.net download survey
Build 2020 – Journey to one .NET - https://www.youtube.com/watch?v=ctSqiD8BGPM
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Install
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Install
Single Line Install
wget -O - https://raw.githubusercontent.com/pjgpetecodes/dotnet6pi/master/install.sh | sudo bash
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
.NET 6 & GPIO
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
System.Device.Gpio
 Supports I/O, SPI, PWM, I2C
 Supports Raspberry Pi, Beagleboard,
Hummingboard, Odroid etc
 Supports Linux and Windows 10 IoT
 Installs via the CLI or Nuget PM
https://www.nuget.org/packages/
System.Device.Gpio
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi GPIO
Board Numbering
BCM Numbering
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Circuit 1
Pin 10
Pin 26
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Demo 1
Hello World (In the world of IoT)
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Iot.Device.Bindings
 Support for
BME280 Temp / Humidity Sensor
MCP23xxx I/O Expander
Explorer Hat
Sense Hat
Servos
Much more…
https://www.nuget.org/packages/
Iot.Device.Bindings
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Circuit 2
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Servo Control Board
Pin 25
Pin 35
Pin 13
Pin 12
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Servos
Control
Power
Ground
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Servos
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Demo 2
Servo Demo
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Blazor
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
“Blazor is a single-page app
framework for building
interactive client-side Web
apps with .NET”
Scott Hansleman
Blazor
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Blazor
 Started Life as Steve Sanderson’s Pet Project
 Web UI Framework based in C#
 Replaces JavaScript
 Razor and HTML
 Server Side or Client Side WebAssembley
 Client Side .NET with no plugins
 Support in most modern Browsers
https://bit.ly/pjgblazor
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
SignalR
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
“ASP.NET SignalR is a library for
ASP.NET developers to add real-
time web functionality to their
applications”
Wikipedia
SignalR
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
SignalR
 Open Source
 Created by David Fowler
and Damian Edwards in 2011
 Enables Bi-directional
Real-Time communications
 Supports;
Web Sockets
Server-Sent Events
Long Polling
https://bit.ly/pjgsignalr
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Demo 3
Drive the Arm!
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Unity and VR
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
“Unity is a Cross-Platform Game
Engine…
Unity gives users the ability to
create games and experiences in
both 2D and 3D”
Wikipedia
Unity and VR
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Unity and VR
 Founded in 2002
 Nicholas Francis, Joachim Ante, and David Helgason
 Cross platform deployment
 Supports VR headsets
 C#
 .NET Standard 2.0 and .NET 4.x
 Add Nuget Packages
https://unity.com/
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Raspberry Pi Demo 4
VR Robots!
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Links
 GitHub and Workshop
https://bit.ly/dotnet5robotarmrepo
 C# 10 + Dot Net 6
http://bit.ly/pjgdotnet6announcement
 Installing Dot Net 6 on the Raspberry Pi
http://bit.ly/dotnet6pi
 Dot Net GPIO Nuget Package
https://www.nuget.org/packages/System.Device.Gpio
 Dot Net IoT Device Bindings Source Code
https://github.com/dotnet/iot/tree/master/src/devices
 3D Printed Robot Arm – From the presentation
https://www.thingiverse.com/thing:1015238
 3D Printed Robot Arm - Workshop
http://bit.ly/pjgrobotarmparts
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Links
Blazor
https://bit.ly/pjgblazor
MatBlazor
https://www.matblazor.com/
Awesome Blazor
https://github.com/AdrienTorris/awesome-blazor
SignalR
https://bit.ly/pjgsignalr
Uno Platform
https://bit.ly/pjgunoplatform
IoTeaLive
https://twitch.tv/azureishlive
pluralsight.pxf.io/az220
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
 Twitter
@pete_codes
 Email:
pete@pjgcreations.co.uk
 Personal Website:
https://www.petecodes.co.uk
Notts IoT:
https://www.nottsiot.co.uk
 Dot Net Notts:
https://www.dotnetnotts.co
 Notts Dev Workshop:
https://www.nottsdevworkshop.co.uk
 LATi:
https://www.lati.org.uk
 Agile Engineering Podcast:
https://agileengineeringpodcast.com/
 Azureish Live:
https://www.twitch.tv/azureishlive
Contact Me
Slides: https://bit.ly/pjgndcmelbourne2022
Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes
Contact Me
Pete Gallagher
@pete_codes /
@PJGCreations
www.PeteCodes.co.uk
www.PJGCreations.co.uk
Pete@PJGCreations.co.uk
Slides: https://bit.ly/pjgyorkshiredotnet2022

More Related Content

Similar to Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire .NET 2022

Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...Peter Gallagher
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...Peter Gallagher
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...Peter Gallagher
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalRBuilding a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalRPeter Gallagher
 
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020Peter Gallagher
 
Dot NET Core 3 with the Raspberry Pi - Virtual Azure Community Day
Dot NET Core 3 with the Raspberry Pi - Virtual Azure Community DayDot NET Core 3 with the Raspberry Pi - Virtual Azure Community Day
Dot NET Core 3 with the Raspberry Pi - Virtual Azure Community DayPeter Gallagher
 
Dot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc NottsDot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc NottsPeter Gallagher
 
Dot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry PiDot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry PiPeter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Peter Gallagher
 
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...Peter Gallagher
 
Controlling Robots Remotely with Azure
Controlling Robots Remotely with AzureControlling Robots Remotely with Azure
Controlling Robots Remotely with AzureLiam Gulliver
 
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19Peter Gallagher
 
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...Peter Gallagher
 
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.jsRaspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.jsAndri Yadi
 
Azure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.jsAzure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.jsPeter Gallagher
 
IOT with Drupal 8 - Webinar Hyderabad Drupal Community
IOT with Drupal 8 -  Webinar Hyderabad Drupal CommunityIOT with Drupal 8 -  Webinar Hyderabad Drupal Community
IOT with Drupal 8 - Webinar Hyderabad Drupal CommunityPrateek Jain
 
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net SheffGetting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net SheffPeter Gallagher
 
IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021Peter Gallagher
 
IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021Peter Gallagher
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Peter Gallagher
 

Similar to Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire .NET 2022 (20)

Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalRBuilding a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
 
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
 
Dot NET Core 3 with the Raspberry Pi - Virtual Azure Community Day
Dot NET Core 3 with the Raspberry Pi - Virtual Azure Community DayDot NET Core 3 with the Raspberry Pi - Virtual Azure Community Day
Dot NET Core 3 with the Raspberry Pi - Virtual Azure Community Day
 
Dot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc NottsDot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc Notts
 
Dot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry PiDot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry Pi
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
 
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
 
Controlling Robots Remotely with Azure
Controlling Robots Remotely with AzureControlling Robots Remotely with Azure
Controlling Robots Remotely with Azure
 
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
 
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
 
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.jsRaspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
 
Azure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.jsAzure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.js
 
IOT with Drupal 8 - Webinar Hyderabad Drupal Community
IOT with Drupal 8 -  Webinar Hyderabad Drupal CommunityIOT with Drupal 8 -  Webinar Hyderabad Drupal Community
IOT with Drupal 8 - Webinar Hyderabad Drupal Community
 
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net SheffGetting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
 
IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021
 
IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
 

More from Peter Gallagher

Supercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAISupercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAIPeter Gallagher
 
Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023Peter Gallagher
 
Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022Peter Gallagher
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Peter Gallagher
 
Config and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployConfig and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployPeter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...Peter Gallagher
 
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22Peter Gallagher
 
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21Peter Gallagher
 
Azure Percept Home Automation - .NET Liverpool - 28-10-21
Azure Percept Home Automation  - .NET Liverpool - 28-10-21Azure Percept Home Automation  - .NET Liverpool - 28-10-21
Azure Percept Home Automation - .NET Liverpool - 28-10-21Peter Gallagher
 
Azure Percept Home Automation - .NET Docs Show - 20-09-21
Azure Percept Home Automation  - .NET Docs Show - 20-09-21Azure Percept Home Automation  - .NET Docs Show - 20-09-21
Azure Percept Home Automation - .NET Docs Show - 20-09-21Peter Gallagher
 
IoT isn't just for Christmas
IoT isn't just for ChristmasIoT isn't just for Christmas
IoT isn't just for ChristmasPeter Gallagher
 
DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20Peter Gallagher
 

More from Peter Gallagher (12)

Supercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAISupercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAI
 
Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023
 
Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
 
Config and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployConfig and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus Deploy
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
 
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
 
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
 
Azure Percept Home Automation - .NET Liverpool - 28-10-21
Azure Percept Home Automation  - .NET Liverpool - 28-10-21Azure Percept Home Automation  - .NET Liverpool - 28-10-21
Azure Percept Home Automation - .NET Liverpool - 28-10-21
 
Azure Percept Home Automation - .NET Docs Show - 20-09-21
Azure Percept Home Automation  - .NET Docs Show - 20-09-21Azure Percept Home Automation  - .NET Docs Show - 20-09-21
Azure Percept Home Automation - .NET Docs Show - 20-09-21
 
IoT isn't just for Christmas
IoT isn't just for ChristmasIoT isn't just for Christmas
IoT isn't just for Christmas
 
DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20
 

Recently uploaded

VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...Call Girls in Nagpur High Profile
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一zul5vf0pq
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一ga6c6bdl
 
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一ga6c6bdl
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样qaffana
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...ranjana rawat
 
定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一ss ss
 
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknowmakika9823
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...Pooja Nehwal
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsPooja Nehwal
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...srsj9000
 
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Pooja Nehwal
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaUnited Arab Emirates
 
Call Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile serviceCall Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile servicerehmti665
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...Suhani Kapoor
 
原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样
原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样
原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样qaffana
 

Recently uploaded (20)

VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
 
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
 
定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一
 
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call Girls
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
 
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
 
9953330565 Low Rate Call Girls In Jahangirpuri Delhi NCR
9953330565 Low Rate Call Girls In Jahangirpuri  Delhi NCR9953330565 Low Rate Call Girls In Jahangirpuri  Delhi NCR
9953330565 Low Rate Call Girls In Jahangirpuri Delhi NCR
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
 
Low rate Call girls in Delhi Justdial | 9953330565
Low rate Call girls in Delhi Justdial | 9953330565Low rate Call girls in Delhi Justdial | 9953330565
Low rate Call girls in Delhi Justdial | 9953330565
 
Call Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile serviceCall Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile service
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
 
原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样
原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样
原版制作美国天普大学毕业证(本硕)tu毕业证明原版一模一样
 

Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire .NET 2022

  • 1. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Building a Raspberry Pi Robot Arm with .NET 6, Blazor and SignalR PETE GALLAGHER PETECODES.CO.UK
  • 2. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes About Me Pete Gallagher @pete_codes www.PeteCodes.co.uk pete@pjgcreations.co.uk Freelance IoT Consultant at PJG Creations Ltd Microsoft Certified Trainer & Azure MVP, Pluralsight Author Decades of Desktop, Web & Embedded Software experience, Meetup Organiser, STEM Ambassador, Code Club Organiser … Gadget Addict Father of two inquisitive girls
  • 3. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes What we’re going to be doing…  .NET 6  Installing .NET 6  Raspberry Pi GPIO and the Circuit  Hello World (In the world of IoT)  Device Bindings and Driving Servos  Blazor and SignalR  Final Demos  Q&A
  • 4. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes .NET 6
  • 5. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes .NET 6 INFRASTRUCTURE .NET STANDARD .NET is a software development platform DESKTOP WEB CLOUD MOBILE GAMING IoT AI
  • 6. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes What’s new in .NET 6?  ARM64 Support  .NET MAUI  Global Using  File-Scoped Namespaces  HTTP/3  Record Structs  Async Main http://bit.ly/dotnet6newfeatures
  • 7. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes .NET Ecosystem Momentum > 1.5M .NET Core Developers In Visual Studio #1 Most Loved Framework .NET Core Top 30 Highest velocity OSS Projects github.com/dotnet github.com/aspnet Top 5 Language on GitHub C# 7x Faster than Node.js ASP.NET Core 40% New to .NET are students dot.net download survey Build 2020 – Journey to one .NET - https://www.youtube.com/watch?v=ctSqiD8BGPM
  • 8. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Install
  • 9. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Install Single Line Install wget -O - https://raw.githubusercontent.com/pjgpetecodes/dotnet6pi/master/install.sh | sudo bash
  • 10. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes .NET 6 & GPIO
  • 11. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes System.Device.Gpio  Supports I/O, SPI, PWM, I2C  Supports Raspberry Pi, Beagleboard, Hummingboard, Odroid etc  Supports Linux and Windows 10 IoT  Installs via the CLI or Nuget PM https://www.nuget.org/packages/ System.Device.Gpio
  • 12. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi GPIO Board Numbering BCM Numbering
  • 13. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Circuit 1 Pin 10 Pin 26
  • 14. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Demo 1 Hello World (In the world of IoT)
  • 15. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Iot.Device.Bindings  Support for BME280 Temp / Humidity Sensor MCP23xxx I/O Expander Explorer Hat Sense Hat Servos Much more… https://www.nuget.org/packages/ Iot.Device.Bindings
  • 16. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Circuit 2
  • 17. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Servo Control Board Pin 25 Pin 35 Pin 13 Pin 12
  • 18. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Servos Control Power Ground
  • 19. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Servos
  • 20. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Demo 2 Servo Demo
  • 21. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Blazor
  • 22. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes “Blazor is a single-page app framework for building interactive client-side Web apps with .NET” Scott Hansleman Blazor
  • 23. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Blazor  Started Life as Steve Sanderson’s Pet Project  Web UI Framework based in C#  Replaces JavaScript  Razor and HTML  Server Side or Client Side WebAssembley  Client Side .NET with no plugins  Support in most modern Browsers https://bit.ly/pjgblazor
  • 24. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes SignalR
  • 25. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes “ASP.NET SignalR is a library for ASP.NET developers to add real- time web functionality to their applications” Wikipedia SignalR
  • 26. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes SignalR  Open Source  Created by David Fowler and Damian Edwards in 2011  Enables Bi-directional Real-Time communications  Supports; Web Sockets Server-Sent Events Long Polling https://bit.ly/pjgsignalr
  • 27. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Demo 3 Drive the Arm!
  • 28. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Unity and VR
  • 29. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes “Unity is a Cross-Platform Game Engine… Unity gives users the ability to create games and experiences in both 2D and 3D” Wikipedia Unity and VR
  • 30. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Unity and VR  Founded in 2002  Nicholas Francis, Joachim Ante, and David Helgason  Cross platform deployment  Supports VR headsets  C#  .NET Standard 2.0 and .NET 4.x  Add Nuget Packages https://unity.com/
  • 31. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Raspberry Pi Demo 4 VR Robots!
  • 32. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Links  GitHub and Workshop https://bit.ly/dotnet5robotarmrepo  C# 10 + Dot Net 6 http://bit.ly/pjgdotnet6announcement  Installing Dot Net 6 on the Raspberry Pi http://bit.ly/dotnet6pi  Dot Net GPIO Nuget Package https://www.nuget.org/packages/System.Device.Gpio  Dot Net IoT Device Bindings Source Code https://github.com/dotnet/iot/tree/master/src/devices  3D Printed Robot Arm – From the presentation https://www.thingiverse.com/thing:1015238  3D Printed Robot Arm - Workshop http://bit.ly/pjgrobotarmparts
  • 33. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Links Blazor https://bit.ly/pjgblazor MatBlazor https://www.matblazor.com/ Awesome Blazor https://github.com/AdrienTorris/awesome-blazor SignalR https://bit.ly/pjgsignalr Uno Platform https://bit.ly/pjgunoplatform
  • 36. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes  Twitter @pete_codes  Email: pete@pjgcreations.co.uk  Personal Website: https://www.petecodes.co.uk Notts IoT: https://www.nottsiot.co.uk  Dot Net Notts: https://www.dotnetnotts.co  Notts Dev Workshop: https://www.nottsdevworkshop.co.uk  LATi: https://www.lati.org.uk  Agile Engineering Podcast: https://agileengineeringpodcast.com/  Azureish Live: https://www.twitch.tv/azureishlive Contact Me Slides: https://bit.ly/pjgndcmelbourne2022
  • 37. Building a Robot Arm with Raspberry Pi, .NET 6, Blazor & SignalR – Copyright Pete Gallagher 2022 – @Pete_Codes Contact Me Pete Gallagher @pete_codes / @PJGCreations www.PeteCodes.co.uk www.PJGCreations.co.uk Pete@PJGCreations.co.uk Slides: https://bit.ly/pjgyorkshiredotnet2022

Editor's Notes

  1. .NET is an entire software development platform that takes care of a lot of the heavy lifting for you when you want to build an application. Applications frameworks help you build the specific types of apps or workloads and enable you to literally build any app for any platform with any operating system. Each .NET workload shares a common infrastructure and .NET Standard library. This means not only are your .NET skills portable, but your actual code is portable no matter what you’re building. This makes it easy to share reusable components (called libraries) across the breadth of applications people build. Additionally, there are a broad set of development tools that makes it really productive to write, debug, build and manage code bases. See: www.dot.net
  2. Build 2020 – Journey to one .NET - https://www.youtube.com/watch?v=ctSqiD8BGPM https://insights.stackoverflow.com/survey/2019#technology-most-loved-dreaded-and-wanted-loved3 github.com/cncf/velocity octoverse.github.com www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=plaintext
  3. Each PWM Channel is created passing in; The Chip Number The PWM Channel The Frquency Optionally, the Duty Cycle Percentage We also then create two ServoMotor objects, passing in; The PWM Channel we'll be using The Maximum Angle of the Servo - We're using a 180 degree Servo, so we pass in 180 here The Minimum Pulse Width The Maximum Pulse Width
  4. Blazor replaces javascript and runs C# on the client side directly in the browsers with no plugins needed. Blazor Server – Works as a web Server (Shipped) Blazor Web Assembly (May 2020) Blazor Renders HTML, but Blazor Native but can render to other things like Native Controls for Mobile.
  5. Blazor replaces javascript and runs C# on the client side directly in the browsers with no plugins needed. Blazor Server – Works as a web Server (Shipped) Blazor Web Assembly (May 2020) Blazor Renders HTML, but Blazor Native but can render to other things like Native Controls for Mobile. Originally developed as a pet project by Steve Sanderson at Microsoft, Blazor is Web UI Framework which is based on C#, Razor and HTML. Blazor compiles down to WebAssembly, which makes it super (or blazingly) fast (Hence the Razor with a “B”). Blazor allows developers to write client side .net… You may say “Oh, like Silverlight?”… Nope, no plugins needed… It’s just supported natively in most modern browsers.
  6. Server: Hubs ChatHub Startup.cs using BlazorSignalRApp.Server.Hubs; ConfigureServices services.AddSignalR(); app.useEndpoint endpoints.MapHub<ChatHub>("/chathub"); Properties Launchconfig applicationUrl Client Pages Index.razor _imports.rzor Wwwroot Index.html