This document discusses building a Raspberry Pi-driven robot arm using .NET 7 and related technologies. It covers installing .NET 7 on the Raspberry Pi, using the GPIO and device bindings to control servos and sensors, and creating demos with Blazor, SignalR, and Unity to drive the robot arm. Links are provided to the code repository, NuGet packages, and the presenter's contact information.
3. Pete Gallagher
@pete_codes
www.PeteCodes.co.uk
pete@pjgcreations.co.uk
Full Stack Development Manager at Avanade UK
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
4. ● .NET 7
● Installing .NET 7
● Raspberry Pi GPIO and the Circuit
● Hello World (In the world of IoT)
● Device Bindings and Driving Servos
● Blazor and SignalR
● Final Demos
What We’re Covering
7. ● Improved ARM64 Code Generation
● Improved System.Text.Json Serialization
● Generic Math
● Regular Expression Improvements
● Support for Milliseconds & Nanoseconds
● dotnet new code completion
● Publish to a Container
What’s New in .NET 7
11. ● 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
System.Device.Gpio
https://www.nuget.org/packages/
System.Device.Gpio
15. ● BME280 Temp / Humidity Sensor
● MCP23xxx I/O Expander
● Explorer Hat
● Sense Hat
● Servos
● Much more…
Iot.Device.Bindings
https://www.nuget.org/packages/
Iot.Device.Bindings
28. ● GitHub and Workshop
https://bit.ly/dotnet5robotarmrepo
● What’s new in Dot Net 7
http://bit.ly/pjgdotnet7new
● Installing Dot Net 7 on the Raspberry Pi
http://bit.ly/dotnet7pi
● 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
Links
29. ● Twitter
@pete_codes
● Email
pete@pjgcreations.co.uk
● Blog
https://www.petecodes.co.uk
Contact Me
● Notts IoT
https://www.nottsiot.co.uk
● .NET Notts
https://www.dotnetnotts.co.uk
● 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
.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
Generic Math = Math without knowing the types – No need to overload functions for types
Regular Expression Source Generators – Optimized at Compile Time