Raspberry Pi and Visual Basic: Programming Windows 10 IoT
Imported Edition - Ships in 18-21 Days
Free Shipping in India on orders above Rs. 500
Imported Edition - Ships in 18-21 Days
Free Shipping in India on orders above Rs. 500
Foreword by the Author I had not worked with the Raspberry Pi very long when I realized how much fun it could be. Like most, I started with Python, used Scratch, and some of the music software on Raspbian (default operating system for the Raspberry Pi). After a few successful projects, I grew tired of Python and the limitations of the GUI in Tkinter. I do not mean knock Python, and I just wanted to try something different. It was just too long of a learning curve for the GUI language part. I felt Visual Basic (VB) might prove to be more efficient and faster for my projects. Being an old Visual Basic guy, and having interest in the electronics and other aspects of the Pi, I wanted quicker results. I started out trying to learn C Sharp better, and I probably spend more time there in the future, but again it was taking too long to learn. I wanted to utilize some of the existing knowledge I had in Visual Basic, if possible. I found some information was on the internet, but it is all over the place for the Pi and Windows 10 IoT (Internet of Things). After doing a few weeks of research, I decided to use Visual Basic in Visual Studio Community 2017. I wanted to see how feasible VB still is for the Raspberry Pi and Windows 10 IoT. I picked a project to develop in Visual Basic and utilized the Pi Foundations 7" Raspberry touchscreen. This screen allowed me to keep my PC screens for work. After more research and coding, I found out my project was viable and perfect for Visual Basic. I created a speech timer application for my local Toastmasters club and presented it at one of the meetings. It worked well. I wanted to provide information to interest a novice to learn more, and possibly provide something a veteran could use to get past any hurdles they might have with the Pi and Visual Basic. This book is meant to help both. I carefully chose the projects that presented in the book. I have basic examples of Visual Basic's buttons, textboxes, progress bars, textblocks, file access, and even some SQL Server examples. I could have gone a lot deeper in electronics, but did not. The Pi has a GPIO-General Purpose Input Output or electronics capability. Instead, I choose to just scratch the surface in electronics and cover what might make people interested in the Pi. Visual Basic does work with the Pi, and it works well for Windows 10 IoT programming. It is too bad Xamarin and Visual Studio Community did not provide the ability to use Visual Basic for Android and IOS. I programmed Android with Android Studio instead of Visual Studio since it only works in C sharp using Xamarin. You must learn Java, and that was the bulk of the code required. I hope you enjoy using this book and the samples in Visual Basic and the Raspberry Pi. Table of Contents Foreword by the Author3 Author's Background6 Table of Contents8 Disclaimer10 Purpose of this Book11 Raspberry Pi Boards15 The History of the Raspberry Pi16 What Makes Up A PI?17 GPIO19 Operating Systems22 Disclaimer and Precautions23 Components for the Pi24 Required Components25 Recommended Components26 Installing Windows 10 IoT Core28 Setting Up Your Raspberry Pi30 Tools for Windows 10 IoT Development31 Admin Screen Functionality38 Apps Functionality38 Other Information38 Programming and Visual Basic39 Variables40 Subroutines and Functions42 Functions42 Toolbox Controls45 Conditionals45 If Then Else45 Do While Loop46 For Next46 Events48 Visual Studio IDE Setup50 Visual Basic Projects82 HelloPi84 HelloPiBye100 SimpleTimer109 File Operations122 GPIOToggle130 GPIOButtonPressed150 SQL Server Access and Read168 Glossary184 Diagrams187 GPIO Diagram188 Raspberry Pi Board Top189 Raspberry Pi Board Back190 GPIO Extension Board Pinouts191 GPIO Extension T Board192 Sunfounder GPIO Extension Kit193 Breadboard & T Extender Diagram194 CanaKit Pi GPIO Board Bundle196 Breadboard Overview197 Web Links198 Notes199
Carl Shackelford currently lives in Pensacola, Florida on Perdido Key with his wife Carole and their dog Todd. He has been involved in technology most of his career. He started his career learning electronics and computers at Dyersburg State Community College where he had a dual major with an Associate of Science in Industrial Electronics and an Associate of Science in Computer Technology. Carl worked as an Electronics and Computer Technician for several years early in his career. He continued in college and earned a BS/MS from Middle Tennessee State University in Industrial Studies (EE Tech now) Minoring in Computer Science. Some of his graduate courses were in Technical education, robotics, data structures, and circuit design. He has worked in programming and engineering with well-known companies like Nissan, Cummins, TRW, NFIB, Deloitte & Touché, Rehau, and Alto. During this time, he completed Microsoft's MCP, MCSD, MCSP, and MCT-Microsoft Certified Trainer, and was certified in the Microsoft Train the Trainer program. The last few years he has been the Founder/CEO of two companies: PSI/A1 Barcode Systems and A1 Entities, Inc. He is currently working for Bar Code Integrators, Inc. in several roles. For fun, he loves to fish and golf. At the time of this writing, he is serving as the Area 55 Director of Toastmasters in Florida. Carl has always had a love for technology and has always been interested in sharing technology with others.
• Author(s): Clear | James • Publisher: Penguin • Publisher Imprint: Penguin Random House • Subject: General Books
• Author(s): Ichiro Kishimi • Publisher: GROVE ATLANTIC • Publisher Imprint: Allen & Unwin • BISAC: Personal Growth - SuccessIchiro Kishimi lives in Kyoto. He writes, lectures and teaches in psychiatric clinics as a certified counsellor and c...
View full details• Author(s): Chetan Bhagat • Publisher: HarperCollins Publishers India • Publisher Imprint: HarperCollins Publishers India • BISAC: GeneralFrom India's top-selling writer Chetan Bhagat comes a powerful new love story that will make you laugh, cry...
View full details• Author(s): Brianna Wiest • Publisher: Manjul Publishing • Publisher Imprint: Amaryllis • BISAC: Body Mind And SpiritThis is a book about self-sabotage. Why we do it, when we do it, and how to stop doing it—for good. Coexisting but conflicting n...
View full details• Author(s): Morgan Housel • Publisher: Pan Macmillan • Publisher Imprint: Pan Macmillan • BISAC: Finance - Wealth ManagementA third book from the International bestselling author of The Psychology of Money and Same as Ever, lessons on harnessing...
View full details• Author(s): Arundhati Roy• Publisher: PRH INDIA LOCAL PRINT• Publisher Imprint: Penguin Hamish Hamilton• BISAC: Literary FiguresArundhati Roy’s first work of memoir, this is a soaring account, both intimate and inspiring, of how the author became...
View full details• Author(s): Acharya Prashant • Publisher: HarperCollins Publishers India • Publisher Imprint: HarperCollins Publishers India • BISAC: GeneralIn a world where vagueness is mistaken for depth and obscurity passes for wisdom, Truth without Apology ...
View full details• Author(s): Sudha Murthy • Publisher: India Puffin • Publisher Imprint: India Puffin • BISAC: Short StoriesWho can resist a good story, especially when it's being told by Grandma? From her bag emerges tales of kings and cheats, monkeys and mic...
View full details• Author(s): Satoshi Yagisawa • Publisher: Bonnier Books Ltd • Publisher Imprint: Bonnier Books Ltd
• Author(s): Newport, Cal • Publisher: Little, Brown Book Group • Publisher Imprint: Piatkus
• Author(s): Shrijeet Shandilya • Publisher: Ebury Press • Publisher Imprint: Ebury Press • BISAC: Romance - GeneralIn the electric haze of college life, three friends are bound by laughter, late-night talks and unspoken promises. But when two of...
View full details• Author(s): Dan Brown • Publisher: Transworld Publishers Ltd • Publisher Imprint: Transworld Publishers Ltd • BISAC: Thrillers - EspionageDan Brown is the bestselling author of Digital Fortress, Deception Point, Angels and Demons, The Da Vinci C...
View full details• Author(s): Sudha Murty • Publisher: India Puffin • Publisher Imprint: India Puffin • BISAC: Action & Adventure - General
Rich Dad Poor Dad: What the Rich Teach Their Kids about Money That the Poor and Middle Class Do Not!
• Publisher: Penguin • Publisher Imprint: Penguin Random House • Subject: General Books • BISAC: Personal Finance - GeneralApril of 2022 marks a 25-year milestone for the personal finance classic Rich Dad Poor Dad that still ranks as the #1 Pers...
View full details• Author(s): Dale Carnegie | Napoleon Hill • Publisher: Fingerprint • Publisher Imprint: Fingerprint • Subject: General Books
• Author(s): Freida Mcfadden • Publisher: Penguin Select Print • Publisher Imprint: Penguin Select Publishing"Multi-Million Copy Bestselling Series •Now Being Made Into a Major Motion Picture Starring Sydney Sweeney and Amanda Seyfried #1 New Yor...
View full details• Author(s): Wonder House Books • Publisher: Wonder House Books • Publisher Imprint: Wonder House Books • BISAC: Comics & Graphic Novels - Fairy Tales, Folklore, Legends & MTimeless Wisdom, Talking Animals & Life Lessons for Young Min...
View full details• Author(s): Viktor E. Frankl • Publisher: Random House • Publisher Imprint: Random Hou • Subject: Medical, Nursing and Health Sciences
• Author(s): Madhavi Bharadwaj • Publisher: PRH India • Publisher Imprint: Penguin Ebury Press • BISAC: Parenting - MotherhoodWelcome to the wild, messy, wonderful world of parenting--where the nights are long, the diapers are explosive, and unso...
View full details• Author(s): Vir Das • Publisher: HarperCollins Publishers India • Publisher Imprint: HarperCollins Publishers India • BISAC: Entertainment & Performing ArtsComedian and actor Vir Das is beloved (by some, tolerated by others, blocked by a few...
View full details• Author(s): Eric Carle • Publisher: Penguin Books, Limited (UK) • Publisher Imprint: Penguin Books, Limited (UK) • BISAC: Animals - Butterflies, Moths & CaterpillarsEric Carle's The Very Hungry Caterpillar is a perennial favourite with child...
View full details• Author(s): Prajakta Koli • Publisher: Harper Fiction India • Publisher Imprint: Harper Fiction India • BISAC: Romance - ContemporaryWinner of the Amazon India Popular Choice Debut Book 2025 Award. From one of India's most-loved creators comes s...
View full details• Author(s): Albom, Mitch • Publisher: Little, Brown Book Group • Publisher Imprint: Sphere* Subtitled 'An old man, a young man, and life's greatest lesson', this is a true story of a man's rediscovery of his mentor - a book about second chances.