Code
Arduino Programming
Install Arduino
If this is your first time using Arduino, please download and install it here.
Compile
- Download the latest code.
- Open it in Arduino.
- Select the board
Arduino Nano Every
. - Select the port.
- Click
Verify
to verify the code compiles correctly. - Click
Upload
to upload the code. - You will see the display lights up and show version number of the firmware, the Arduino is correctly programmed and ready to use.
Speed Settings
We pre-programmed four speed settings for three yarn recipes:
MODE_CHARCOAL
for Activated Charcoal Resistive Yarn.MODE_THERMO
for Thermochromic Yarn.MODE_REG
for pH Sensing Yarn and other lightly-pigmented recipes.MODE_RESET
for resetting the syringe pump with reversed motor directions.
To fine-tune the speed for each settings, you could change the speed by adjusting the delay interval. Increasing the delay interval will result in a slower speed, while decreasing the delay interval will result in a higher speed.
/************SPEED SETTINGS*************/
//reset
#define EXTRUDER_DELAY_0 1
#define BOBBIN_DELAY_0 3
//regular
#define EXTRUDER_DELAY_1 8
#define BOBBIN_DELAY_1 3
//thermo
#define EXTRUDER_DELAY_2 12
#define BOBBIN_DELAY_2 5
//charcoal
#define EXTRUDER_DELAY_3 12
#define BOBBIN_DELAY_3 6
Last updated on