IP Tracker

An Arduino Device That Monitors Your External IP Address

[Bayres’] dad setup a webcam as a surveillance camera for a remote property. The only problem was that the only stable Internet connection they could get at this property was DSL. This meant that the external IP address of the webcam would change somewhat often; the needed a way to keep track of the external IP address whenever it changed. That’s when [Bayres] built a solution using Arduino and an Ethernet shield.

The main function of this device is to monitor the public IP address and report any changes. This is accomplished by first making a request to checkip.dyndns.org. This website simply reports your current public IP address. [Bayres] uses an Arduino library called Textfinder in order to search through the returned string and identify the IP address.

From there, the program compares this current value to the previous one. If there is any change, the program uses the Sendmail() function to reach out to an SMTP server and send an e-mail alert to [Beyres’] dad. The system also includes a small LCD. The Arduino outputs the current IP address to this display, making it easy to check up on the connection. The LCD is driven by 74HC595 shift register in order to conserve pins on the Arduino.

The system is also designed with a pretty slick setup interface. When it is booted, the user can enter a configuration menu via a Serial terminal. This setup menu allows the user to configure options such as SMTP server, email address, etc. These variables are then edited and can be committed to EEPROM as a more permanent storage solution. Whenever the system is booted, these values are read back out of the EEPROM and returned to their appropriate variables. This means you can reconfigure the device on the fly without having to edit the source code and re-upload.

Decoding ZeuS Malware Disguised As A .DOC

[Ronnie] recently posted about his adventures in decoding malware. One of his users reported a phishy email, which did indeed turn out to contain a nasty attachment. The process that [Ronnie] followed in order to figure out what this malware was trying to do is quite fascinating and worth the full read.

[Ronnie] started out by downloading the .doc attachment in a virtual machine. This would isolate any potential damage to a junk system that could be restored easily. When he tried to open the .doc file, he was presented with an error stating that he did not have either enough memory or disk space to proceed. With 45GB of free space and 2GB of RAM, this should not have been an issue. Something was definitely wrong.

The next step was to open the .doc file in Notepad++ for analysis. [Ronnie] quickly noticed that the file was actually a .rtf disguised as a .doc. [Ronnie] scanned through large chunks of data in an attempt to guess what the malware was trying to do. He noticed that one data chunk ended with the bytes “FF” and D9″, which are also found as the ending two bytes of .gif files.

[Ronnie] copied this data into a new document and removed all new line and return characters. He then converted the hex to ASCII, revealing some more signs that this was actually image data. He saved this file as a .gif and opened it up for viewing. It was a 79KB image of a 3D rendered house. He also found another chunk of data that was the same picture, but 3MB in size. Strange to say the least.

After finding a few other weird bits of data, [Ronnie] finally started to see more interesting sections. First he noticed some strings with mixed up capital and lowercase letters, a tactic sometimes used to avoid antivirus signatures. A bit lower he found a section of data that was about the size of typical shellcode. He decoded this data and found what he was looking for. The shellcode contained a readable URL. The URL pointed to a malicious .exe file that happened to still be available online.

Of course [Ronnie] downloaded the .exe and monitored it to see how it acted. He found that it set a run key in the registry to ensure that it would persist later on. The malware installed itself to the user’s appdata folder and also reached out repeatedly to an IP address known to be affiliated with ZeuS malware. It was a lot of obfuscation, but it was still no match for an experienced malware detective.

ROBOCHOP! It Slices, Dices, But Wait! There’s More…

You’re gunna love my cuts. 

KUKA robots are cool. They’re both elegant and terrifying to watch in action as they move unyieldingly to preform tasks. Not many of us get to use industrial tools like this because they aren’t exactly trivial to wield (or cheap!). Artists [Clemens Weisshaar] and [Reed Kram] however created an installation that allows anyone to potentially control one of these orange beauties to do their bidding… all from the safety and comfort of a computer chair.

For their piece, “ROBOCHOP”, the artists developed a web app that allows you to easily manipulate the surface of a virtual cube. You can rotate for positioning and then use a straight or curved line tool to draw vectors through its surface and subtract material. Once you’re finished sculpting your desired masterpiece, one of the four KUKA robots in the installation will retrieve a 40 x 40 x 40 cm block of foam and shape it into a real-life version of whatever you created in the app.

