[Blark] picked up a couple of Commodore 64 machines on Craig’s List so that he could play around with the SID chips inside. But there’s some other fun stuff in there and his attention was drawn to the PROM which stores the kernel. He thought it would be a fun adventure to build a ROM dumper capable of storing binary images.
In the video after the break you can see that when powered up the dumper immediately starts streaming hex values to the terminal. The system is set up to feed a Python script which packs the data stream into an image file. The reading is done by a PIC 18F4520, streaming the data in at 9600 baud with a generous delay between each address read to get the cleanest read possible. He had a bit of help from the AVR Freaks to get to this point.
We’d guess he’s going to pull the image off the chip several times and compare results to filter out any possible data corruption. From there we’re not sure what he’ll do with the files but there’s always the possibility of making is own emulator using this kernel image.
Continue reading “Dumping a C64 kernel”
Ultrasonic rangfinders are a cheap and easy way to gather obstacle avoidance data. When added to a servo motor they form something of a scanning radar for near-proximity objects.
In this implementation, [Rui Cabral] is driving the servo, and collecting data from the sensor using a PIC 18F4520. The servo rotates 180 degreees, taking sensor measurements in increments of nine degrees. If it discovers obstacles, the distance and orientation are recorded. Feedback is displayed on a 20-LED bar graph display which shows a moving LED to track the sensor orientation, with LEDs remaining lit whenever an object is found. Right now the obstacle data is pushed over a serial connection with a PC, but could easily be injected into navigation logic for a robot in order to triangulate a path around the obstruction. You can see [Rui's] project in action after the break.
We looked in on the same concept with a different display technique a couple of years back. That hack used an Arduino and Processing to map sensor data with a traditional green sweep display.
Continue reading “Ultrasonic rangefinder as scanning radar”
Couch potatoes have a new line of defense thanks to this remote-controlled turret. The gun itself is a hacked down airsoft model. The mount started with a servo motor in the center of a plastic cake box. A thin strip of plywood was added, along with a couple of sliding furniture feet to stabilize the platform as it rotates. A second servo mounts to that platform, which allows the trajectory of the projectile to be adjusted up or down. A PIC 18F4520 controls both of the motors, as well as the firing of the airsoft module, all while listening for commands from an IR receiver. Just adjust the firmware to match an unused device on your universal remote and the power to annoy your roommates will be at the tips of your fingers.
You can see an overview of the build process, as well as a demonstration of the final project in the video after the break. The page linked at the top has a very detailed build log but some of the ‘next’ buttons on that page don’t work for us. Luckily you’ll see a table of contents in the right column which lets you navigate around these bad links.
Continue reading “Gun turret built into a cake box”
This programmable power supply is the perfect addition to your bench tools. [Debraj Deb], who previously built a whole house power monitor, designed this build around a PIC 18F4520 microcontroller. The desired voltage is set with an attached keypad, resulting in a digital output on the 8-bits of port D. The port connects to another protoboard with an R-2R digital-to-analog converter resulting in the target voltage. A set of transistors amplifies the current and a power transistor then takes care of the final output. After the break you’ll find two videos, the first walks us through the hardware and the second demonstrates the device in action, along with measurements of its performance. This certainly provides a lot more functionality than an ATX power-supply conversion.
Update: A big thanks to [Debraj] who sent us a code package as well as the schematic (PDF) used during testing. We’re having trouble getting the code package up for download right now. Check back later, hopefully we’ll have it up soon.
Continue reading “PIC programmable power supply”
[Debraj Deb] put together a current monitoring device that interfaces with the circuit box at his house. The system is controlled by a PIC 18F4520 and uses an LM358 Op-Amp to rectify the AC signal, as well as an MCP6S21 for range adjustments for detecting both high or low current loads. The data displayed on a character LCD includes average, RMS, and peak current. For now the data is saved to an EEPROM and can be dumped using a serial connection but [Debraj] plans to add a GSM modem so he can send energy use data to his cell phone.