
Reindeer and Sleigh Live Tree Moisture Testing Ornament
youmagine
My ornament is designed to test moisture levels in live Christmas tree soil. It has three main parts: a sleigh, a reindeer, and a present-shaped moisture sensor probe. The sleigh houses the Flora microcontroller, battery pack, and three indicator LEDs. The reindeer has one LED at its nose, while the present probe is inserted into the tree's soil. The ornament's wiring schematics can be found above, with wires connecting the reindeer's LED to the sleigh resembling reins. I recommend using green wire for the moisture sensor to hide it as it runs through the tree to its base. The live Christmas tree's soil moisture is indicated by four LEDs on the ornament. If no moisture is present, none of the LEDs light up. 1-25% moisture causes the reindeer LED to light up, while 26-50% moisture makes both the reindeer and leftmost sleigh LED light up. 51-75% moisture results in three LEDs lighting up, and 76+% moisture lights all four LEDs. I created an Arduino program to execute these moisture readings: int moistureSensor = 10; int moistureValue = 0; int led1 = 9; int led2 = 6; int led3 = 12; int led4 = 1; void setup() { Serial.begin(9600); pinMode(moistureSensor, INPUT); pinMode(led1, OUTPUT); pinMode(led2, OUTPUT); pinMode(led3, OUTPUT); pinMode(led4, OUTPUT); digitalWrite(led1, HIGH); digitalWrite(led2, HIGH); digitalWrite(led3, HIGH); digitalWrite(led4, HIGH); } void loop() { moistureValue = analogRead(moistureSensor); if (moistureValue > 767) { digitalWrite(led1, LOW); } if (moistureValue > 511) { digitalWrite(led2, LOW); } if (moistureValue > 255) { digitalWrite(led3, LOW); } if (moistureValue > 0) { digitalWrite(led4, LOW); } else { digitalWrite(led1, HIGH); digitalWrite(led2, HIGH); digitalWrite(led3, HIGH); digitalWrite(led4, HIGH); } } This design should be easily printable on current 3D printers. However, I encountered issues printing this on my outdated Makerbot Cupcake CNC due to the z-axis stepper motor skipping. I welcome everyone to use and improve upon my design and code. Thanks for checking out my design!
With this file you will be able to print Reindeer and Sleigh Live Tree Moisture Testing Ornament with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Reindeer and Sleigh Live Tree Moisture Testing Ornament.