Screen Shot 2015-03-06 at 1.03.39 PMStarting today you can visit the project’s website and upload your own mutilated cube designs. If your design is selected by the artists, it will be among the 2000 pieces carved by the robots throughout their installation during CeBit in Hanover. After the show, your cube spawn will then be mailed to you free of charge! The only way I could see this being cooler, is if they filmed the process so you could watch your shape being born.

Anyhow, I personally couldn’t resist the invitation to sculpt Styrofoam remotely with an industrial grade robot arm and came up with this gem.

You can go to their page if you want to give the app a go, and really… why wouldn’t you?

Continue reading “ROBOCHOP! It Slices, Dices, But Wait! There’s More…”

Sonic Screwdriver Plans

A Functional Sonic Screw Driver (Well, Kind Of)

[Jerome Kelty] just finished building this awesome data-logging Sonic Screwdriver with his 6-year-old son [Sam]. The Halloween previous, [Jerome’s] older son had dressed up as the Doctor, which had inspired [Sam] to make his own Sonic Screwdriver — however he declared that his screwdriver needed to actually work!

They sat down together and decided what it needed to be able to do. [Sam] has a pair of hermit crabs, so they thought it would be handy to be able to measure the temperature and the humidity of their habitat. It needed a flashlight for obvious 6-year old reasons, and it had to make the right sound effect when you used it too!

[Jerome’s] first thought was to 3D print it, but was met with a resounding no: “It needs to be metal!”

So out came the sketchpad and they started designing it to be cut on the lathe, using a combination of aluminum, brass and wood.

Sonic Screwdriver GutsMany weekends later [Sam] and his dad finished the body of the screwdriver and started work on the electronics. To keep it simple they used an Arduino Pro Mini 5V with a Sparkfun OpenLog to record all the data — and a handful of sensors of course!

 

After modifying the body a few times they finally got all the electronic guts to fit inside the screw driver. It features an SD card you can remove to see the OpenLog data, but as a “cool factor” [Jerome] also programmed in the temperature sensor to output to the RGB LED, so little [Sam] can point at things to determine how warm or cold they are.

Continue reading “A Functional Sonic Screw Driver (Well, Kind Of)”

Hackaday Meetup At SXSW

Each year the giant South by Southwest (SXSW) festival descends on Austin, Texas. It attracts droves of music lovers, among them an ocean of our kind of tech geeks. This year the crowd will trend evermore in that direction since Hackaday has decided to be there too!

In addition to scouring the crowd for awesome tech, we have a booth and are hosting an organized Hackaday meetup on Friday 3/13 at 11:00am. It’s free to all so put it on your calendar now! Several of our Hackaday crew will be there, we’re bringing cool hardware, and of course we’ll have some swag in tow the most hardcore of hackers.

This is one chance to talk about our passion: hardware development. We’ll be discussing the concept of focused and sustained efforts at building hardware as individuals, small teams, and a growing community. We know this is possible… we saw a lot of it with The Hackaday Prize and had a great look at one type of distributed development process through Developed on Hackaday which followed the Mooltipass project. Of course it’s not a lecture so bring your own ideas while we all chew the fat of what the future needs to look like.

As we mentioned, we have a booth at SXSW Create. Entry is again free to all and runs 11am-6pm for three days — find us in one of the four corner stalls. There we will be exhibiting the hardware from SatNOGS, ChipWhisperer, PortableSDR, Open Science Tricorder, and RamanPi. Don’t know what’s notable about these projects? They all won big for sharing the details of their future tech designs.

So, find us there! Give a shout on Twitter if you wonder what’s going on (we’re always looking for a good impromptu beer meetup or taco crawl). @hackaday@hackadayio@hackadayprize

Hacklet 37 – Nixie Projects

Nothing quite beats the warm glow of a tube. What better way to enjoy that glow than to use it to read numbers? Nixie tubes were created by Haydu Brothers Laboratories, and popularized by Burroughs Corp in 1955. The name comes from NIX I – or “Numeric Indicator eXperimental No. 1”. By the mid 1970’s, seven segment LED’s were becoming popular and low-cost alternatives to Nixies, but they didn’t have the same appeal. Nixie tubes were manufactured all the way into the 1990’s. There’s just something about that tube glow that hackers, makers, and humans in general love. This week’s Hacklet highlights the best Nixie (and Nixie inspired) projects on Hackaday.io!

