Posts | Comments

Planet Arduino

Archive for the ‘electromagnet’ Category

[Diyguypt] may be an altruist to provide the means for people who can’t manipulate chess pieces to play the game. Or he may just have his hands too busy with food and drink to play. Either way, his voice command chessboard appears to work, although it has a lot of moving parts both figuratively and literally. You can check out the video below to see how it works.

The speech part is handled by an Android phone and uses Google’s voice services, so if you don’t want Google listening to your latest opening gambit, you’ll want to pass this one up. The phone uses an app that talks to the Arduino via Bluetooth, which means the Arduino needs a Bluetooth module.

The Arduino controls what amounts to an upside-down 3D printer. Instead of a hot end pointing down, the mechanism has an electromagnet pointing up. A small washer in the base of each chess piece makes it susceptible to the magnet’s motion. The electromagnet is required to let go of a piece before a move to a new position. It is possible that a small servo moving a permanent magnet closer to the board for a move and away from the board to reposition could do the same job, though we suspect that could be tricky.

We’ve seen this before, often with a Harry Potter theme. We sort of prefer a more obvious chess robot, but that’s just us.

Getting a magnetic field to balance on another magnetic field is about as easy as balancing a bowling ball on the tip of an ink pen. With a little help from an Arduino mega, however, [EmmaSong] was able to balance a high density neodymium magnet in midair. He pull off this tricky project using a set of four coils he got off of Taobao (the Chinese version of eBay), a hall effect sensor, and a handful of current regulation ICs.

The coils can be made in house if necessary, with each winding getting about 800 turns of enameled wire. The rest of the circuit is straight forward. It appears he uses a potentiometer for a rough regulation of the current going to the coils, doing the fine tuning in the code which can be found here (.RAR direct download).

We’ve seen magnetic levitation here before, and this project adds to the list of successful techniques to accomplish this difficult project.


Filed under: Arduino Hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook