BluPants
Published © CC BY-NC-ND

Coding with Raspberry Pi and BluPants

Free web based coding environment for Raspberry Pi robots. BluPants platform supports Python and block-based visual programming language.

IntermediateFull instructions provided2 hours504
Coding with Raspberry Pi and BluPants

Things used in this project

Hardware components

Raspberry Pi 4 Model B
Raspberry Pi 4 Model B
Works with any Raspberry Pi version. Tested with Raspberry Pi 4 and Raspberry Pi Zero.
×1
Raspberry Pi Zero Wireless
Raspberry Pi Zero Wireless
Optional. The tutorial is also completely compatible with Raspberry Pi Zero W.
×1
Car Chassis Kit with Motors, Speed Encoder
×1
Battery Pack Power Bank 10000mAh USB C
×1
Alligator Clip to USB Male
The alligator clip was used for this project, but we strongly recommend using the USB to TTL instead. See bellow.
×1
Cable, USB to TTL Serial Converter 5V
Cable, USB to TTL Serial Converter 5V
If you have a USB debug cable available, use it instead of the alligator clip. It is safer, since the alligator might damage your board. Some cheaper options are: --------- https://www.amazon.com/JBtek-WINDOWS-Supported-Raspberry-Programming/dp/B00QT7LQ88/ref=sr_1_3?dchild=1&keywords=usb+to+ttl&qid=1586214130&sr=8-3 --------- https://usa.banggood.com/USB-To-TTL-Debug-Serial-Port-Cable-For-Raspberry-Pi-3B-2B-COM-Port-p-1055396.html?rmmds=search&cur_warehouse=CN
×1
L298N Stepper Motor Driver Controller Board Dual H Bridge Module
Only one will be used for this project.
×1
USB Cable, USB Type C Plug
USB Cable, USB Type C Plug
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Machine Screw, M4
Machine Screw, M4
I used Hillman #4-40 x 1 IN and #4-40 x 3/8 IN
×1
Mending plates
×1
Micro SD card 8G minimum
×1
Cable Tie, Double Sided
Cable Tie, Double Sided
I used Hyper Tough 4-INCH Cable Ties from Walmart
×1
Dual H-Bridge motor drivers L298
SparkFun Dual H-Bridge motor drivers L298
Alternatively, this motor controller can be used too.
×1
DC Motor, 12 V
DC Motor, 12 V
×2
SparkFun RedBot Kit
SparkFun RedBot Kit
Alternatively, this kit can be used instead
×1

Software apps and online services

BluPants Studio
Balena Etcher
Use the following image: https://blupants.s3.us-east-2.amazonaws.com/blupants_raspberrypi.img.xz

Hand tools and fabrication machines

Multitool, Screwdriver
Multitool, Screwdriver
Plier, Long Nose
Plier, Long Nose

Story

Read more

Schematics

RaspBerry Pi robot buggy - Fritzing

The actual battery used was a 5V battery, and not 3.7V. Fritzing did not have a 5V 1000mAh power bank part available.

Raspberry Pi robot buggy

The actual battery used was a 5V battery, and not 3.7V. Fritzing did not have a 5V 1000mAh power bank part available.

Code

BluPants

BluPants: Agnostic Programming Platform for Robots BluPants is a Python based module to control robots and IoT automation devices via BluPants Coding Lab. Visit https://blupants.com for more details. The Project goal is make robotics and programming available to anyone. Welcome Let's build a community for any child across the globe from the age of 5 to 99. Together we can build the tools to make the journey to STEM accessible to anyone. Compatibility with a variety of existing robotics hardware can make it affordable, at the same time we give unlimited flexibility to expand BluPants as far as the human imagination can go.

Credits

BluPants

BluPants

14 projects • 3 followers
Robot4(Humans); BluPants goal is to make robotics and programming accessible to everyone.

Comments