temperatureDisplayWe start with [Sascha Grant] and Nixie Temperature Display. [Sascha] mixed an Arduino, a Dallas DS18B20 Temperature sensor, and three IN-12A Nixie tubes to create a simple three digit temperature display. We really love the understated laser-cut black acrylic case. An Arduino Pro Micro reads the Dallas 1-wire sensor and converts the temperature to BCD. High voltage duties are handled by a modular HV power supply which bumps 9V up to the required 170V.  Controlling the Nixie tubes themselves are the classic K155ID1 BCD to decimal converter chips – a favorite for clock builders.

 

driverNext up is [Christoph] with Reading Datasheets and Driving Nixie Tubes. Chips like the K155ID1, and the 74141 make driving Nixie tubes easy. They convert Binary Coded Decimal (BCD) to discrete outputs to drive the cathodes of the Nixie. More importantly, the output drivers of this chip are designed to handle the high voltages involved in driving Nixie tubes. These chips aren’t manufactured anymore though, and are becoming rare. [Christoph] used more common parts. His final drive transistor is a MPSA42 high voltage NPN unit. Driving the MPSA42’s is a 74HC595 style shift register. [Christoph] used a somewhat exotic Texas Instruments TPIC6B595 with FET outputs, but any shift register should work here. The project runs on a Stellaris Launchpad, so it should be Arduino compatible code.

fixietube[Davedarko] has the fixietube clock. Fixietube isn’t exactly a Nixie. It’s an LED based display inspired by Nixie tubes. Modern amber LEDs aren’t quite the same as classic Nixies, but they get pretty darn close. [Dave] designed a PCB with a 3×5 matrix of LEDs to display digits. A few blue LEDs add a bit of ambient light. The LEDs are driven with a 74HC595 shift register. The entire assembly mounts inside a tiny glass jam jar, giving it the effect of being a vacuum tube. The results speak for themselves – fixietubes certainly aren’t Nixies, but they look pretty darn good. Add a nice 3D printed case, and you’ve got a great project which is safe for anyone to build.

openNixieFinally, we have [Johnny.drazzi] with his Open Nixie Clock Display. [Johnny] has been working on Open Nixie for a few years. The goal is to create a Nixie based clock display which can be driven over the SPI bus. So far, [Johnny] has 6 Russian IN-12 tubes glowing with the help of the ubiquitous K155ID1 BCD to decimal converter. The colons of the clock are created with two INS-1 neon indicators. [Johnny] spends a lot of time analyzing the characteristics of a Nixie tube – including the strike voltage, and steady state current. If you’re interested in building a Nixie circuit yourself, his research is well worth a read!

Not satisfied? Want more Nixie goodness? Check out our Nixie tube project list!

That’s about all the time we have for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

DIY Thermal Insert Press

You might not know what a threaded insert is, but chances are you’ve seen one before. Threaded inserts are small metal (typically brass) inserts that are pressed into plastic to give a strong point of attachment for bolts and screws. These inserts are a huge step up from screwing or bolting directly into tapped plastic holes since the brass threads are very strong compared to the plastic. The only major downside to these inserts is that the press to install them is incredibly expensive. Thankfully, [Alex Rich] came up with a cheap solution: a modified soldering iron mounted to an Arbor press.

Commercial threaded insert presses typically use ultrasonic welding or heat welding to fuse inserts with plastic. [Alex] chose the simple route and went with heat welding, which (as you might imagine) is way simpler than ultrasonic welding. To provide the heat, [Alex] mounted a 100W Weller soldering iron to the press, which he says handles the impact with no problem. Unfortunately the copper tips of the Weller just wouldn’t hold up to the impact, so [Alex] made his own tips out of some brass he turned on a lathe.

If, like most people, you don’t have the capability of making injection-molded cases, let alone an Arbor press on hand, you’re not out of luck! Using this same technique people have successfully added thermal inserts to 3d-printed parts using a soldering iron and much smaller DIY presses. Have any ideas on how you could use thermal inserts in your 3d prints? Let us know in the comments.