DIY : Create your own AI Assistant Voice Kit

0
633
voice kit

This is the continuation to the previous article “Intro : Make you own AI Voice Assistant Kit” if you haven’t read it, I would recommend you to read it first!

Assuming that you have read the previous article, let’s get started!

Here is list of materials you  would need to make the Voice kit. Make sure to check all the parts are there after opening the Voice Kit box.

AIY Voice Kit techbotinc

  • Voice HAT accessory board (×1)
  • Voice HAT microphone board (×1)
  • Plastic standoffs (×2)
  • 3” speaker (wires attached) (×1)
  • Arcade-style push button (×1)
  • 4-wire button cable (×1)
  • 5-wire daughter board cable (×1)
  • External cardboard box (×1)
  • Internal cardboard frame(×1)
  • Lamp(×1)
  • Micro-switch(×1)
  • Lamp holder(×1)

Apart from this , you will also need the following things , but these things will have to be purchased previously.

  • Raspberry Pi 3(×1)
  • SD card(×1)
  • Size “00” Phillips screwdriver(×1)
  • Scotch tape(×1)

 

So lets get started with assembling

1) Get the Voice Kit SD Image

You’ll need to download the Voice Kit SD image using another computer. Both of the next steps can take several minutes for your computer to complete, so while you’re waiting, get started on “Assemble the hardware” in the next step.

2 ) Assemble the Hardware

  • Find your Raspberry Pi 3 and the two plastic standoffs that came with your kit.Insert the standoffs into the two yellow holes opposite the 40-pin box header on your Raspberry Pi 3. They should snap into place.





AIY Voice Kit techbotinc

  • Take your Voice HAT accessory board and attach it to the Raspberry Pi 3 box header.Gently press down to make sure the pins are secure. On the other side, press down to snap the spacers into place.AIY Voice Kit techbotinc
    • Find the speaker with the red and black wires attached. Insert the speaker’s red wire end into the “+” terminal on the Voice HAT blue screw connector.Do the same for the black wire end into the “-” terminal. At this point, they should be sitting there unsecured.AIY Voice Kit techbotinc
    • Now screw the wires in place with a Phillips “00” screwdriver.Gently tug on the wires to make sure they’re secure.AIY Voice Kit techbotinc
    • Find the 4-wire button cable: it has a white plug on one end and four separate wires with metal contacts on the other.Insert the plug into one of the white connectors on the Voice HAT board.AIY Voice Kit techbotinc




  • Find the Voice HAT Microphone board and the 5-wire daughter board cable from your kit (pictured).Insert the 5-wire plug into the Microphone board.AIY Voice Kit techbotinc
  • Connect the Microphone board to the Voice HAT board using the other white connector on the Voice HAT board.AIY Voice Kit techbotinc

3) Fold the cardboard

    • Now let’s build the box. Find the larger cardboard piece with a bunch of holes on one side (pictured).Fold along the creases, then find the side with four flaps and fold the one marked FOLD 1.AIY Voice Kit techbotinc
    • The flap above the 1 and 2 folds has a U-shaped cutout. Push it out.AIY Voice Kit techbotinc
    • Then fold the rest of the flap outward.Fold the section labeled FOLD UP so that it’s flush with the surface you’re working on. There’s a little notch that folds behind the U-shaped flap to keep it in place.AIY Voice Kit techbotinc
    • The U-shaped flap should lay flush with the box side.At this point, the cardboard might not hold its shape. Don’t worry: it’ll come together once it’s in the box.AIY Voice Kit techbotinc




  • Find your speaker (which is now attached to your Raspberry Pi 3).Slide the speaker into the U-shaped pocket on the cardboard frame.AIY Voice Kit techbotinc
  • Turn the cardboard frame around.Take the Pi + Voice HAT hardware and slide the it into the bottom of the frame below flaps 1 + 2 (pictured).The USB ports on the Pi should be exposed from the cardboard frame.AIY Voice Kit techbotinc

