Whiteboard Clock

Whiteboard Clock Draws The Time

[Maurice] recently built a clock that draws the time (Google Doc) on a white board. We’ve seen plenty of clock hacks in the past, and even a very similar one. It’s always fun to see the different creative solutions people can come up with to solve the same problem.

This device runs on a PIC16F1454 microcontroller. The code for the project is available on GitHub. The micro is also connected to a 433MHz receiver. This allows a PC to keep track of the time, instead of having to include a real-time clock in the circuit. The USB connector is only used for power. All of the mounting pieces were designed in OpenSCAD and printed on a 3D printer. Two servos control the drawing arms. A third servo can raise and lower the marker to the whiteboard. This also has the added benefit of being able to place the marker tip inside of an eraser head. That way the same two servos can also erase the writing.

The communication protocol for this systems is interesting. The transmitter shows up on [Maurice’s] PC as a modem. All he needs to do to update the time is “echo 12:00 > /dev/whiteboard”. In this case, the command is run by a cron job every 5 minutes. This makes it easy to tweak the rate at which the time updates on the whiteboard. All communication is done one-way. The drawing circuit will verify the checksum each time it receives a message. If the check fails, the circuit simply waits for another message. The computer transmits the message multiple times, just in case there is a problem during transmission.

Pre-Web Hardware Connects To The Web

We’re not quite to the 25th anniversary of the world wide web, but that doesn’t mean the greatest innovation in information distribution since [Gutenberg]’s press can’t be celebrated a bit early, does it? [Suhayl] is throwing some of his hardware into the ring, and loading up the first web page with a modem from the mid 1960s and a teletype from the mid 70s. No, no sane person would have ever done this 25 years ago, but it’s neat to watch in any event.

The hardware [Suhayl] is using includes a Livermore Data Systems modem. It’s a finely crafted wooden box with an acoustic coupler on top, and a DB-25 connector on a side that connects to a terminal or computer via RS-232. If that Livermore Data Systems acoustic coupler modem looks familiar, you might be right. This modem was demoed back in 2009 by [phreakmonkey]. It’s an impressive little box that can connect to a remote system at up to 300 baud.

The I/O is handled by an ASR-33 teletype. This was the standard way to connect to computers and mainframes before we were all blessed with video terminals and TV typewriters. The whole setup connects to a Unix system with a much more familiar Hayes modem, runs a text-only browser, and retrieves the first web page as it was served up at CERN some 25 years ago.

Repairing A Router Plagued By Capacitors

[psgarcha]’s modem/router comes straight from his internet provider, is on 24/7, and is built with the cheapest components imaginable. Eventually, this will be a problem and for [psgarcha], this problem manifested itself sooner than expected. Fortunately, there was a soldering iron handy.

The problems began with a boot loop – starting the router up, watching the blinking LEDs, and watching these lights follow the same pattern forever. Initially thinking this would be a problem with the firmware, [psgarcha] did the only thing he could do – take it apart. Inside, he found some bulging capacitors. Unsheathing his iron and replacing the obviously faulty components, [psgarcha] plugged the router in and had everything work. Great. Until those caps failed again a few months later.

There was obviously something wrong with the circuit, or wrong with the environment. Figuring it was hot out anyway, [psgarcha] replaced those caps again and added a fan and a small heatsink to the largest chip on the board. This should solve any overheating problems, but the real testing must be done in summer (or putting the router in a well-insulated enclosure). It’s an easy fix, a good reminder of exactly how often caps fail, and a great example of reducing the electronic cruft building up in landfills.

Transferring Audio To An AVR At 12kbps

Back in the bad ‘ol days of computing, hard drives cost as much as a car, and floppy drives were incredibly expensive. The solution to this data storage problem offered by all the manufacturers was simple – an audio cassette. It’s an elegant solution to a storage problem, and something that has applications today.

[Jari] was working on a wearable message badge with an 8-pin ATTiny. To get data onto this device, he looked at his options and couldn’t find anything good; USB needs two pins and the firmware takes up 1/4 of the Flash, UART isn’t available on every computer, and Bluetooth and WiFi are expensive and complicated. This left using audio to send digital data as the simplest solution.

