# Hypno Kit Assembly Guide (OLD/DIY)

{% hint style="danger" %}
**Please read this page completely before beginning assembly!**
{% endhint %}

{% hint style="info" %}
**In Trouble?** Post on [our forum](https://forum.sleepycircuits.com), ask the [chat ](https://forum.sleepycircuits.com/t/new-beta-chat-room-via-matrix/554)or contact <support@sleepycircuits.com>
{% endhint %}

## Video Assembly Guide

{% embed url="<https://youtu.be/QfaHEeOPxZY>" %}

## Setting up your Workspace

{% hint style="warning" %}
**PRACTICE STATIC AWARENESS:** This assembly requires you to handle electrostatic-sensitive parts. Failure to follow these recommendations will result in part failure that is not covered by manufacturer warranties.

* **Touch metal** to discharge any static buildup BEFORE handing any Circuit Boards (PCBs)
* **Handle circuit boards by their edges!**
* **Avoid** completing any of these steps on **carpet** or while wearing **fluffy clothing.** These materials tend to charge humans with static.
* **Use a static mat and wristband** if available
  {% endhint %}

## Part Lists

### **Kit Provided Part List**

{% hint style="danger" %}
**Please Note:** Cases are sold separately on the site so you can select the correct one for your Raspberry Pi version! A case is **required** to complete this project.
{% endhint %}

{% hint style="info" %}

#### Purchase your Kit and Enclosure Here: <https://sleepycircuits.com/hypno-kit>

{% endhint %}

![](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FwpmxghUBkbx1LyNory9j%2F_1006009.jpg?alt=media\&token=64392644-02d5-4d64-b174-51543db4d6d2)

* Hypno Kit PCB&#x20;
* Hypno Panel
* 6x Knobs
* 3x Button Caps
* Plastic Jack Nut Driver&#x20;
* 9x Jack nuts&#x20;
* 6x Pot Nuts
* Plastic Enclosure (Pi 3 version shown above)

{% hint style="warning" %}
Pot Nuts may be threaded to the Pot-Shafts on the PCB Assembly when you receive your Hypno Kit.&#x20;
{% endhint %}

### User Acquired Part List

![](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FRvXsFlrCatq9vwDellIe%2F_1006019-2.jpg?alt=media\&token=4f055a39-3d33-43b8-a502-4720a92792cf)

* [ ] 16GB (or greater) micro SD card (choose higher quality SDs for better performance)
* [ ] USB-C 3A PSU&#x20;
  * [Chicago Dist](https://chicagodist.com/products/raspberry-pi-4-psu-us-white?pr_prod_strat=copurchase\&pr_rec_pid=3855112208463\&pr_ref_pid=225528933\&pr_seq=uniform)
  * [Amazon](https://www.amazon.com/Raspberry-Model-Official-SC0218-Accessory/dp/B07Z8P61DQ/ref=sr_1_5?dchild=1\&keywords=Raspberry%2BPi%2B4%2BPower%2BSupply%2Bin%2BWhite\&qid=1632168811\&sr=8-5\&th=1)
* [ ] Raspberry Pi 3B, 3B+ or 4B
  * [USE THIS TOOL TO FIND ONE IN STOCK](https://rpilocator.com)
  * The 4B has several RAM options. **They all work**, so try to find the most affordable one. **There is no advantage of buying a higher RAM model** for use with the Hypno.
  * 3A and 3A+ are also compatible, although we do not yet offer an enclosure for these variants.
  * Pi Zero, Compute Modules (aka CM) and other Pis not listed above are **not compatible** with Hypno Ki&#x74;**.**
* [ ] [Sleepy Hypno Kit](https://sleepycircuits.com/hypno-kit) (full part list above!)
* [ ] A Computer to Flash SD Card With

{% hint style="success" %}
Everything is Here? Lets Go!
{% endhint %}

## Flash SD Card (Load Firmware)

1. Insert micro SD Card Into your Computer
2. Download latest [**Hypno Image**](https://sleepycircuits.gitbook.io/sleepy-circuits/hypno/hypno-firmware#firmware-images)&#x20;
3. Extract .gz archive (Optional but speeds up flashing significantly)
4. [Install Balena Etcher](https://www.balena.io/etcher/)
5. Start Balena Etcher
6. Open downloaded .img in Etcher and follow the instructions to flash micro SD card
7. You may skip the disk verification step

{% hint style="warning" %}
Careful! Removing the micro SD card before flashing & ejection is complete may mess up your image or, in some rare cases, brick your SD.
{% endhint %}

## Connecting WiFi (Optional)

{% hint style="info" %}
Do this to enable streaming [NDI](https://ndi.tv/tools/#download-tools) on your [LAN](https://en.wikipedia.org/wiki/Local_area_network). Performance varies with network reliability.
{% endhint %}

* **Insert micro SD card into your computer** (for a fresh new micro SD card created with Etcher, you have to eject and insert it again)
* **Create a new file on micro SD card in the /boot/ directory called wpa\_supplicant.conf** with your computer
  * The basic text editor from your operating system is recommended (Notepad, TextEdit etc.).&#x20;
  * Make sure the file has the .conf extension, sometimes your os will try to add a .txt extension to the filename (wpa\_supplicant.conf.txt will NOT work! the filename has to be exact)
* **Copy/Paste the following lines in this file**&#x20;

```
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
  ssid="YOURSSID"
  scan_ssid=1
  psk="YOURPASSWORD"
  key_mgmt=WPA-PSK
}
```

* **Replace variables with your SSID and password**, and **change the country value to your region** (Example above is for USA region)
* **Save the file to the /boot/ directory on micro SD card** with the name **wpa\_supplicant.conf**&#x20;

## <mark style="color:red;">**Assemble!!!**</mark>

![Installing Button Caps](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FQRxfLo4YqsFP9G7tZI1C%2F_1005964.jpg?alt=media\&token=7370e4d4-b2d1-4238-97fc-cc4b726c02b6)

* Install button caps on Hypno PCB&#x20;
  * Line up square hole on button cap with square peg on button
  * Press button cap down until it slides over peg and locks in
* Place Front Panel on PCB Assembly&#x20;

![Installing Pot Nuts](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FdsvZjGeoOT4VLYNPUGQX%2F_1005972.jpg?alt=media\&token=ef12b83d-fba9-43ce-af7f-d3ed262f621d)

* Hand tighten pot nuts (DO NOT OVER TIGHTEN, This may result in inoperable buttons in rare cases of very misaligned panels)

{% hint style="warning" %}
Pot Nuts may be threaded to the Pot-Shafts on the PCB Assembly when you receive your Hypno Kit.&#x20;
{% endhint %}

* Test button mechanicals
  * Feel a tactile feedback click when pressing down, if not shift panel relative to its plane or see before step.

![Installing Jack Nuts](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FxZ4nCb7XldV7ysXbFNIm%2F_1005980.jpg?alt=media\&token=0c0da8c8-abb2-4f45-88bf-855067d9d27e)

* Hand screw jack nuts&#x20;
  * The little notches on the jack nuts should be facing towards you
  * We will fully tighten these later
* Place flashed micro SD card into Raspberry Pi

![Pi Locked Into Case](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FGjXDW3YtTvbtZbsoWgA9%2F_1005988-2.jpg?alt=media\&token=3c92c15a-18e1-4d26-aa0b-3456dc6c49f5)

* Snap Pi into plastic case
  * Place Pi (Back USB IO first, headphone jack second) into the side of the case&#x20;
  * Firmly press down on outside corner of Pi
    * You should see plastic tabs fill the outside/left holes of the Pi when placed correctly&#x20;
    * You will most likely hear a snap when the Pi pressure fits into the enclosure, this is normal

![Lining Up Pins](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FnWmTaDNnj7bbTrxr8KqV%2F_1005990.jpg?alt=media\&token=7df98cf5-54c0-49a6-bf95-f6dd2d37a473)

* Align Hypno PCB on top of the Pi inside the enclosure&#x20;
  * Look through the vents in the plastic case to confirm header alignment
  * Gently press down on the center of the Hypno, it should smoothly slide onto the Pi's header
    * Please be careful not to break the header

![Tightening Jack Nuts With Provided Tool](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FtQZzDoo5QkPCWjSsHP7G%2F_1005998-3.jpg?alt=media\&token=ced553c4-7147-44ed-8f80-e3d16c01f789)

* With Hypno placed on a flat surface, tighten  jack nuts with provided Jack Nut Driver, lightly pressing downward as you turn
* Add knobs to pot shafts (6x)

![Adding Knobs To Pot Shafts](https://600538454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MihHguwCJe4er6oaMXF%2Fuploads%2FRIXjVcSKn9TEhwXuamF0%2F_1006004-2.jpg?alt=media\&token=0e1ee58b-38ed-43d2-9b72-c2ae88458177)

## Troubleshooting

* **Hypno isn't starting or working in the case** - Make sure to look through the vents in the plastic case to confirm header alignment or re do this part of the assembly, this is the most common issue in this situation.
* **Case Fit Issue - Top (or side) port section is bowing out** - go around the case and apply slight pressure around any ports that aren't seated all the way into their holes, once all the holes are all the way the case should fit just right.

## Setting Composite Video Output to PAL (or NTSC)&#x20;

* **This section concerns European Composite Users only, NTSC is enabled by default.**
* Modern Pi models combine the audio out and composite out on to the same 3.5mm jackplug. This requires a particular type of lead, with audio left on the tip, audio right on ring 1, ground on ring 2, and video on the sleeve. This is the same as leads used on Apple devices.
* If you require **PAL composite** output you will need to **replace sdtv\_mode in /boot/config.txt on the micro SD** with the following line

```
sdtv_mode=2
```

* OR If you require NTSC (this is the default configuration)

```
sdtv_mode=0
```

**If you require a more specific display mode** please consult [Pi's Official Documentation of /boot/config.txt Video Options](https://www.raspberrypi.org/documentation/computers/config_txt.html#video-options)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sleepycircuits.gitbook.io/sleepy-circuits/archived-deprecated/diy-hypno-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
