PIC 18F4550 Dev Board

[Natsfr] was looking for a single-sided PCB to host a PIC 18F4550. Not finding one he designed his own in Kicad and is sharing (translated) the spoils of his labor.

This chip has USB capabilities which is why we see it used in a ton of projects. Almost all of them (including this USB input device post) use a very large DIP package. [Natsfr] went a different route, designing for the TQFP package to keep the drilling ot a minimum. The layout includes a crystal and USB-mini port, but it also breaks out the I/O pins on the chip. The red box above shows the quick fix he used on the VCC line as the board trace was shorting on the USB jack housing.

He didn’t drill out the holes for most of the breakout pins on this prototype. There’s just one header populated for programming the PIC chip. But he does have some plans for the first board. He’s going to use [Texan’s] AVR programming firmware for PIC to turn it into a USB AVR ISP programmer.

Automatic Speaker Control Via TV

[Jon] wanted his speakers to come on and off along with his TV. The speaker heats up if left on so he didn’t want to do that. But killing the power also resets the volume level (this is an old set of PC speakers and the remote is wired, not IR) so using one of those switched power strips was out as well. He thought a bit about trying to use the power LED on the TV to build his own circuit when it dawned on him. It’s possible to monitor the USB port on the TV and use it to switch on the speakers.

The circuit above uses a couple of opto-isolators to protect both the television and the speakers. The 5V line from the USB port on the back of the TV is monitored by an XNOR gate (which helps to filter out some of the toggling at power-on). When that gate latches it activates a 555 timer which in turn fires up the speakers. Presumable this happens when power is cut as well, but we’ll let you work through the circuit logic yourself.

Work Station Includes A Smartcard Lock For USB Ports

The USB ports on this work station are locked. In order to use a USB device you’ll need to insert a Smartcard into the reader seen above. The interesting thing here is that this shouldn’t affect your ability to charge a USB device. When you visit the link above make sure to check out the worklog tab as it contains nine pages worth of build information.

The device is conceived of in two parts. There is one board which does the USB switching, and another that takes care of the Smartcard reader. That reader is based on a PIC 16F1939. It readers the Smartcard, verifies the data, then controls the USB switching board via SPI. An ADG714 chip completes the circuit on eight data lines making up the four USB ports. There is also a mechanical relay on the board which can cut USB power. Since this is separate from the data switching, the power could be left on for charging or toggled separately by a card that has permission to charge but not to use the data ports. You can see a demonstration of the system embedded after the break.

Continue reading “Work Station Includes A Smartcard Lock For USB Ports”

Reclaiming The Numpad For Laptop Users Everywhere

We have to agree with NYCResistor, the exclusion of numeric pads from laptops is a real loss for productivity. Ever try to working with a huge spreadsheet ledger without a 10-key? Sure, there are usually function key alternatives hiding somewhere on those reduced keyboards. But that’s hardly the same thing. We think it’s time to take back the numpad. This project shows you how easy it is by using some old time lab equipment to replace the missing keys.

They’re using a Teensy microcontroller board to translate the key matrix into USB inputs. Most of the work is already done for you because of the USB HID Keyboard library available for the development board. Scanning your own key matrix, or decoding the buttons from some rad hardware like this Walters 600E is up to you. A demo of the rig in action can be found after the jump.

Is there anyone else who wishes the 10-key had an ‘X’ on it for coding hex values? Perhaps that will be a future project for us.

Continue reading “Reclaiming The Numpad For Laptop Users Everywhere”

USB Dongle For Unmodified NES Controllers

This USB dongle will let you use your unmodified NES controllers on a computer. That’s because it includes the same socket you’d find on the classic console.

The image above shows the prototype. Instead of etching the copper clad board, each trace was milled by hand (presumably with a rotary tool). To the left the black square is made of several layers of electrical tape that builds the substrate up enough to fit snugly in a USB port.

An ATtiny45 running the V-USB stack has no problem reading the controller data and formatting it for use as a USB device. This is actually the second iteration of the project. The first attempt used an ATtiny44 and a free-formed circuit housed inside the controller. It worked quite well, but required alterations to the circuit board, and you needed to replace the stock connector with a USB plug. This dongle allows the controller to go unaltered so it can be used with an NES console again in the future.

BlinkM Gets Upgraded To A USB Mass-market Device

[TodBot] has a new piece of hardware on the way up. His Blink(1) is currently about 50% funded on Kickstarter. It’s a USB nub that has an RGB LED inside of it. When plugged into a computer it can be used as a status indicator. At first that sounds like a let down, but his marketing is fantastic as the myriad of uses really caught our attention. If you’re on the road you can use it to report back your server statistic. Plug one into each rack-mounted servers for quick visual indication of which one has crashed. Or find your own use.

You probably remember [TodBot] as the creator of the BlinkM. Recently he was calling it the world’s smallest Arduino. Well this Blink(1) is being marketed as Arduino programmable as well. The board size is about the same, and both have an RGB LED module. The difference is that the BlinkM had an ATtiny85 and needed a serial converter to program it. This has a USB plug so we’d bet he’s swapped the tiny for an ATmega8u2 or something from the same family.

Don’t think one blinky LED is going to cut it? For folks that just need more resolution there are other hardware options out there. For instance, this project gives you a wireless 8×8 RGB led display to use as an indicator.

Facedancer Board Lets Your Python Programs Pretend To Be USB Hardware

This is the prototype board for [Travis Goodspeed’s] new USB development tool called the Facedancer. He took on the design with USB security exploits in mind, but we think it’s got a lot of potential for plain old development as well.

Kudos on the [Frank Herbert] reference when naming the project. Like the characters from the Dune mythology that can perfectly mimic any person they touch, this device let’s you mimic whatever you can imagine. One the USB ports connects to the victim (or host) the other connects to a development machine. Python can then be used to send USB commands in real time. Think of this as doing the same thing the Bus Pirate does for SPI and i2c, except that it’s doing it on the USB protocol itself. This way you can feel your way through all of the road-bumps of developing a new device (or testing an exploit) without the need to continually compile and flash your hardware.