Notations 1. Printed gears on a 150$ faux CTC faux Prusa i3 .. not ideal. Sketchup plugin: jimhami42_rack_and_pinion.rbzhttps://forums.sketchup.com/t/involute-gear-and-worm-gear-plugin/39666/4 2. Mind the gap .. as it is not so much obtaining the sustained spark but focus on the initiation, which shd be ideally half or less before then traveling to the mhz distance. 3. Maker rage! V1 faced an -incident- of impatience of stupidity for stupidity. 4. Gears [deep breath] suck. V1 (pre-smash) was constructed before the gears had been printed - thus halving gears led to variance failures. V2 geared up first. 5. Knock off Nano was trashed - then fried a NodeMCU and servo by using a 12V usb fed power supply bcz wtf?! Burned a new bootloader to faux Nano -- back at it. 6. In principle .. am I right?! No? (>_ლ) 7. FAIL as 30,000 to 40,000 volts regardless of isolation (3 to 5 mm of PLA?!) disrupted electronics and seized the gyroscope. Lesson here? Less is more .. or shielding .. yeah, probably shielding. #lim
What Code Go Wrong?!
// Arduino Plasma Toilet Air Freshener // Version 1.4 // Vije Miller
// Gyro int gyro_pos = 95; int gyro_stop = 95; int rotate = 77; int timer_rotate_initial = 3000; int timer_rotate = 9150; // hall sensor in next version
// Riser int rise = 105; int lower = 75; int riser_stop = 91; int timer_riser_up = 20; int timer_riser_down = 20;
// Level int level_pos = 125; int up = 93; int down = 125;
// Relay int relay = 3;
// Trigger // Mercury Switch int trigger = 7; int led = 8; int state = 0; int hold_state = 0;
// Lid Down if (state == LOW) { digitalWrite(led, LOW); // Lid Down After Open Then.. if (hold_state == 1) { delay(5000); freshen(); hold_state = 0; // reset } // Lid Open } else if (state == HIGH) { hold_state = 1; digitalWrite(led, HIGH); }
// Testing if (Serial.available() > 0) { int cmd = Serial.parseInt(); Serial.println(cmd); if (cmd == 1) { rise_up(); } else if (cmd == 2) { go_down(); } else if (cmd == 3) { turn_gyro(); } else if (cmd == 4) { freshen(); } }