-
1SET UP THE UNICORN: The Base Kit
- Unpack the components from the box. You'll have the FUnicorn board, 3 cardboard stand pieces, an LED shield, and a rainbow USB cable.
- Slide the 3 cardboard pieces together to make the stand
- Set the FUnicorn board on the stand
- Peel the protective cover from the LED shield
- Set the LED shield on the stand, over the LEDs
- Plug in the USB cable to a charger or computer port
Wait for the unicorn's horn to pulse
Touch the unicorn!
-
2SET UP THE UNICORN: The Full Kit:
- Unpack the components from the box. You'll have everything above plus a Big Red Button Kit, a 9V battery and cable, and Arduino Shield and ISP headers.
- Set up the FUnicorn as in the Base Kit instructions
- Assemble the Big Red Button Kit per its instructions
- Plug the Big Red Button into the FUnicorn board
- Now you can activate the message by either touching the Unicorn or pressing the Big Red Button.
- If you want to run the Unicorn off of battery power, unplug the USB cable and plug in the 9V battery (cable included).
-
3(OPTIONAL) USING THE ARDUINO IDE TO REPROGRAM THE FUNICORN:
There are several steps to get the Arduino IDE downloaded and set up to work with your new FUnicorn board the first time. You won’t have to repeat them all every time!
- Download the Arduino IDE software from www.arduino.cc and install it on your computer.
- Open the Arduino IDE
- Add the Alpenglow Industries Boards Manager url to Preferences:
- Go to File --> Preferences
- Add the following url to "Additional Board Manager URLs": https://alpenglowindustries.github.io/Arduino-Package-Index/package_alpenglow_index.json
- Click OK, OK to exit
- Add Alpenglow Industries boards to Arduino
- Go to Tools 🡪 Board 🡪 Boards Manager
(It does not matter what board is currently selected under Board: “BoardName”)
- Search for "alpenglow" in the search bar
- Click Install for Alpenglow AVR Boards
- Go to Tools 🡪 Board 🡪 Boards Manager
- Add the FUnicorn library to Arduino
- Add through Library Manager
- This is the preferred method since you’ll automatically receive updates
- Go to Sketch 🡪 Include Library 🡪 Manage Libraries
- Type "alpenglow" into the search bar
- Install Alpenglow FUnicorn
- Add through Add .ZIP Library
- Go to https://github.com/AlpenglowInd/FUnicorn
- Click Code 🡪 Download ZIP
- Go to Sketch 🡪 Include Library 🡪 Add .ZIP Library.
- Select the .zip folder you just downloaded
You’re done with the once-only steps!
The following steps you’ll need to either do or confirm whenever you want to load new code on your FUnicorn.
- Add through Library Manager
- Loading the Code:
- Plug in the FUnicorn to a USB port on your computer. USB drivers should automatically load if it’s the first time you’ve plugged it into that USB port.
- Go to File --> Examples
- Under "Examples from Custom Libraries" select Alpenglow FUnicorn
- Choose the example you'd like to load!
- Code Examples:
- FUnicorn_ShipCode = the default code shipped with the unicorn, the message is activated via either capacitive touch or by pressing a button. Pressing and holding the button for the duration of a blinking cycle puts it into low-power button-only mode.
- FUnicorn_CapTouch = capactive touch only code.
- FUnicorn_Button = low power button-only mode, good for battery power.
- FUnicorn_ResTouch = sets up the leg and hoof as a resistive touch "button" if you touch them both together. Generally requires a moist finger. Maybe not the best for COVID times.
- Send the code to the FUnicorn
- Go to Tools --> Board and under "Alpenglow AVR Boards" select "Alpenglow FUnicorn"
- Go to Tools --> Port and select the COM port number of your Alpenglow FUnicorn. Make sure the correct one is selected – you may have several on your computer!
- Click the "-->" button in the toolbar
- When a "Done Uploading" message appears, the code is loaded!
- COM port drivers can sometimes crash. If your COM port isn’t showing up, unplug the FUnicorn, restart Arduino, look at the list of COM ports under Tools 🡪 Port and write down the numbers. Click out of Tools 🡪 Port, then plug in the FUnicorn. Go back to Tools 🡪 Port, and the new FUnicorn COM port should be on the list. Select it. Click the 🡪 button on the toolbar again.
- Also note that your FUnicorn may show up as different COM port numbers when plugged into different USB ports on your computer.
- If you’re new to Arduino, there are many tutorials on www.arduino.cc that take you through writing and modifying code, what Sketches are, what .ino files are, and what the setup() and loop() sections are, how to use libraries, and what basic C syntax looks like.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.