How To
Updated over 1 year ago
Hack a Day
Fresh hacks every day

3rd place doesn't really shoot lasers that make stuff blow up.

You have until December 1st to get your entry into the Trossen DIY robotics contest. Unlike the last Trossen contest we told you about, this one has no clear theme. The goal is simply to make an awesome robot. Registration is free, and entries will be judged on Ingenuity, Originality, and presentation/documentation. There are prizes for 1st, 2nd, and 3rd places, with the 1st place prize being the Interbotix Hexapod. If you haven’t seen it yet, it is a kit of a hexapod that is pretty quick on its feet. You can catch a video of it after the break.

[via botjunkie]


Hack a Day

[Sk3tch] rigged up a way to use an original NES controller with Android. He bought the controller and a breakout board for it at DEFCON. By combining the controller, an Arduino, and a blueSMIRF BlueTooth module the controller can be used as a keyboard on his Android device. In the video after the break he demonstrates pairing the devices and playing Super Mario Bros. 3 in an emulator.

He calls this Alpha quality but it certainly looks like it works well. In the beta version we’d love to see all of the extra electronics inside the controller case like those USB mods.

Hack a Day

Here’s an analog meter clock using an MSP430G2211 microcontroller. [Doug Paradis] chose this processor because it is the lesser of the two that come with the TI Launchpad. The parts count is fairly low too; a clock crystal, two analog meters, a few buttons, and a voltage regulator.

He’s done a nice job putting this together. We challenge you to give this a try yourself and build on [Doug's] features. We really liked the calibration subroutine in [Alan's] multi meter clock. It would be fun to implement that functionality and store the calibration code in the MSP’s flash memory. You can use our ported garage door opener code if you need an example of how to store data in flash.

Hack a Day

A new project called the Unofficial Behringer Control Development Kit lets you tweak or completely replace the firmware on the popular devices. The proof of concept demo shows a custom message scrolling on the 4-character 7-segment display but you can do with the device is only limited by how well you can code for the ARM processor inside. Development takes place using the GNU ARM toolchain but don’t worry, you don’t have to crack the case open to program the chip. The BCR2000 and BCF2000 models supported by the project both run bootloaders that allow firmware updates via midi commands. There’s even a recovery mode if you screw something up. Just make sure you have a direct midi connection for recovery, the USB port won’t work for that purpose. If you need a shove to get you started there’s a nice little example file in the repository.

[Thanks Bjonnh]

Hack a Day
Go-arrow
Over 1 Year Ago

Whenever someone manages to expose vulnerabilities in everyday devices, we love to root for them. [Adrian] over at Irongeek has been inspired to exploit barcodes as a means to attack a POS database. Based on an idea from a Pauldotcom episode, he set out to make a rapid attack device, using an LED to spoof the signals that would be received by scanning a barcode. By exposing the POS to a set of generic database attacks, including XSS, SQL Injection, and other errors easily solved by input sanitation, he has created the first version of an automated system penetration device. In this case the hardware is simple, but the concept is impressive.

With the hardware explained and the source code provided, as well as a basic un-sanitized input cheat sheet, the would-be barcode hackers have a great place to start if they feel compelled to provide a revision two.

[Thanks Robert W.]

Hack a Day
Go-arrow
Over 1 Year Ago

