
Hexpressions Visor
- Version: 0.1.0
- Overview: Prototype Visor Insert
- Last Updated: 02/01/2022
Under Construction
The guide for creating the Hexpressions Visor Insert v1.0.0 is still a work in progress. Clarifications and images will be added later to further improve the instructions below. Follow ⬡-Drone #8483 on Twitter for updates.
Components and Tools
-
Components
- Arduino Nano
- 9V Battery
- 9V Battery snap connector
- 3-pin connector and leads (optional)
- 8x8 Flexible WS2812B LED Matrix
- Small slide switch.
- Velcro (optional)
-
Tools
- Soldering Iron
- Desoldering Tool (optional)
- Needle-nose wire cutters
- Mini-USB cable
- Arduino IDE
- 3-D Printer (optional)
Assembly
Start by soldering the red lead from the 9V snap connector to the VIN pin on the Arduino board. Trim off a 2cm portion of the black lead and set it to one side. Solder the end of the remaining black lead (connected to the 9V battery) to the center eyelet on the slide switch. Use the trimmed off portion to connect either of the outside eyelets to the GND pin on the Arduino.
Inspect the back of the LED matrix. If you have purchased the one linked above, it will have three sets of wires coming off labelled terminal clusters - a DIN/5V/GND set, a 5V/GND set and a DOUT/5V/GND set. You can remove the latter two to get them out of the way either by desoldering them (clean) or just cutting them off (messy and may scratch your visor). Make a note of the colours of the individual wires coming off the remaining terminal cluster, as they correspond to the same colours on the included connector.
Take the connector and gently separate the ends of the three wires. Solder the DIN wire to any data pin on your Arduino Nano (if in doubt, use D2.). Solder the 5V wire to the 5V pin, and the GND wire to either of the GND pins.
Use the needle-nose wire cutters to trim down your soldering.
Connect the 9V battery to the snap connector, and make sure the slide switch is set to the off position (if it's on, the Arduino will have a small red LED lit up).
It's strongly recommended you manufacture or repurpose some kind of small case to contain the Arduino and 9V battery, as it's likely you may damage your latex or Millennium head harness otherwise - either through heat generated by components or from exposed soldering scratching it. 8483 is currently designing a 3D printable case which can be attached using velcro to the back pad of the head harness - check back later for updates or create your own and send them in to be featured here!
However you choose to contain your Arduino and battery, make sure the 3-pin connector is sticking out and that there is enough length in the wire to reach the front of your visor.
Programming
Launch the Arduino IDE and from the menu bar at the top select Tools > Manage libraries, or press CTRL+SHIFT+I. In the search bar, search for "FastLED". Click install on the result. You will only have to do this step once, unless you uninstall the IDE.
Close the window and connect your Arduino Nano to your computer using the Mini-USB cable. In the menu bar, select Tools > Get Board Info to make sure your board is connected and set up correctly. Refer to troubleshooting guides online, or message #8483 if you encounter any issues (It will help where it can, but please try to help yourself first and only message it if you're really really stuck).
Download the code from the Hexpressions repository. Feel free to play around with it.
To upload the code, make sure your Arduino is connected via the Mini-USB cable and that its power switch is set to the off position. It's worth clicking the Verify button first in the IDE (the tick in the top left corner) to make sure your code will compile. Finally, click the upload button in the top left of the Arduino IDE. If your code fails to upload, or changes you've made don't display on the visor, make sure you've configured the IDE correctly and that your code does not contain any errors.
This process is quite inconvenient and does not allow for quick expression changes on the fly. A Bluetooth enable visor is in the works - have a look here for more info.
Mounting
Since the LED matrix can be separated from the Arduino thanks to the 3-pin connectors, mounting and removing it is as simple as wedging it between your MSA Millennium's visor and tinted outsert. There should be just enough room for a snug fit. Make sure the connector is sticking out and that the display is oriented correctly.
Attach the arduino to the back of the Millennium's harness, and connect the 3-pin connector to the LED display. Flip the switch to the on position to power it on and show off how happy you are to be a member of HexCorp~!
Safety
If mounting on the inside of the visor instead of between the visor and the outsert, take extra care that the back of the display does not come into contact with your skin. NEVER run wires across bare skin - it's possible that they may generate heat and cause lasting damage. Avoid setting LEDs to full white as this will increase power consumption, potentially generating a lot of heat, and shortening the lifespan of the LEDs.
In using this website, you agree to release the creator of this website for any injury, damage or losses caused by the use or misuse of this website and any projects or services contained within. You also specifically acknowledge and agree that your use of any of the services or software provided, or devices described by this website is at your sole risk.
The device described in this guide is not certified as being safe for use on humans by any recognised authority and it is not recommended that you do so.