Making A Locket From A Coin

Some countries have strict laws around the destruction or alteration of issued currency, but then again, some countries don’t. Citizens of those in the latter category may enjoy undertaking a build similar to this locket created by [Elier Olivos], crafted from a large coin.

A compass is first used to mark out a line on the coin’s perimeter, before it is cut in half with a fret saw. Once the two halves of the coin are smoothed out, it’s then time to heat them and quench them so they’re more malleable for pounding into a slightly domed shape. Metal rings are then fabricated and added to each half to give the locket some depth.

A hinge is then carefully made and fixed into the edges of the coin halves, giving the closed coin an almost seamless outside appearance. A small latch installed on the inside helps hold the locket closed. The final touches are to attach a loop for affixing the locket to a chain for the wearer, and to polish the inside of the locket up to a mirror shine.

[Elier] makes the build look easy through a combination of his amazing skills with his hands and the help of a some esoteric tooling. It can be very relaxing to take in a video of a master at work, and we’ve seen some great examples recently. Video after the break.

Continue reading “Making A Locket From A Coin”

Coin Sorter Is Elegant And Beautiful

Counting change is a great way to teach children about mathematics and money, but it grows tiresome for those of us that have passed the first grade. Thus, a machine should the job, as [Daniele Tartaglia] demonstrates.

A vibrating motor is used to shake a hopper full of coins, letting them fall through a feeder slot into the machine at a steady rate. They then go through a size-based sorter, which flicks the coins into a different channel depending on their physical dimensions. The coins are counted via infrared sensors wired up to an Arduino, and then pass through a rather lovely maze on their way down to sorting bins at the bottom of the machine.

It’s a tidy build, and a great thing to have if you regularly find yourself needing to count change. We haven’t seen too many coin counters before, but we have seen a laundromat given an overhaul with some hacker skills. Video after the break.

Continue reading “Coin Sorter Is Elegant And Beautiful”

DIY High Voltage Kirlian Photography Rig

High voltage is a fun, if dangerous, thing to play with. [Mirko] is an enthusiast in this space, and built a high-voltage Kirlian photography device that’s capable of creating some stunning images.

The construction of the device itself is basic. High-frequency, high-voltage electricity is connected to a metal object placed on one side of a glass plate. On the other side, salt water is pooled, and connected to a second electrode. This creates a transparent window through which the electrical discharge can be viewed either by eye or with a digital camera. Historically, this was done with photographic film in place of the transparent window, but the principle is the same.

Popular in the paranormal and alternative medicine spaces, the actual scientific application of Kirlian photography is minimal. Rather, it’s an interesting way to explore high voltages that creates some pretty results! If you find yourself becoming a fan of high voltage, you might also consider your own Tesla coil build, too. Video after the break.

Continue reading “DIY High Voltage Kirlian Photography Rig”

Flipping A Coin 10,000 Times With A Dedicated Machine

Flipping a coin is often the initial example used to help teach probability and statistics to maths students. Often, there is talk of how, given a fair coin, the probability of landing heads or tails should approach 0.5. Of course, if you want to test this, it pays to have a machine do the hard work for you. [Andrew Consroe] has the rig to do just that.

The build consists largely of 3D printed parts. A large cylindrical shroud is used to keep the coin within the flipping area. A spring-loaded dowel is actuated by a stepper motor spinning a cam, which flips the coin. Once the coin has landed, it is photographed with a webcam. An image processing pipeline then determines whether the coin landed heads or tails. A black spot is used on one side of the coin to aid analysis, as the poor-quality webcam images weren’t good enough to recognise the coin in its standard form. Once the flip has been analysed, a sliding aperture is used to push the coin back towards the flipper for the next cycle.

The machine completes a flip approximately every two seconds, meaning 10,000 flips would take approximately 2.5 days. Unfortunately, due to noise and occasional coin escapes, [Andrew] hasn’t yet been able to achieve his goal. He aims to increase speed significantly before making an all-out attempt.

Coin flips can make for decent random numbers, but if you need better ones, perhaps NIST can help you out. Video after the break.

Continue reading “Flipping A Coin 10,000 Times With A Dedicated Machine”

A Trove Of Arcade Projects

[Ryan Bates] loves arcade games, any arcade games. Which is why you can find claw machines, coin pushers, video games, and more on his website.

We’ve covered his work before with his Venduino project. We also really enjoyed his 3D printed arcade joystick based off the design of a commercial variant. His coin pushing machine could help some us finally live our dream of getting a big win out of the most insidious gambling machine at arcades meant for children.

