How to build a DIY Raspberry Pi Spectrometer using a Picamera and Spectroscope.

Les' Lab April 17, 2021
Video Thumbnail
Les' Lab Logo

Les' Lab

@leslaboratory

About

I am an Amateur Scientist inspired by the old Sci-Am articles of the same name! I build home-made Lasers, Electronics projects, Computers and am interested in Chemistry & Physics, and publish these on YouTube. Support on YouTube has enabled me to share my work with like minded people, get one of my creations published in IEEE Sensors Letters, and even design and build a Supercontinnum Laser at home and on a budget, for what appears to be the first time! If you found this content useful, and would like to support this Channel, please consider supporting this work on Patreon: https://patreon.com/leslaboratory Or donate directly: https://paypal.me/leslaboratory Alternatively, please share this content on your social media platforms, it really helps me out! Contact: [email protected]

Video Description

Episode 20 #raspberrypi #spectrometer Code at the end of the Description! Check out my other videos: https://www.youtube.com/leslaboratory​ Please don't forget to like,subscribe and comment for more great content! If you found this content useful, and would like to support this Channel, please consider supporting this work on Patreon: https://patreon.com/leslaboratory Or donate directly: https://paypal.me/leslaboratory Alternatively, please share this content on your social media platforms, it really helps me out! In this video I demonstrate a home-made Raspberry Pi Spectrometer for measuring the wavelength of light! If you already have a Raspberry Pi, this useful tool can be built for under 100 bucks! This uses readily available components and easy to use Python software I have written specially for this application. All code for this video and the bill of materials, as well as additional information is available at my GitHub: https://github.com/leswright1977/PySpectrometer

DIY Spectrometer Must-Haves

AI-recommended products based on this video

Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
Amazon Basics 64GB microSDXC Memory Card with Full Size Adapter, 100MB/s, U3, 2-Pack

Amazon Basics 64GB microSDXC Memory Card with Full Size Adapter, 100MB/s, U3, 2-Pack

(18,727)
$21.99$20.39
FREE delivery Sun, Aug 10 on your first order
500+ bought in past month
Loading...
64GB Micro SD Card 2 Pack Ultra Micro SDXC Memory U1 Card Class 10 Micro SD Cards 64GB High Speed TF Card R Flash, C10, U1, 64 GB (2 Pack)
Amazon's Choice

64GB Micro SD Card 2 Pack Ultra Micro SDXC Memory U1 Card Class 10 Micro SD Cards 64GB High Speed TF Card R Flash, C10, U1, 64 GB (2 Pack)

(6,435)
$12.31
FREE delivery Sun, Aug 10 on your first order
2K+ bought in past month
Loading...
AKASO V50 Elite 4K60fps Touch Screen WiFi Action Camera Voice Control EIS 131 feet Waterproof Camera 8X Zoom Remote Control with with 64GB U3 MicroSDXC Memory Card Global Recycled Standard

AKASO V50 Elite 4K60fps Touch Screen WiFi Action Camera Voice Control EIS 131 feet Waterproof Camera 8X Zoom Remote Control with with 64GB U3 MicroSDXC Memory Card Global Recycled Standard

(848)
$219.99
FREE delivery Sun, Aug 24
Loading...
RUIZU 64GB Bluetooth MP3 Player for Kids, Cartoon Zoo Portable Music Player, Child MP3 Player with Speaker, FM Radio, Voice Recorder, Stopwatch, Pedometer, Alarm Clock, Support 128GB Micro SD Card

RUIZU 64GB Bluetooth MP3 Player for Kids, Cartoon Zoo Portable Music Player, Child MP3 Player with Speaker, FM Radio, Voice Recorder, Stopwatch, Pedometer, Alarm Clock, Support 128GB Micro SD Card

(293)
$39.59
PrimeFREE delivery Sat, Jun 14
Loading...
Wireless Earbuds Bluetooth 5.4 Headphones, Noise Canceling Ear Buds with 75hr Playtime, LED Power Display, IPX7 Waterproof Earphones Over Ear Earphones for Sports/Workouts

Wireless Earbuds Bluetooth 5.4 Headphones, Noise Canceling Ear Buds with 75hr Playtime, LED Power Display, IPX7 Waterproof Earphones Over Ear Earphones for Sports/Workouts

(87)
$29.99
FREE delivery Fri, Feb 13 on your first order
300+ bought in past month
Loading...
Wireless Earbuds Bluetooth 5.4 Headphones, Noise Canceling Ear Buds with 75hr Playtime, LED Power Display, IPX7 Waterproof Earphones Over Ear Earphones for Sports/Workouts

Wireless Earbuds Bluetooth 5.4 Headphones, Noise Canceling Ear Buds with 75hr Playtime, LED Power Display, IPX7 Waterproof Earphones Over Ear Earphones for Sports/Workouts

(142)
$29.99
FREE delivery Mon, Feb 2 on your first order
1K+ bought in past month
Loading...
HAOYUYAN Wireless Earbuds Bluetooth 5.3 Headphones with 80H Playback, IPX7 Waterproof Over Ear Buds with LED Power Display for Sports Running Workouts - Rose Gold

HAOYUYAN Wireless Earbuds Bluetooth 5.3 Headphones with 80H Playback, IPX7 Waterproof Over Ear Buds with LED Power Display for Sports Running Workouts - Rose Gold

(8)
$27.99
Prime
400+ bought in past month
Loading...
HAOYUYAN Wireless Earbuds Bluetooth 5.3 Headphones with 80H Playback, IPX7 Waterproof Over Ear Buds with LED Power Display for Sports Running Workouts - Black

HAOYUYAN Wireless Earbuds Bluetooth 5.3 Headphones with 80H Playback, IPX7 Waterproof Over Ear Buds with LED Power Display for Sports Running Workouts - Black

(961)
$27.99
Prime
2K+ bought in past month
Loading...
UGREEN Revodok USB C Hub, 5-in-1 USB C Adapter with 4K HDMI, 100W Power Delivery, 3 USB A Data Ports, Multiport USB Hub for MacBook Pro/Air, iPad Pro, Surface, XPS, Thinkpad, Galaxy and More, Gray
Best Seller

UGREEN Revodok USB C Hub, 5-in-1 USB C Adapter with 4K HDMI, 100W Power Delivery, 3 USB A Data Ports, Multiport USB Hub for MacBook Pro/Air, iPad Pro, Surface, XPS, Thinkpad, Galaxy and More, Gray

(17,667)
$19.99
3K+ bought in past month
Loading...
Selore USB C Docking Station for Laptop Dual HDMI Monitor, 8 in 1 Triple 4K Docking Station 4 Monitors Adapter,VGA,100W PD,2USB A 2.0,USB C 2.0 USB C Hub for MacBook HP Dell Lenovo

Selore USB C Docking Station for Laptop Dual HDMI Monitor, 8 in 1 Triple 4K Docking Station 4 Monitors Adapter,VGA,100W PD,2USB A 2.0,USB C 2.0 USB C Hub for MacBook HP Dell Lenovo

(20,108)
$39.89
FREE delivery Sun, Aug 24
500+ bought in past month
Loading...
llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

(1,404)
$129.99
Prime
200+ bought in past month
Loading...
USB C Hub Multiport Adapter for MacBook Pro/Air M1 M2 M3 M4 2025-2018, Melelink 8 in 2 Mac USB Adapter Dongle MacBook Accessories with HDMI 4K, Thunderbolt 3, USB C&A Data Ports, SD/TF Card Reader

USB C Hub Multiport Adapter for MacBook Pro/Air M1 M2 M3 M4 2025-2018, Melelink 8 in 2 Mac USB Adapter Dongle MacBook Accessories with HDMI 4K, Thunderbolt 3, USB C&A Data Ports, SD/TF Card Reader

