At this point it’s something of a given that a member of the ESP8266 family is likely your best bet if you want to cobble together a small Internet-connected gadget. Costing as little as $3 USD, this well documented all-in-one solution really can’t be beat. But of course, the hardware is only one half of the equation. Deciding how to handle the software side of your homebrew Internet of Things device is another story entirely.
It would be fair to say that there’s no clear-cut “right” way to approach the software, and it really depends on the needs or limitations of your particular project. For example [Brian Lough] finds that building Telegram support into his ESP8266 allows him to accomplish his goals with the minimum amount of fuss while at the same time using an environment he’s already comfortable with. He recently wrote in to share one of his Telegram projects with us, and in the video after the break, takes the time to explain some of the things he likes best about controlling his hardware through the encrypted chat platform.
But you don’t have to take his word for it, you can try it yourself. Thanks to the software library that [Brian] has developed to connect his projects to Telegram, the aptly named “Universal Telegram Bot Library”, anyone can easily follow in his footsteps. Adding his Telegram library to your next ESP8266 project is as easy as selecting it in the Arduino IDE. From there the video explains the process for getting a bot ID from Telegram, and ultimately how you use it to receive messages from the service. What you do with those messages is entirely up to you.
We’ve only seen one other Telegram application on Hackaday.io and we’re wondering why. It looks pretty slick, and with the bot’s ability to send a custom “keyboard” to the phone along with the message, it could make cell-phone-based control interfaces a cinch. Anyone else using Telegram for bots?
Legendary electrical engineer and linear IC trailblazer Bob Widlar was just like you. What I mean is that he would use everything available to him to mock up circuits, create prototypes, and make things work. One of the simplest and coolest tools he used was a conductive paper called Teledeltos. This wonderful stuff allowed him to define and test various configurations for the oddly-shaped ballast resistors he used in some of his high-performance circuit designs. But it wasn’t created for people like you and Bob. Teledeltos paper was created and trademarked by communications giant Western Union to drastically improve the convenience of telegrams.
Development of the electric telegraph ushered in the era of global communication. Suddenly, people could send messages to the other side of the world in a fraction of the time it took by post. The telegraph absolutely revolutionized human communication. It was the e-mail and the Twitter of its time. The telegraph’s efficiency made the Pony Express pretty much obsolete by the 1860s. And for a very long time it was much cheaper for people to send a telegram than make a long-distance phone call.
The Advantages of Facsimile
Translated from ancient Greek, ‘teledeltos’ basically means writing tablet at a distance. Western Union began developing Teledeltos paper in the 1930s for the purpose of transmitting telegrams by facsimile, a method that would greatly reduce the time it took to input messages into the system and get them out on the other side. As long as both the sender and the receiver had facsimile machines, a handwritten telegram could be transmitted without having to be typed by a clerk or translated into code. Teledeltos paper was also used in a variety of chart recorders, like seismographs and map plotters. The ability to feed a handwritten message, a photograph, or a map of enemy territory into a machine that transmitted an exact copy was a real game changer.
Because of its composition, Teledeltos paper could be easily marked without an electrolyte. It marked so well that photographs and other graphic information could be transmitted, and no processing was required on the receiving end. A dry recording paper is also much less sensitive to light and to temperature extremes. More importantly, properly stored dry paper is impervious to fungal growth. Teledeltos paper could sit around indefinitely without becoming useless. The only real disadvantage to this type of paper was the somewhat laborious process that went into achieving the desired resistance. Fax machines eventually moved on to digital transmission and thermal printing technology.
Sparking a Revolution
Teledeltos paper has a light gray electro-sensitive coating on one side, and the other side is carbon black. When a current is applied with a stylus to the coated side of the paper, the coating is instantly burned away, revealing the carbon black. Teledeltos paper could be marked using either AC or DC. Polarity didn’t matter, either, but the boys in the lab at Western Union had better luck when they used a positive stylus with DC rather than a negative one.
Teledeltos paper was made in two types—“L” for low resistance and “H” for high. The resistivity of a roll of Teledeltos paper depended on the quality of the conductive fibers that went into it. The paper’s electrical characteristics were also influenced by the fiber beating process and the distribution of the conductive fibers by the supercalender, a system of hard rollers used in papermaking and other processes that press and smooth paper and other materials to increase the density.
Teledeltos to the Rescue
Western Union was eager to extend its reach into private businesses and public places so that patrons who weren’t heavy telegram users didn’t have to visit a telegram office in order to share a bit of good news or to send their condolences. The company’s Telefax division came up with several types of machines to serve different business needs.
Some messages continued to be delivered by hand, but they weren’t printed at the central office. Western Union created a Telecar service to print telegrams transmitted to the car by the central office and deliver them to people’s homes. Messages were printed onto recording blanks that were cut automatically by a Telefax recorder situated in the car’s passenger area. The Telecar’s radio and amplification equipment was in the trunk.
The standard Telefax machine for office use was fairly large, like an early microwave oven. A smaller version called the DeskFax was only about the size of a breadbox, and these units occupied the desks of many businessmen and secretaries because of their convenience.
Both the Telefax and the DeskFax scanned and recorded telegrams using a rotary drum mechanism. A message could either be typed or handwritten onto a telegram blank. The sender then wrapped the telegram around a drum and set the machine to send. The machine would scan the message optically and then transmit it to the central office.
Before sending it on to the recipient, an attendant at the telegram office had to remove the incoming message and wrap it around the drum of a transmitting machine. Once connected to the receiving party’s line, the far end unit would buzz to arouse attention. The receiving patron would then load a blank on to their DeskFax’s roller and set their machine to receive.
Teledeltos for Hacking and Education
Conductive paper like Teledeltos has many applications aside from fax machines and Fathometers. For starters, it’s great for making one-offs of both standard and variable resistors. Conductive paint can be used as connection points for wires. The paper is also well-suited for simulating current flow through circuits using a fraction of the current intended in production. Vacuum tube designers used Teledeltos for modeling potentials. Teledeltos can also be used to visualize electromagnetic potentials and perform field plotting.
We’re sure that at least a few of our readers out there used Teledeltos or something like it in school or on the job. Did you know you can still buy it? Teledeltos paper itself is still available from two companies in the UK, Better Equipped and Timstar. In the US, you can get it from Pasco in packs of 50 and 100 sheets, with and without a grid pattern.
This week, we’re taking the wayback machine to 1940 for an informative, fast-paced look at the teleprinter. At the telegram office’s counter, [Mary] recites her well-wishes to the clerk. He fills out a form, stuffs it into a small canister, and sends it whooshing through a tube down to the instrument room. Here, an operator types up the telegram on a fascinating electro-mechanical device known as a teleprinter, and [Mary]’s congratulatory offering is transmitted over wires to her friend’s local telegraph office hundreds of miles away.
We see that the teleprinter is a transceiver that mechanically converts the operator’s key presses into a 5-digit binary code. For example, ‘y’ = 10101. This code is then transmitted as electrical pulses to teleprinters at distant offices, where they are translated back into alphanumerical data. This film does a fantastic job of explaining the methods by which all of this occurs and does so with an abstracted, color-coded model of the teleprinter’s innards.
The conversion from operator input to binary output is explained first, followed by the mechanical translation back to text on the receiving end. Here, it is typed out on a skinny paper tape by the type wheel shown above. Telegraphists in the receiving offices of this era cut and pasted the tape on a blank telegram in the form of meaningful prose. Finally, it is delivered to its intended recipient by a cheeky lad on a motorbike.