Speaking of frustrating gambling machines for children, he also built his own claw machine. Nothing like enabling test mode and winning a fluffy teddy bear or an Arduino!

It’s quite a large site and there’s good content hidden in nooks and crannys, so explore. He also sells kits, but it’s well balanced against a lot of open source files if you’d like to do it yourself. If you’re wondering how he gets it all done, his energy drink review might provide a clue.

Vending Coins For Your Vending Machine

Anyone who has worked in an office with a vending machine knows this problem well: someone wants a snack or a drink from the vending machine, but doesn’t have any small change. So, they proceed to walk around the office trying to find someone to make some change for them. It’s a hassle, and a surprisingly common one. Sure, a lot of vending machines now accept credit cards, but they’re still in the minority.

This was the problem facing Belgium-based automation company November Five. As automation and IoT specialists, their first thought was to hack the vending machine itself. But, unfortunately, they didn’t own it; as many of you know, vending machines are generally owned by the distributor. So, they needed a solution that allowed their employees access to the vending machine, without actually modifying the vending machine itself.

The solution they came up with was to attach an RFID-activated coin dispenser to the vending machine. Everyone at the company already has an RFID badge for opening doors and such, so the system wouldn’t add any burden to the employees. And keeping track of how many coins each employee used was a simple task of logging requests.

Continue reading “Vending Coins For Your Vending Machine”

Mario Hack

Reprogramming Super Mario World From Inside The Game

[SethBling] recently set a world record speed run of the classic Super Nintendo game Super Mario World on the original SNES hardware. He managed to beat the game in five minutes and 59.6 seconds. How is this possible? He actually reprogrammed the game by moving specific objects to very specific places and then executing a glitch. This method of beating the game was originally discovered by Twitch user [Jeffw356] but it was performed on an emulator. [SethBling] was able to prove that this “credits warp” glitch works on the original hardware.

If you watch the video below, you’ll see [SethBling] visit one of the first available levels in the game. He then proceeds to move certain objects in the game to very specific places. What he’s doing here is manipulating the game’s X coordinate table for the sprites. By moving objects to specific places, he’s manipulating a section of the game’s memory to hold specific values and a specific order. It’s a meticulous process that likely took a lot of practice to get right.

Once the table was setup properly, [SethBling] needed a way to get the SNES to execute the X table as CPU instructions. In Super Mario World, there are special items that Mario can obtain that act as a power up. For example, the mushroom will make him grow in size. Each sprite in the game has a flag to tell the SNES that the item is able to act as a power up. Mario can either collect the power up by himself, or he can use his friendly dinosaur Yoshi to eat the power up, which will also apply the item’s effects to Mario.

The next part of the speed run involves something called the item swap glitch. In the game, Mario can collect coins himself, or Yoshi can also collect them by eating them. A glitch exists where Yoshi can start eating a coin, but Mario jumps off of Yoshi and collects the coin himself simultaneously. The result is that the game knows there is something inside of Yoshi’s mouth but it doesn’t know what. So he ends up holding an empty sprite with no properties. The game just knows that it’s whatever sprite is in sprite slot X.

Now comes the actual item swap. There is an enemy in the game called Chargin’ Chuck. This sprite happens to have the flag set as though it’s a power up. Normally this doesn’t matter because it also has a set flag to tell the game that it cannot be eaten by Yoshi. Also, Chuck is an enemy so it actually hurts Mario rather than act as a power up. So under normal circumstances, this sprite will never actually act as a power up. The developers never programmed the game to properly handle this scenario, because it was supposed to be impossible.

If the coin glitch is performed in a specific location within the level, a Chargin’ Chuck will spawn just after the coin is collected. When the Chuck spawns, it will take that empty sprite slot and suddenly the game believes that Yoshi is holding the Chuck in his mouth. This triggers the power up condition, which as we already know was never programmed into the game. The code ends up jumping to an area of memory that doesn’t contain normal game instructions.

The result of all of this manipulation and glitching is that all of the values in the sprite X coordinate table are executed as CPU instructions. [SethBling] setup this table to hold values that tell the game to jump to the end credits. The console executes them and does as commanded, and the game is over just a few minutes after it began. The video below shows the speed run but doesn’t get too far into the technical details, but you can read more about it here.

This isn’t the first time we’ve seen this type of hack. Speed runs have been performed on Pokemon with very similar techniques. Another hacker managed to program and execute a version of single player pong all from within Pokemon Blue. We can’t wait to see what these game hackers come up with next. Continue reading “Reprogramming Super Mario World From Inside The Game”