Blok Bot

Blok Bot

thingiverse

Shaped like a mini brick the "Blok Bot" is the building block of bots. With the heart of a Raspberry Pi Zero the Blok Bot can be programmed to be a friend, assistant, teacher,listener,etc. You can program vision recognition, voice interactions, and responds to voice commands. IOT Robot that can be used for any project. Print Settings Printer: Flash Forge Creator Rafts: No Supports: No Resolution: .27 Infill: .10 Notes: The Resolution works well within the .20 to .27 range. Post-Printing Sanding + Xacto knife may be used. How I Designed This Designed using 123D SketchUp The designed was based off of Polylines in combination with extrude function. Blok Bot Demo Heres a demo of BlokBot +MiniplanV5 Intergration voice Recognition Custom Section Project: BlokBot Pi Custom Section Overview & Background: This project helps gain an understanding of designing a simple Blok Bot and learning how to program with different Speech API on the raspberry pi. Custom Section Objectives: Students will learn to use Raspberry Pi Zero. Students will learn to create/use Schematics. Students will learn to Solder Students will learn imaging. Students will learn Python coding Students will understand speech recognition API Students will experience hands on construction. Students learn robotics. Custom Section Audiences: The grades, ages, or skill levels that would be appropriate for this Project. 4th grade+, Age 10+, Skills in Soldering Subjects: Subjects in programming in Python, and Bash. Basic understanding of speech recognition. Skills Learned (Standards): 3D Slicing Designing 3D Printing Motor Skills Complex Thinking Skills Innovation skills. Stuff Needed Raspberry Pi Zero PI NOIR Camera V2 or Pi Camera V2 Silicon 30AWG wires (variety of colors is recommended) (optional not needed)20x SMD Tactile Pushbutton Key Switch Momentary Tact 2 Pins 362.5mm Raspberry Pi Zero v1.3 Camera Edition Raspberry Pi Zero v1.3 Camera Cable Edimax WiFi USB 32 or 64gb card PowerBoost 500 Charger - Rechargeable 5V Lipo USB Boost @ 500mA+ NTSC/PAL (Television) TFT Display - 1.5 NTSC/PAL (Television) TFT Display - 1.5" Diagonal PID 2m 30AWG White Silicone Cover 2m 30AWG Black Silicone Cover 2m 30AWG Red Silicone Cover 2m 30AWG yellow Silicone Cover 2m 30AWG green Silicone Cover 2m 30AWG bluewSilicone Cover Steps Above are the parts needed to build a Blok Bot Print out all 6 layers Here we will modify the Zero4U module by soldering out the battery holder and replace with 30mm red/black 30awg wire. Next shorten the backside of the camera cable that connects to the Raspberry Pi side Much shorter backside On layer 1 tape the back of the camera to the inside of Layer1 Connect The raspberry pi zero to Zero4U Stuff the camera cable between the pi and Zero4U On the Raspberry Pi, solder the wires to both displays. Schematic shown. At the 4th Layer add the battery and the Poowerboost. Finally set the screens on top of the battery and the powerboost, make sure to put electrical tape behind the screens. Finally add the special case Step 1: Lets use Sample.wav to test speaker alsamixer Step 2: Press F6 to list all soundcards example │ │ │ │ │ │ │ │ │ ┌───── Sound Card ──────┐ │ │ │ │ │- (default) │ │ │ │ │ │0 bcm2835 ALSA │ │ │ │ │ │1 USB PnP Sound Device │ │ │ │▒▒│ │2 USB Audio Device │ │ │ │▒▒│ │ enter device name... │ │ │ │▒▒│ └───────────────────────┘ │ │ │▒▒│ │▒▒│ Based off the soundcard hardware selection aplay sample.wav -c2 -D hw:0,0 (Speaker) aplay sample.wav -c2 -D hw:1,0 aplay sample.wav -c2 -D hw:2,0 Step 3: Lets configure the Microphone arecord -d 2 -D plughw:1,0 -r 16000 -f S16_LE sample.wav (Tiny Microphone) Step 4: Once everything works lets install espeak sudo apt-get install espeak sudo apt-get install espeak python-espeak Step 5: In terminal type aplay -l to make a note on the USB audio device as the output Step 6: sudo nano /etc/asound.conf And set the code below for Espeak to work correctly. Save it defaults.ctl.card 2 defaults.pcm.card 2 defaults.timer.card 2 Alsamixer command helps to for tuning sudo apt-get install libboost-regex1.49.0 sudo apt-get install git-core git clone git://github.com/StevenHickson/PiAUISuite.git cd PiAUISuite/Install/ ./InstallAUISuite.sh if you encounter "error while loading shared libraries: libboost_regex.so.1.49.0: cannot open shared object file: No such directory" sudo apt-get install libboost-regex1.49.0 Voicecommand -e Voice command setup config file To setup custom custom commands from words voicecommand -s There are two files included in the site, one is an .sh file and one is a python file. API used is Wit.Ai, you can use any API you want, I used Wit.API as an example. If you want to use Wit.Ai just change the token Key. Make sure both files have 777 permissions. Duration: 1 hour for printing. 1 hours for assembling and programming. Preparation: Rubric & Assessment: What implementations can the student add to further improve it? What did the student learn for building this? Any troubleshooting problems the student encounter? Handouts & Assets: https://www.raspberrypi.org/learning/getting-started-with-picamera/worksheet/

Download Model from thingiverse

With this file you will be able to print Blok Bot with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Blok Bot.