The keyboard on [Marek's] laptop stopped working. He didn’t want to buy a replacement so he decided to start using an external keyboard. But hauling around a full 104-key model is a bit of a pain so he decided to make himself a shorter keyboard. He basically chopped off the 10-key pad on the right side of the board. This had the unexpected consequence of removing the screws that hold the top and bottom of the case together so he ended up adding a few extra screws to shore it up. You may be wondering how the key matrix still works if a portion of it has been cut off. [Marek] used the simple trick of folding the extra part of the membrane over and covering the unused contacts with some tape.

If you try this you should consider getting rid of the directional arrows and editing keys as well. There must be a way to map those keys elsewhere. Perhaps the half-qwerty keyboard hack will give you some inspiration for that.

Hack a Day

If you’re too frail to take the full impact of a paintball round let this tank serve as your surrogate. The camera perched on top of the platform feeds video back to the operator’s head-mounted display. Instead of using a joystick or other traditional controller, the user aims by looking around, with his or her head movements mimicked by the camera and barrel of the tank. It looks cooler than it sounds so jump with us after the break to see for yourself. If you’re playing against this thing, we’d recommend aiming for the camera lens.

Hack a Day

Here’s a great magnetic levitator build. [Scott Harden] dug up the link after seeing that awesome rotating globe this morning. This version hangs objects below an electromagnet but it has a sensor system to provide a constant distance between magnet and object even if the payloads are a different weight. This is done with a couple of infrared sensors. One acts as a reference detector, always viewing an IR LED in order to get a baseline measurement. That measurement is compared to a second detector mounted slightly lower. The circuit adjusts the electromagnetic field, making sure the object is always breaking the lower beam but never interrupting the reference beam. No microcontroller needed, this is handled with a couple of OpAmps. See it in action after the break.

Hack a Day

they need to hire this guy

[Alexy Sha] has done this fantastic hack, where he modified a magnetic floating globe to be motorized and spin on a tilted axis. The original globe was simply levitating via a magnet mounted inside. Though you could spin it by hand, it wasn’t motorized, and actually floated completely vertically instead of being tilted.

[Alexy] wanted to take this idea further and make it automatically spin on a rotated axes. He built a rotation assembly that was basically a motor, hung off-center, attached at the center of the globe. He had to power it via a coil hidden in the base unit, so that it could remain light enough to float. He did a fantastic job and the final product seems like it is the true way it should have been sold.

Check out a video of it in action after the break. We actually like the spinning ring, when he’s testing it, just as much as the final spinning globe.

http://www.youtube.com/watch?v=uW7Rd6Nn2-Y

Hack a Day
Go-arrow
Over 1 Year Ago

[imsolidstate] built his own pressure sensitive mat. It utilizes two discs of copper clad board with a piece of foam in between for each of 64 sensors. As the foam gets compressed, the capacitance between the two pieces of copper changes, a measurement that is fairly easy to make with an analog to digital converter. The mat is being used to measure how well a horse saddle fits the animal. Data is read in through a serial port and then mapped using Excel. This prototype proves that the concept works but [imsolidstate] mentions that there’s room to improve the sensitivity and that there could be more noise filtering incorporated into the design.
Hack a Day

[Manuel] built his own thermal printer based around an Arduino. We’re a bit confused about the parts, his webpage specifies an EFA-1019HW2 print head but the bill of materials on his github shows EPT-1019W2. We can’t find a source for either product number, but we did find similar thermal line printers for as low as $32.00. The controller boards on the other hand look to be around $150 so building your own is a definite win. [Manuel's] version can print 96 points and has a font set that prints 32 characters per line. Check out the video after the break and let us know if the noise of the print head is a deal killer for you.

Hack a Day
Go-arrow
Over 1 Year Ago

clickety-clackity-clickety-clackety-DING

[Jackzylkin] has posted an instructible showing, in detail, the process of creating a USB typewriter. He takes us through the process of disassembling the typewriter, mounting all the sensors where the little hammers strike, and wiring it all up to a custom board to interface with the computer via USB. While he is selling the board, the schematics are available if you want to build your own. We think the clickety-clack of a real typewriter could be very satisfying to the touch, though it might drive your co workers insane. The younger ones might also quiz you as to what that archaic machine is. We’ve actually seen this done before, way back in 2005.

Hack a Day

[FlorinC] sent in his DWex Arduino watch, with intentions for it double as an experimenting base. Inspired by the MakerBotWatch, it runs an ATmega328P, DS1337 RTC,and 24 LEDs to display the time. [FlorinC] tells us the (yet to come) case and strap will be similar to Woz’s watch to ensure airport security tackles him. As for experimenting, the PCB contains an ICSP6 and also an FTDI connector for those “other-than-watch purposes”. We’re not all sure what else could be done with a watch; we racked our brains and came up with a compass, but with the source code and Eagle files available maybe you have a better idea?

Hack a Day

[Theo Kamecke] is an artist who produces striking pieces using printed circuit boards. We’ve seen PCBs used as faux stained-glass before, but [Theo's] craftsmanship stands apart from everything we’ve seen. His webpage has at least one piece that sites the usage of vintage 1960′s circuit boards, but we wonder if he doesn’t design some of these to suit his work. Either way, we’d love to see him take on the finish work for that mechanized expanding round table we saw back in June. See more of his work on his photostream.

[Photo Credit]

[Thanks Mocius]


Hack a Day
We look at a lot of projects that have microcontrollers in them. That’s because microcontrollers do cool stuff, but there are still plenty of tricks you can pull off with analog circuits. [Osgeld's] latest project explores this realm, controlling the discharge of capacitors through an LED. His setup uses just nine components and, if you’ve been collecting broken electronics from your friends and neighbors like a good hacker, you can scavenge all of these parts. Try it, you’ll like it!

Hack a Day

Evil Mad Scientist posted a story about what went into developing the Bulbdial clock. We think the Bulbdial is one of the best pieces of kit out there for many reasons; using colored shadows for each hand is a brilliant idea, the design is clever and uses a low parts count, and the concentric rings that make it work also add to the aesthetic. But after seeing the original wood prototype it had crossed our minds that developing those circular PCBs isn’t the easiest thing to pull off. To save on board cost, the first run didn’t have the center routed out, but rather used almost-touching holes drilled during manufacture and finished by hand during assembly. They also go on to discuss the use of Charlieplexing to reduce part count and the search for a suitable diffuser for the clock face.

Hack a Day
Go-arrow
Over 1 Year Ago

[Whoopjohn] decided to build a driver board for a display he pull from a pinball machine. You’ve probably seen these used to scroll both score and messages using a total of sixteen 15-segment digits. We’d love to get our hands on one, and you might too but where? [Whoopjohn] notes that these were usually installed two-per machine and the driver boards were run close to their maximum ratings. That means that somewhere there’s a collection of broken machines with working displays. If you do plan to make this happen, you should be able to figure out the circuit based on this commented board layout (pdf).


Hack a Day

Like the Grand Theft Auto RC missions come to life, this helicopter can grasp objects for transport. They don’t have to be a special size or shape, and it can lift them even if they are not centered. This is thanks to a load-balancing hand (originally developed as a prosthesis) that relies on flexible joints and a tendon-like closing mechanism. As you can see in the video, the light-weight chopper has an on-board camera so that the operator can see what is being picked up. This little guy has no problem lifting objects that are over one kilogram while remaining stable in the air.

[Thanks Paul]

Hack a Day

Life-sized Star Wars replica props, it’s one way to keep the ladies away. But if you’re going to make them, you should do it right. [Bradley W. Lewis] spent some serious time getting this [Obi-Wan Kenobi] lightsaber right. The seven-page build log provides plenty of eye-candy. We especially enjoyed the machine and coloring of he grenade-fin portion. The LED ladder that lights the blade is also quite interesting. For the icing on the cake he incorporated a high-performance speaker connected to the sound board from a Hasbro Force FX which provides that classic swashbuckling sound from a galaxy far, far away.

Hack a Day

Who knows if this works and should you really want to try to induce hallucinations by flashing colors in front of your eyes? But we do love the zaniness of the project. [Everett's] homemade hallucination goggles come in two flavors, the small swimming-goggle-type model and the heavy-duty trip visor made from welder’s goggles. Each brings together the same components; a half ping-pong ball for each eye to diffuse the light from an RGB LED. The system is controlled by an Arduino with some buttons and 7-segment displays for a user interface. Put this together with some homemade EL wire and you’re ready for Burning Man.
[Thanks Evan]
Hack a Day

Who knows if this works and should you really want to try to induce hallucinations by flashing colors in front of your eyes? But we do love the zaniness of the project. [Everett's] homemade hallucination goggles come in two flavors, the small swimming-goggle-type model and the heavy-duty trip visor made from welder’s goggles. Each brings together the same components; a half ping-pong ball for each eye to diffuse the light from an RGB LED. The system is controlled by an Arduino with some buttons and 7-segment displays for a user interface. Put this together with some homemade EL wire and you’re ready for Burning Man.
[Thanks Evan]
Hack a Day

We covet a laser cutter and this diy model with a 1 Watt IR diode may be well within our price range. Most commercially available laser cutters, and some homemade ones, work in the 20-100 Watt ranges, using a CO2 laser. They have more than enough power to cut right through a lot of materials so how can a 1W diode compare? It seems that the weaker laser is still quite powerful right at its focal length, so moving that point along the Z axis will let you burn away a larger depth of material. The test rig seen above uses optical drive components for the three axes and managed to cut a rectangular piece out of the black plastic from a CD case.

This isn’t [Peter's] first try with CNC lasers. He’s the one that’s be working on an open source selective laser sintering platform.

[Thanks Osgeld and Vesanies]

Hack a Day

[PT] let us know about a fantastic guide to taking better photographs of your projects. It’s a hefty read but well worth the effort. Author [Johngineer] helps us understand how to use simple (and possibly inexpensive) tools like lights, mirrors, and a background material. He also gives some tips on how to recognize what your image processing software is telling your about your photography skills (get the correct camera setup and you won’t need correct your levels in The GIMP). There’s even some tips on photographing LEDs, a topic we’ve seen before, which you’re bound to find useful when trying to make that blinky thing you built into an Internet sensation.

Hack a Day
Go-arrow
Over 1 Year Ago

[Muth] added an auxiliary display to his motorcycle instrument panel. He started out prototyping with a PIC 16F877A which he used to access information through the ECM diagnostic connection. Once he had that working he found this tiny display which fits perfectly between the speedometer and tachometer. There’s a short demo after the break where you can see a past-30-minute history of the Adaptive Fuel Value and the engine temperature as well as a secondary information screen.

This is another nice addition to our collection of vehicle displays, scooter controllers, gear indicators, and motorcycle computers.

Hack a Day

[Valkyrie-MT] was frustrated by the inability to control TrueHD audio volume from his computer. That’s because digital audio passes through the cable to the receiver where the volume adjustments are done. This meant that his RF computer remote was no good because the receiver uses an IR remote. He set out to find a way to get around this and ended up working with the Consumer Electronics Control (CEC) protocol.

The CEC protocol is a 1-wire serial bus built into the HDMI standard. The solution he settled up required one solder connection on the motherboard as well as the internal USB translator module seen above. That translator box, called the RainShadow, is a PIC 18F87J50 controlled board that translates incoming commands from the USB connection and sends them out as CEC hex codes. A bit of code writing and [Valkyrie-MT] is in business. You can see in the video after the break that it’s not just controlling audio, he can now control the entire entertainment center including turning on the TV and setting it to the appropriate input.

Hack a Day
Go-arrow
Over 1 Year Ago

This 64×48 full color LED display goes much further than we expected at first glance. The display is actually a computer with a Zilog eZ80F91 core utilizing an FPGA for the hardware interface. Some nifty applications currently built include mostly games, but there is also visualizations, network file systems, video streaming, and even a MIDI synth.

It originally looked to be more of a console, with controllers, game pads, and cartridges, but the latter ended up not working out. What else would you do with a giant LED display?

Hack a Day

So, you want to do some programming but don’t have the budget of a major corporation? This is just the thing for you because all of these development environments are free of charge! Many Integrated Development Environments are marketed towards companies who have money to pay for such expensive environments. Here are the Top 5 Integrated Development Environments that are most widely used and recognized. Some will be used when programming past and future tutorials. The following are listed in no particular order and all make an excellent development environment.

Visual Studio Express

Visual Studio has an advantage when it comes to programming. This IDE is mostly used by corporate programmers to produce .NET code. Sometimes people want to try the product without investing thousands of dollars first, so Microsoft has the Express editions for all of their products. This makes it perfect for casual users that want to hack out some code as a hobby or programmers who need a free solution to code in C#. Be warned though, if the application developed by someone using the express versions of Visual Studio takes off and starts making money it would not be surprising to see big brother step in and start asking questions.

  • Advantages
    • Intellisense
      • For those who don’t know what Intellisense is, here is a brief overview. Intellisense is Microsoft’s way to make programming in .NET as painless as possible. When you start programming in Visual Studios IDE you will notice a suggestion box will appear when you start typing anything within the IDE, this is to notify the user what methods and functions are available (R.I.P. Clippy). When clicking on one of the methods in the suggestion box the environment will tell you exactly what the method will do and how many and what parameters are needed. The ability to make decisions on what functions and methods to use based on intellisense is a powerful feature that many would find useful, if not life changing.

    • Automatic code formatting
      • With a product like Visual Studio you get what you pay for. When you start coding a method and go to enter the “{“ brackets, the code inside those brackets will actually indent to the right. A very handy feature for a code monkey who is just looking to get the program done. As well, there are options to enhance the colors to see variables as a different color than a method header which is very useful when going through hundreds of lines of code to find a bug. Both these things may be minute details but in the end are designed to save the developer time and money.
    • Extensibility
      • Something that you don’t like about Visual Studio? Code a new tool for it or use one of the many available to the developers using Visual Studio Gallery. This site is a wealth of fixes for things that developers didn’t like with Visual Studio and decided to fix.
    • Compiles Code
  • Cons
    • CPU Hog
      • When running Visual Studio it is a must that you have plenty of RAM to spare. This is a beast when it comes to developing apps and for good reason. If you take the plunge and sacrifice RAM to run this IDE you are equipped with one of the most comprehensive GUI’s (once you learn to navigate it) for developing in the .NET framework.
    • Overwhelming GUI
      • If you have never used Visual Studio before, then you are in for a surprise. When first starting it up, the layout of buttons and panes can be a little/very confusing at first. This will take time to adjust, so the downfall is there is a steep learning curve with the layout.
    • Cost
      • With the 2008 Professional edition of Visual Studio costing a thousand dollars (without MSDN subscription) and upwards if you are looking for additional features and subscriptions. This can be a real turn off for the hobbyists but that’s where the express versions will become redeeming.

Eclipse


This is the best alternative if you are not a big fan of Microsoft’s Visual Studio. The interface is a lot cleaner and concise than Visual Studio and the languages that are possible to use extend past the .Net Framework. Besides being the number on way to develop Android applications via the Android SDK, it is fully extensible to use languages such as Ruby, C, C++ and many many more.

  • Advantages
    • Language Extensibility
      • The languages mentioned above are not limited by Microsoft and anyone is free to develop plug-ins for different languages and to make the development environment easier to use. Also, the ability to use this on Linux is a great sway for many people who don’t like to be bound by Microsoft’s operating systems and like full control of their OS.
    • Free
      • Besides being fully customizable and extensible, the next best thing about eclipse is it’s free. This is good news for hobbyists and casual programmers wanting to just hack out some code in their free time.
    • Compiles Code
  • Cons
    • Steep Learning Curve
      • With so much available to upgrade and add on, the learning curve of eclipse will be quite steep. The best way to get past this is to just try coding something. Making mistakes when coding could never be so beneficial. Once you start learning from your mistakes you will learn the fastest way to accomplish what you are trying to do.

Netbeans


The is the number one alternative to Eclipse. This program is extensible and free, and it compiles code which is a bonus. When installing Netbeans it comes with a Java server called GlassFish that you could deploy on your computer for your testing environment. This server is the second biggest server for Java next to WebSphere (which is a whole different ball game).

  • Advantages
    • Extensible
      • Again, extensibility is a must have for the development environments out there to survive. Instead of having multiple programs for multiple different languages combining them into one program gains recognition from developers and the software programs that combine it all but the kitchen sink are utilized more often because of the simplicity and ease of access to the languages developers want.
    • Compiles Code
    • Free
  • Cons
    • Bloated
      • While using this program you may notice that your computer slows down, throws errors in your program that you didn’t know existed etc. This is a tough software program to master and when coding you have to be careful to dot the I’s and cross your T’s. This may not be the case for you and Netbeans might be all sunshine and rainbows but it is always best to be safe, rather than sorry later on when you have hundreds of projects.

kate


Kate is exactly how the website describes it, a text editor. Not to be looked down upon as it does a lot more than a regular text edit can do and that is what makes this an indispensable product.

  • Advantages
    • Uses Linux
    • Code Folding
      • This is probably one of the best features for kate. [Mike Szczys] explains that there is a small column to the left of the code. Any line that is an opening bracket that column will have an arrow next to it. If you click the arrow it will fold all of the code between the opening and closing brackets. Very useful for large source packages.
  • Cons
    • KDE Overhead
      • 250 Mb of overhead just to use the application. This is not just one package but several packages that are required to be on the system just to start the application. This may not be the best choice if you are using a net-book for development purposes on the go but if you have a Linux box at home this would do just fine.
    • Doesn’t Compile Code

gedit


gedit is the official editor of the gnome desktop and comes installed once the system is setup. Very useful for the user that is casually editing code and not undertaking major projects. This would be a good companion to Netbeans or Eclipse.

  • Advantages
    • Uses Linux
    • Already Installed on gnome systems
      • This is a major bonus for Linux users. If the application is already installed on the system would you be more likely to use it? Either way, if you don’t have to hunt down a program from the software manager then it must be
    • Code Highlighting
      • kate offers the ability to highlight your code and figure out where the bugs are by giving you a fresh perspective. This can also be used for web development, to help developers see where the start of nodes are and where to submit the end nodes, doing this could cut down drastically on XHTML issues. While it may not do almost everything like Netbeans or eclipse, it is a handy tool to have on the computer.
    • Tabbed
      • This feature allows multiple source packages open at once to jump back and forth between if need be. This is a highly useful when comparing documents and debugging code.
  • Cons
    • Doesn’t Compile Code

All of the development environments are amazing choices. It all depends on what you want to do when programming and the tools you would like to have available. Microsoft Visual Studio express editions came in first because of the extensibility and comprehensiveness of the product. This provides eclipse, netbeans and other development software a goal to reach for when marketing to the masses. Remember, it’s not the size of the install it’s how you use it. Until next time, Happy Hacking!

Hack a Day

[Scott Harden's] prime number generator exhibits a great way to use an LED matrix to present readable information. The project resides in a hinged wooden box with a grid of holes on the lid for the LEDs. [Scott] has overlaid the matrix with a printout showing powers of two that represent different prime numbers. Inside you’ll find an ATtiny2313 microcontroller that handles the column scanning and prime number testing. We’ve embedded a video the break where [Scott] explains the project in great detail, but you should also check out his prototyping and construction pages.

Hack a Day

[Roberto Barrios] picked up a surgical microscope to add to those other fun lab toys you seen in the background. These work very well when soldering small components because they don’t have to be as close to the viewed objects as traditional microscopes. But [Robert] didn’t care for the heat generated by the incandescent bulb so he build his own LED replacement. If you recognize his name it’s because we saw a beautifully crafted in-visor GPS system that he built back in April. This project exhibits the same level of craftsmanship in which he utilized the base of a spare bulb to add an LED, heat sink, and driver board that is adjustable on all three axes.

He also mentioned that he overhauled his site design and it now plays nicely with all browsers.

Hack a Day
Go-arrow
Over 1 Year Ago

Sometimes, expensive calculators hit the floor. It’s happened to almost anyone with a graphing calculator from TI or HP. Sadly, they don’t always bounce. After this happened to [Howard C.], an Industrial Engineering student from U. of Iowa, he decided to spend $50 on milling his own replacement case out of aluminum rather than trashing the device over a broken battery compartment. [Howard] chose to send us the story rather than write his own blog, so we’ve included all the great pictures he sent us after the break.


Hack a Day
Displaying articles 1 - 30 of 324 in total