4) Put it all together

    • Turn the cardboard frame around.Take the Pi + Voice HAT hardware and slide the it into the bottom of the frame below flaps 1 + 2 (pictured).The USB ports on the Pi should be exposed from the cardboard frame.AIY Voice Kit techbotinc
    • Once it’s in, the Pi should be sitting on the bottom of the box.Make sure your wires are still connected.AIY Voice Kit techbotinc
    • Check that your ports are aligned with the cardboard box holes.AIY Voice Kit
    • Find your arcade button. There should be a button, a spacer, and a nut.If they’re connected, unscrew the nut and spacer from the button.Make own voice kit




  • Insert the button into the top flap of the cardboard box.The pushable button side should face outward.diy voice kit
  • Screw on the spacer and then the washer to secure the button in place.diy voice kit




  • Next, find your button lamp components:

Lamp

Black micro-switch

Black lamp holdervoice kit

    • Insert the lamp into the black lamp holder.voice kit
    • Then attach the lamp holder to the micro-switch.voice kit
    • Insert the completed lamp into the button.voice kit




    • Secure the lamp in place by carefully rotating it right-ward. It may take some force to lock it in place.voice kit
    • Find the four colored wires with metal contacts that you previously connected to the Voice HAT board.Following the picture above, attach the four metal contacts to the micro-switch.Important: Wire color matters! Make sure each of the wires are attached to the same end as the picture.voice kit
    • Find the Voice HAT Microphone board.The Microphone board sits below the button on the top flap.Before you tape it down, check the other side of the cardboard flap to align the microphones with the two cardboard holes (see the picture in the next step).Using some trusty scotch tape, tape the board to the top flap of the cardboard.voice kit
    • Turn it around and double check that your microphones are aligned with the cardboard holes.voice kit
    • That’s it! Close the box up.voice kit




  • Look at that! The device is assembled and ready to be used. Next you’ll connect it and boot it up.voice kit

5) Connect and boot the device

    • Now that your box is assembled, plug your peripherals in:
    • USB Keyboard
    • USB Mouse
    • HDMI Monitorvoice kit
    • Insert your SD card(the one with the Voice Kit SD image) into the slot on the bottom side of the Raspberry Pi board. The SD card slot should be accessible through a cutout provided in the external cardboard form.With the SD card in place and peripherals connected, plug in the power supply and the Raspberry Pi will begin booting up.If you don’t see anything on your monitor, or you see “Openbox Syntax Error”, check the last section of the article.voice kit




  • Click the network iconin the upper right corner of the Raspberry Pi desktop. Choose your preferred WiFi access point.voice kit

6) Verify it works

  • This script verifies the audio input and output components on the Voice HAT accessory board are working correctly. Double-click the Check Audio icon on your desktop.When you click the script, it will run through each step listed below. Note: some of the steps require voice input, which you will be prompted for—so watch closely!voice kit
  • Follow along with the script and if everything is working correctly, you’ll see a message that says The audio seems to be workingIf you see an error message, follow the message details to resolve the issue and try again.voice kit




  • This script verifies that your WiFi is configured and working properly on the Raspberry Pi board. Double-click the Check WiFi icon on your desktop.When you double-click the script, it will check your Raspberry Pi is connected to the internet over WiFi.voice kit
  • If everything is working correctly, you’ll see a message that says The WiFi connection seems to be working.If you see an error, click on the network icon at the top right and verify you are connected to a valid access point.voice kit

7) Tips !!

  1. A red LED on the Raspberry Pi near the power connector should light. If it doesn’t, unplug the power, unplug the connector to the microphone, and power-up again. If it lights after powering-up without the microphone, then the microphone board may be defective.
  2. If the lamp in the button doesn’t light up, it might be the wrong way around. Take the lamp out of the button (undo steps 8 to 11), turn it 180°, and put it all back together. If it still doesn’t light up, check that the wire colors are the same as the picture in step 12.
  3. If you don’t see anything on your monitor, make sure the HDMI and power cables are fully inserted into the Raspberry Pi.
  4. If you see “Openbox Syntax Error”, you’ll need to rewrite the image to SD cardand try booting the device again.

Hope you liked it! Let us know if you want us to post more such articles! Thank you, Visit Again!

LEAVE A REPLY

Please enter your comment!
Please enter your name here