Vulcan 74: A Masterpiece Of Retro Engineering

[Radical Brad] has played around with FPGAs, video signals, and already has a few astonishing projects of bitbanged VGA on his resume. Now he’s gone insane. He’s documenting a build over on the 6502.org forums of a computer with Amiga-quality graphics built out of nothing but a 65C02, a few SRAM chips, and a whole pile of logic chips.

The design goals for this project are to build a video game system with circa 1980 parts and graphics a decade ahead of its time. The video output is VGA, with 400×300 resolution, in glorious eight-bit color. The only chips in this project more complex than a shift register are a single 65c02 and a few (modern) 15ns SRAMs. it’s not a build that would have been possible in the early 80s, but the only thing preventing that would be the slow RAM chips of the era.

So far, [Radical] has built a GPU entirely out of 74-series logic that reads a portion of RAM and translates that to XY positions, colors, pixels, and VGA signals. There’s support for alpha channels and multiple sprites. The plan is to add sound hardware with support for four independent digital channels and 1 Megabyte of sample memory. It’s an amazingly ambitious project, and becomes even more impressive when you realize he’s doing all of this on solderless breadboards.

[Brad] will keep updating the thread on 6502.org until he’s done or dies trying. So far, it’s looking promising. He already has a bunch of Boing balls bouncing around a display. You can check out a video of that below.

Continue reading “Vulcan 74: A Masterpiece Of Retro Engineering”

Chaos Communication Camp 2015 Teaser

It happens every four years in Germany. The days are at their longest and the summer heat’s penetrating. It’s time to break out the tent and go camping. But who wants to go camping in the wilderness, where there’s no Gigabit Ethernet and nobody to hack on projects with? Much better to attend the Chaos Communications Camp 2015 with 5,000 other nerds. And Hackaday will be there!

If you’ve never been to a Chaos Camp, it’s an amazing experience. It’s like a DIY version of DEF CON, except that it takes place in tents in the countryside outside Berlin instead of gambling-themed hotels in the dry, dusty desert. There’s a lot more emphasis on actually doing stuff while at camp. (It’s meant to be a vacation, after all.) Indeed, presentations are shut down in the middle of the day for three and a half hours to give people time to hack and interact.

Cccamp15-poster-preview_title

 

Have a look at the list of projects, events, sessions, villages, or talks to get a feeling of scale, and bear in mind that a lot of the most interesting activities are often unofficial: people getting together to work on stuff. There’s plenty of inspiration and room for cooperation to go around.

Like many cons these days, the badge itself will doubtless serve as at least one such source of inspiration, and the 2015 Camp’s badge is awesome. It’s essentially a HackRF One with an LPC4300 ARM Cortex M4 micro, large flash memory, USB, battery, audio, and an LCD screen on-board. Add an antenna and you’ve got an insanely versatile standalone radio hacking platform. We’re digging through the docs in anticipation. So expect some to see a bunch of SDR and RF hacks in the next few months as 5,000 hackers get these in their hands.

If you can’t make it (tickets have been sold out for a while now), you can check out the live streams. Not only will the talks be shown as they happen, but in keeping with the democratic ethos of the CCC, anyone who can set up an icecast server can set up their own stream.

And of course, we’ll be there reporting on as much as we can. If anything strikes your fancy and you’d like us to check it out for you, post up in the comments here. We can’t promise the impossible, but we’ll try. And if you’re going to camp as well, keep an eye out for Elliot and say Hi.

Getting Started With ARM Using Mbed

Even though the Arduino was hardly the first 8 bit microcontroller board to support a bootloader and the C/C++ language, it quickly became the de facto standard for hobby-level microcontrollers as well as a common choice for one-off or prototype projects. I’m sure there are a lot of reasons why this occurred, but in my mind there were three major reasons: price, availability of lots of library and sample code, and the existence of a simplified GUI IDE that you could install in a few minutes. The build process is simple, too, even though if you ever have to actually figure it out, it is quite ugly. For most people, it works, and that makes it not ugly.

I like the ATMega chips. In fact, I had boards based around the ATMega8 and a bootloader way before there was an Arduino. However, they are fairly small parts. It is true that the Arduino infrastructure has grown to support more ATMega chips, many with more memory and I/O and clock speeds. However, 32-bit processors are getting inexpensive enough that for all but the simplest or highest volume projects, you should be thinking about using 32-bit.

If you’ve tried to go that route before, you’ve probably been daunted by the price, especially the price of development tools. Your alternative is to roll your own tool chain which is very doable (and there are some nice scripts out there that will help you). You also need to worry about libraries and how to integrate them. Not to mention, many of the advanced processors require a lot of setup to get, say, an A/D converter turned on. Most processors keep things they aren’t using turned off, and each pin requires setup to select the 4 or 5 things shared on that pin.

All of this has been a barrier to entry. The vendors have all figured this out, though, and many have tried to build tools aimed at breaking up the Arduino market ranging from inexpensive development boards to code-generating wizards, to full blown IDEs. I want to tell you (and show you, in the video below) how you can make the jump from 8-bit to 32-bit much easier than you might think.

