Retrotechtacular: The Differential

Any video that starts off with two minutes of motorcycle formation riding has got to be good. If the grainy black and white video didn’t tip you off that this was made in a different time the helmetless riders standing on the seats of moving motorcycles certainly would have. But there is a purpose to this exposition. A single line of motorcycles riding shoulder to shoulder as they go around a curve illustrates why a differential is necessary and soon after you’ll find out how one works.

Two wheels mounted on one axle need to turn at different speeds as a vehicle goes around a corner or one of the wheels must slip to accommodate the speed difference. The differential is necessary to allow for these different turning rates while still letting both wheels connect to the power train. We were surprised to learn from the video after the break that early automobiles got around this issues by powering only one of the four wheels.

This instructional video is a prefect compliment to the fluid coupling video we saw in the last installment of Retrotechtacular.

Continue reading “Retrotechtacular: The Differential”

Converting A Weather Station Kit For Wireless Data Harvesting

converting-weather-station-for-wireless-data-collection

Everyone loves getting something you can play with as a Christmas gift. [Thomas] was the lucky recipient of an Elektor USB weather station kit. But the fun didn’t end once he had assembled everything. He went on to hack the device for wireless data collection.

Shown above is the weather station board connected to the transmitter. The red board with a tiny antenna to the right is a Rovio RN-VX module. It is capable of transmitting serial data to its twin on the receiving end of the setup. The weather station is pretty easy to connect to the transmitter since it feeds serial data to an FTDI USB chip. [Thomas] simply connected power and ground, then added a jumper from the board’s TX pin to the Rovio’s RX pin. The receiving end uses a serial-to-USB converter — getting a signal for its RX pin from the TX pin on the Rovio receiver board.

We know from other projects that these radio modules can connect to a WiFi AP. Perhaps a future revision of [Thomas’] hack will allow the weather station to communicate with his server over the network, doing away with the need for a standalone receiver.

Coffee Table Arcade Cabinet

ikea-arcade-gaming

Get some Pac-Man fever while sitting on this couch thanks to the arcade rig built inside of the coffee table. The controls are a bit more sparse than more dedicated MAME rigs, but you should still be able to play most of the classics with four buttons and a joystick. After all, you need to reserve some room to put your feet up when you’re not gaming.

[Manny Flores] started the project with a Lack table from Ikea. The top is anything but solid. After tracing the outline of his LCD screen and cutting through the surface he discovered this is more of a beefed of cardboard than it is wood. The honeycomb of paperboard inside the surface of the table makes it really easy to clear out some space. In fact, when it came time to add the arcade buttons he just used a utility knife to cut the openings. Inside you’ll find a Raspberry Pi which interfaces with the buttons and joystick via an iPac USB controller board. A set of powered speakers mounted on the underside complete the design.

[via Adafruit]

Hacking Grandfather Clock Accuracy While It’s Still Ticking

grandfather-clock-tweaking

[Keith] got his hands on a few grandfather clocks. Apparently the price tag is greatly reduced if you are able to get them second-hand. The mechanical timepieces require weekly winding, which is a good thing since you’ll also need to correct the time at least that often. But this drift got [Keith] thinking about improving the accuracy of these clocks. He figured out a high-tech way to adjust the timepiece while it’s ticking.

The first thing he needed was a source of super-accurate time. He could have used a temperature compensated RTC chip, but instead went the more traditional route of using the frequency of mains power as a reference. The next part of the puzzle is to figure out how to both monitor the grandfather clock and make small tweaks to its pendulum.

The answer is magnets. By adding a magnet to the bottom of the pendulum, and adjusting the proximity of a metal plate positioned below it, he can speed up or slow down the ticking. The addition of a hall effect sensor lets the Arduino measure the rate of each swing and calculate the accuracy compared to the high voltage frequency reference.

Little Sister’s Turn For Hobby Electronic Party Favors

little-sisiters-turn-for-hobby-electronic-party-favors

[Ian Lee, Sr.] made something special for his daughter’s birthday party. It’s pretty common for girls of this age (this was her 5th birthday) to be enthralled with stories of princesses so he made a blinky princess wand for each party guest. The motivation came when she asked what special thing he was going to do for her celebration. You may remember seeing the LED badge kits that were featured at her brother’s party earlier this year. From the look of the party guests he surely satisfied her desire for a memorable party.

The project is very inexpensive, extremely easy to assemble, and might make a perfect kit for supervised Kindergarteners. It’s basically an LED throwie with a stick and a feather added. [Ian] used CR2032 batteries along with an LED and current limiting resistor to light things up. He clipped off one leg of the LED and replaced it by soldering the LED in place. The remaining leads were then pressed to either side of the coin cell and the whole thing was shoved into a slit cut in the end of a balloon rod. The whole thing was wrapped tightly in with a rubber band before being crowned with a ping pong ball. To trim it out he hot glued a feather at the base of the ball.

The only think that has us worried is what he’s going to do next year to top these parties.

How 6502 Overflow Works

6502 Overflow Circuit

The 6502 was a ubiquitous microprocessor back in the 80s, powering devices such as the Apple II and the Nintendo Entertainment System. [Ken] took an in depth look at a small part of the processor: the overflow circuit.

In order to do signed calculations, a microprocessor’s arithmetic logic unit (ALU) needs to be able to calculate when an overflow occurs. This happens when two numbers are added that cannot fit in a single byte. The result of a calculation will be incorrect, so the processor must inform the program that an overflow has occurred. This is done by setting an overflow flag.

[Ken] uses this example to first explain how the overflow circuit works in logic. He then looks at the gates and a transistor implementation of the logic. Finally, he walks us through the circuit on the actual 6502 die, showing how the circuit is constructed in silicon.

This is a great example to learn a bit more about how ALUs work and how integrated circuits get built.

Evolutionary Algorithms Computes The Best Blackjack Strategy

blackjack_banner

Don’t want to learn about evolutionary algorithms the usual way, by generating sentences from random letters, or randomly placing pixels to generate the Mona Lisa? Then make your own evolutionary algorithm! With blackjack!

[Brian] has been playing around with evolutionary algorithms, and wanted a task that’s well suited for optimization. He chose blackjack, because of the limited number of hands that can be dealt to the player (32) and low number of hands the dealer can have (10).

Even with the low number of initial conditions for the player and the dealer, there are still 4.562 x 10^192 possible combinations of hands, so brute forcing a blackjack strategy would require the computational power of the entire planet. An easier way to compute a good strategy is an evolutionary algorithm, implemented by [Brian] with the Watchmaker Java library.

For each generation in [Brian]’s program, a 32×10 grid was generated, one cell each for possible player’s hands against the dealer’s hand. In each cell, the computer put a ‘hit’, ‘stay’, or ‘double down’, and played thousands of hands with that strategy. The best strategies were bred and eventually [Brian] ended up with a good blackjack strategy.

The resulting best strategy is pretty good – using his strategy, he can walk out of an Atlantic City casino with 96% of the money he arrived with.