(249)
$24.69
200+ bought in past month
Loading...
AstroAI Tire Inflator Portable Air Compressor Air Pump for Car Tires-Car Accessories, 9.8Ft Cord-12V DC-Powered Auto Pump with Digital Pressure Gauge, Emergency LED Light for Bicycle, Balloons, Yellow

AstroAI Tire Inflator Portable Air Compressor Air Pump for Car Tires-Car Accessories, 9.8Ft Cord-12V DC-Powered Auto Pump with Digital Pressure Gauge, Emergency LED Light for Bicycle, Balloons, Yellow

(101,205)
$35.69
Prime
3K+ bought in past month
Loading...
NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

(2,807)
$181.49
FREE delivery Sun, Aug 10
Loading...
HJTHJT 500ML Essential Oil Diffuser: Aroma Diffuser with Remote Control for Hotel Spa Yoga Room - Humidifier with 14 Colors LED Night Light for Bath Bedroom Relaxation (Dark Black)

HJTHJT 500ML Essential Oil Diffuser: Aroma Diffuser with Remote Control for Hotel Spa Yoga Room - Humidifier with 14 Colors LED Night Light for Bath Bedroom Relaxation (Dark Black)

(77)
$36.99$35.14
FREE delivery Mon, Jun 16
200+ bought in past month
Loading...
iDOO Hydroponics Growing System Kit 12Pods, Birthday Gifts for Mom Women, Herb Garden Indoor with LED Grow Light for Home, Built-in Fan, Auto-Timer, Adjustable Height Up to 11.3", 12Pods Kit-Black

iDOO Hydroponics Growing System Kit 12Pods, Birthday Gifts for Mom Women, Herb Garden Indoor with LED Grow Light for Home, Built-in Fan, Auto-Timer, Adjustable Height Up to 11.3", 12Pods Kit-Black

(7,368)
$149.99
PrimeFREE delivery Sat, Jun 14
Loading...
Little Ouchies Pain Fidget (4PCS), Pain Stim Fidget Toy for Adults & Teens, 3D Printed Spiky Grippie Stim Keychain, Sensory Toy for Stress Relief & Focus, Office Workers Novelty Gifts for Men (Laser)

Little Ouchies Pain Fidget (4PCS), Pain Stim Fidget Toy for Adults & Teens, 3D Printed Spiky Grippie Stim Keychain, Sensory Toy for Stress Relief & Focus, Office Workers Novelty Gifts for Men (Laser)

(38)
$17.99
FREE delivery Wed, Aug 20 on your first order
200+ bought in past month
Loading...
DNA My Dog Trusted & Affordable Breed Identification Test | 350+ Breeds Identified with 99%+ Accuracy | Complete Breed Analysis, Personality and Behavior Insights | Easy Cheek Swab, Results in 2 Weeks

DNA My Dog Trusted & Affordable Breed Identification Test | 350+ Breeds Identified with 99%+ Accuracy | Complete Breed Analysis, Personality and Behavior Insights | Easy Cheek Swab, Results in 2 Weeks

(7,536)
$69.99
FREE delivery Thu, Aug 14
200+ bought in past month
Loading...
Windshield Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit (2 Pack) (Black)

Windshield Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit (2 Pack) (Black)

(32)
$8.99
FREE delivery Wed, Mar 25 on your first order
Loading...
Windshield Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit (2 Pack) (Black)

Windshield Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit (2 Pack) (Black)

(34)
$8.70
FREE delivery Fri, Feb 13 on your first order
300+ bought in past month
Loading...
Windshield Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit (2 Pack) (Black)

Windshield Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit (2 Pack) (Black)

(41)
$8.18
Prime
800+ bought in past month
Loading...
Windshield Crack Repair kit Windshield Repair kit, Glass Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit 2 Pack (Drakgray)
Best Seller

Windshield Crack Repair kit Windshield Repair kit, Glass Repair kit, DIY Glass Cracked Repair Kits, Easy to Use Automotive Glass Nano Repair Fluid, Scratch Chip Cracks Repair Kit 2 Pack (Drakgray)

(44)
$9.20
FREE delivery Fri, Oct 24 on your first order
500+ bought in past month