[Jari] went through a ton of Wikipedia articles to figure out the best modulation scheme for transferring data with audio. What he came up with is very simple: just a square wave that’s changed by turning a pin off and on. When the audio is three samples long without crossing zero, the data is 0. When it’s five samples long without crossing zero, the data is 1. There’s a 17-sample long sync pulse, and with a small circuit that acts as a zero crossing detector, [Jari] had a simple circuit that would transfer data easily and cheaply.

All the code for this extremely cheap modem is available on GitHub.

Hackaday Links Column Banner

Hackaday Links: October 19, 2014

Introducing the Hayes Smartmodem 1200. The era of the single station microcomputer…. is over. The Hayes Smartmodem offers advanced features like auto answer and auto dial. Now if we could only find an ‘RS-232 Computer.’

Have a 3D printer and an old router? How about controlling your printer with Octoprint? For some cases, it might be better than using a Raspberry Pi and OctoPi, but you won’t get a camera for streaming pics of your builds to the web.

Last year, [CNLohr] built a microscope slide Minecraft thing and in the process created the smallest Minecraft server ever. The record has now been bested with the Intel Edison. There’s a bit of work to install Java, but the performance is pretty good for one player. Bonus: Minecraft is a single threaded app, so you have another core for garbage collection.

Remember the Scribble pen, that showed just how gullible people are and how crappy tech journalism is? They’re back with a beta program. A mere $15 guarantees you a scribble pen for their beta program. I wouldn’t give these guys $15 of someone else’s money, but lucky for us [ch00f] bit the bullet. He’ll be updating everyone on the status of his fifteen dollars, I’m sure.

Hey, guess what will eventually be in the Hackaday store? Keycaps for your mechanical keyboard. Yes, we actually figured out a way to do this that makes sense and won’t lose money. Pick your favorite, or suggest new ones in the comments:
keycaps

BSAPEDWLOVKTUB.YBKAB

Old Laptops, Modems, And The Hackaday Retro Edition

We haven’t been getting very many submissions of extremely old computers loading up the Hackaday Retro Edition in a while. For shame. Thankfully, [alnwlsn] is here to pick up the slack from the rest of you with his latest accomplishment, getting two old laptops on the Internet with some old telecom equipment.

The first is a Toshiba from about 1995, Pentium processor, 12 MB of RAM, and a 10 GB (!) hard drive. [aln] had a PCMICA modem sitting around, and with Windows 95 and IE 5.5, he was able to slowly connect.

Pentium class machines are okay, but the next one – a Zenith Data Systems laptop from about 1987 – is awesome. 80C88 CPU, two 720k floppy drives, and the exact amount of RAM in that quote falsely attributed to [Bill Gates]. [alnwlsn] is connecting with a 28.8k modem, but the serial port only supports up to 9600. It’s a computer so old, even the retro edition’s main page times out. The about page, though, loaded fine.

[alnwlsn] used a modem with both of these laptops, but he doesn’t have dial-up or even a landline. This forced him to make his own line simulator that requires plugging in the phone line at the right time, manually ringing a modem connected to another computer, and letting PPP take it from there. It’s a crude circuit, but it works. slow, but it works. Video below.

Continue reading “Old Laptops, Modems, And The Hackaday Retro Edition”

MicroModem, For Data Transmission Explorations

modemThem kids with those Arduinos don’t know what they’re missing. A serial connection is just too easy, and there’s so much fun to be had with low bandwidth modems. [Mark] made the MicroModem with this in mind. It’s a 1200 baud AFSK modem, capable of APRS, TCP/IP over SLIP, mesh network experimentations, and even long-range radio communication.

As the MicroModem is designed to be an introduction to digital wireless communication, it’s an extremely simple build using only 17 components on a board compatible with the Microduino. The software is built around something called MinimalProtocol1, a protocol that will be received by all other listening stations, features error correction, and automatic data compression. There’s also the ability to send TCP/IP over the link, which allowed [Mark] to load up our retro site at a blistering 1200 bps.

The code is extremely well documented, as seen on the Github for this project, with board files and even breadboard layouts included. [Mark] has three PCBs of his prototype left over, and he’s willing to give those out to other Hackaday readers who would like to give his modem a shot.