[GreatScott!] needs to light off fireworks with an arc rather than a flame, because “fireworks and plasma” is cooler than fireworks and no plasma. To that end, he attempted to reverse engineer an arc lighter, but an epoxy potted high-voltage assembly thwarted him. Refusing to accept defeat, he modified a CCFL inverter into an arc lighter, and the process is pretty educational.
With his usual impeccable handwriting and schematic drawing skills, [GreatScott!] documents that his CCFL inverter is a resonant Royer oscillator producing a sine wave of about 37 kHz, which is then boosted to about 2400 volts. That’s pretty good, but nowhere near the 15 kilovolts needed for a self-sustaining arc across electrodes placed 5 mm apart. A little math told him that he could achieve this by rewinding the transformer’s primary with only 4 turns. After some testing, the rewound transformer was fitted back into the Royer circuit and with a few modifications the arc was struck.
It’s not a finished project yet, and we’re looking forward to seeing how [GreatScott!] puts this to use. For now, we’re grateful for the lesson is Royer oscillators and rewinding transformers. But if you’d rather hack an off-the-shelf arc lighter, there’s always this arc lighter pyrography pen, or this mini plasma cutter.
Continue reading “Hacked CCFL Inverter Becomes An Arc Lighter”
How much game can you get out of a chip with only 1 kB of flash memory and (five or) six free GPIOs? Well, you can get it to play the classic memory game, Simon. [Vojtak] is submitting this project for the 1 kB Challenge, but it looks like it’s already been used to teach simple microcontrollering to teenagers as well, so the code is actually straightforward to read, but full of nice features.
Neat tricks include sharing button-press sensing and LED driving on the same pin, which was necessary to make everything work on such a small chip. A simple linear-congruential pseudorandom sequence provides the variation, and it’s seeded by slow-clock/fast-clock timing jitter, so you’re probably not going to see the same sequence twice. (It’s not the best random number generator ever, but it’ll do.) If that weren’t enough, high scores (and the random seed for the game) are saved to EEPROM so that you can brag to your friends or re-live your previous moments of glory.
The board is easily solderable together as well. This is a fantastic beginner project, with details in the code that everyone can learn from. It’s a great game, and a great demonstration of what you can do with a dollar’s worth of parts and 1 kB of code.
Continue reading “Tiny Game Of Simon On An ATtiny13”