LBRY Block Explorer

LBRY Claims • let's-make-a-web-based-light-switch-go

dd5b7ede25ee39a115f7140f11d561ed90ebd0cb

Published By
Created On
13 Jun 2022 12:26:46 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
Let's Make a Web Based Light Switch | Go and Raspberry Pi Tutorial
Go on the Pi sounds pretty tasty--so let's make something somewhat interesting. ?

Let's make a simple web server to turn on and off a led light!

We will first set up our wiring: just a basic led light with a resistor, using pin 7 from the GPIO.

Next we will test it out using the command line utility that can be found at:
https://github.com/WiringPi/WiringPi

My Raspberry Pi Distro:
https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4

Once that is working we will set up our web server using Go and then attach a couple endpoints to turn on and off the light!

⚡️ Links:
The Raspberry Pi 2B (of course it's a bit out dated and overly priced)
https://amzn.to/3MKpVaa

LED Lights ?
https://amzn.to/39lEWli

Raspberry Pi Jumper Cables ?
https://amzn.to/3aWuXU2

Breadboard ?
https://amzn.to/3NFcnOC

Decent Kit with Everything to get Started ?:
https://amzn.to/3xk6XSo

(These links are affiliate links--so I make a tiny bit of money if you use them and buy something. Don't worry; it doesn't cost anything extra!! So it is a way you could support this channel.)

If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!

? Everything I use to record my vids ⚡️
https://kit.co/nerdcademy/my-video-kit

All code found in this video will be at:
? https://github.com/NerdCademyDev/golang

#golang #nerdcademy #raspberrypi
...
https://www.youtube.com/watch?v=36CTJ_FIiKI
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
LEARN
Controlling
VIDEO
GO FU
Controlling
VIDEO
SIMPL
Controlling
VIDEO
FIVE
Controlling
VIDEO
CONSU
Controlling
VIDEO
TUPLE
Controlling
VIDEO
SOFTW
Controlling
VIDEO
GETTI
Controlling
VIDEO
GOLAN