Continue reading “Getting Started With ARM Using Mbed”

Segway Build You Can Do Yourself

We’ve seen lots of Segway variants on Hackaday, but they don’t always have detailed instructions on how they made it… Well lucky for us, [Bob] from [Making Stuff] just finished his extensive Segway project with tons of videos of the build!

Inspired by other self-balancing scooter projects he had seen online, [Bob] wanted to try his hand at building one. So he took bits and pieces from designs he liked, and came up with his own solid looking Segway clone design. Using Google Sketchup he drew up the frame, and from there it was all hands on deck. A bit of TIG welding later and it was time for the components.

Some small slight mechanical hiccups aside, the longest part of the project was the electronics and software — getting it to work like a real Segway. After writing his own code he ran into a few roadblocks, but luckily he was able to get some help from someone at his local Maker meetup which saved a lot of troubleshooting on his end.

Continue reading “Segway Build You Can Do Yourself”

Simple, Cheap Nitrate Tester Is Open Source

Too much of a good thing can be a bad thing, and nitrate pollution due to agricultural fertilizer runoff is a major problem for both lakes and coastal waters. Assessing nitrate levels commercially is an expensive process that uses proprietary instruments and toxic reagents such as cadmium. But [Joshua Pearce] has recently developed an open-source photometer for nitrate field measurement that uses an enzyme from spinach and costs a mere $65USD to build.

The device itself is incredibly simple – a 3D printed enclosure houses an LED light source and a light sensor. The sample to be tested is mixed with a commercially available reagent kit based on the enzyme nitrate reductase, resulting in a characteristic color change proportional to the amount of nitrate present. The instrument reads the amount of light absorbed by the sample, and communicates the results to an Android device over a Bluetooth link.

Open-source instruments like this can really open up educational opportunities for STEM groups to get out into the real world and start making measurements that can make a difference. Not only can this enable citizen scientists and activists, but it also opens the door for getting farmers involved in controlling nitrate pollution at its source – knowing when a field has been fertilized enough can save a farmer unnecessary expense and reduce nitrate runoff.

There are a lot of other ways to put an open-source instrument like this to use in biohacking – photometery is a very common measuring modality in the life sciences, after all. We’ve seen similar instruments before, like a DIY spectrophotometer, or this 2015 Hackaday Prize entry medical tricorder with a built-in spectrophotometer. Still, for simplicity of build and potential impact, it’s hard to beat this instrument.

Hackaday Prize Entry: A Tiny Tool For Car Hacking

A car from 1940 would have been an almost completely mechanical device. These days though, a car without electricity wouldn’t run. It’s not the engine – it’s the computers; the design details of which automotive manufacturers would love to keep out of the hands of hardware hackers like us. [Mastro Gippo] wanted to build a small and powerful CAN bus reverse engineering tool, and the Crunchtrack hits it out of the park. It’s a CAN bus transceiver, GPS receiver, and GSM modem all wrapped up into a single tiny device that fits under your dash.

[Mastro] has a slight fetish for efficiency and tiny, tiny devices, so he’s packaging everything inside the shell of a standard ELM327 Bluetooth adapter. This is a device that can fit in the palm of your hand, but still taps a CAN bus (with the help of a computer), receives GPS, and sends that data out over cell phone towers.

The device is based on the STM32 F3 ARM microcontroller (with mbed support), a ublox 7 GPS module, and an SIM800 GSM module, but the story doesn’t stop with hardware. [Mastro] is also working on a website where reverse engineering data can be shared between car hackers. That makes this an excellent Hackaday Prize entry, and we can’t wait to see where it goes from here.

The 2015 Hackaday Prize is sponsored by:

Irrighino, An Arduino Yun Based Watering System

There are many different ways to keep your plants watered on a schedule. [Luca Dentella] just created a new one by building the irrighino watering system. He used standard off the shelf, hardware to keep it simple. Irrighino is a complete watering system based on the Arduino Yun, featuring a user friendly AJAX interface. This allows scheduling in a manner similar to creating appointments in Outlook. It’s also possible to manually control the various water solenoids. The code is fully customizable and open source, with code available from [Luca’s] github repository. The web interface is divided in to three tabs – “runtime” for manual control, “setup” to configure the scheduling, and “events” to view system logs.

The Arduino Yun activates solenoid valves via a relay shield. A switch panel has indicator Status LED’s and three position switches. These allow the outputs to be switched off or on manually, or controlled via the Yun when in auto mode. [Luca] describes how to read three states of the switch (On-Off-On) when connected to a single analog input of the Arduino. He’s also got another tutorial describing how to connect a USB WiFi adapter to the Yun. This is handy since the Yun is mounted inside an enclosure where the signal strength is very weak. While the Yun has on-board WiFi, there is no possibility to attach an external antenna directly to the test SMA socket.

One interesting part is the commercial rain sensor. It’s a switch surrounded by a spongy material. When this material absorbs rain water, it begins to expand and triggers the switch. The Arduino sees the sensor as a simple digital input.

Check a short demo of his system in the video after the break.

Continue reading “Irrighino, An Arduino Yun Based Watering System”