ATMega328 3D!

Small OLED displays are inexpensive these days–cheap enough that pairing them with an 8-bit micro is economically feasible. But what can you do with a tiny display and not-entirely-powerful processor? If you are [ttsiodras] you can do a real time 3D rendering. You can see the results in the video below. Not bad for an 8-bit, 8 MHz processor.

The code is a “points-only” renderer. The design drives the OLED over the SPI pins and also outputs frame per second information via the serial port.

Continue reading “ATMega328 3D!”

Hackaday Prize Entry: A BSTRD Preamp

For this year’s Hackaday Prize, [skrodahl] is building a beautiful tube preamp. It’s a masterpiece of glass and free electrons, it already works, and it sounds great.

This circuit is a modified version of the Bastard, an amp published in the Danish magazine Ny Elektronik nearly 20 years ago. The original amp was a true bastard, with a transistor phono stage, a valve line stage, and an input selector that used relays. [skrodahl]’s version only uses the line stage, but part of the name remains as a nod to the original design.

The design of this amp uses octal 6J5 tubes, a 80 VDC, 0.1 A and 6 VDC, 1.5 A power supply. This is actually two projects in one, with the power supply comprising an another entire project.

[skrodahl]’s BSTRD is built, and it works, but the question remains: how does it sound? Unlike so, so many tube amp projects on the Interwebs, [skrodahl] actually has test and measurement gear to figure out what the frequency response and THD measurements actually are. For the frequency response, this amp is dead flat from 10 Hz to 30 kHz. THD is somewhere between 0.35-0.4%, or more than acceptable.

This is a great little project, and an awesome extension to an already popular Open Source project. It’s also a great entry for the Hackaday Prize, and we’re pleased to see it entered in this year’s contest.

Eclipse Megamovie: Thousands Of Cameras For Citizen Science

On August 21, 2017, the Moon will cast its shadow across the entire breadth of the United States for the first time in almost a century. It is estimated that 12 million people live within the path in which the sun will be blotted out, and many millions more are expected to pour into the area to experience the wonders of totality.

We’d really love it if you would tell us where you’ll be during the eclipse by creating your own event page, but that’s not what this article’s about. With millions gathered in a narrow swath from Oregon to South Carolina, and with the eclipse falling on a Monday so that the prior two weekend days will be filled with campouts at prime viewing locations, I expect that Eclipse 2017 will be one big coast-to-coast party. This is an event that will attract people of all stripes, from those with no interest in astronomy that have only the faintest idea of what’s actually happening celestially, to those so steeped in the science that they’ll be calling out the exact beginning of totality and when to expect Baily’s Beads to appear.

I suspect our readership leans closer to the latter than the former, and some may want to add to the eclipse experience by participating in a little citizen science. Here’s how you can get involved.

Continue reading “Eclipse Megamovie: Thousands Of Cameras For Citizen Science”

Touchscreen Oscilloscope

[Marco Reps] didn’t want to lug a full-sized oscilloscope around to measure his ECG while running. He decided to check out the DSO112A which is a tiny touchscreen scope from the usual China sources. The tiny one channel scope can go to 2mV/division at 2MHz and can save and recall up to 24 configurations. It also has access to the data via a serial port so you can use it as a fancy data logger. [Marco’s] video appears below.

Apparently, there is was an older model without the A on the end that was not as sensitive and had some other missing features. The price is about $70–fairly inexpensive, although not throw-away cheap.

[Marco] noted that one of the two small connectors can act as an external trigger input or a function generator. There’s the typical LiPo battery inside and a shielded input section. [Marco] tears the board down and looks at the chips on the board. Inside are two Atmel CPUs and a 20 megasample per second analog to digital converter.

The color screen looks surprisingly good in the video although, as [Marco] points out, with one channel, the colors aren’t super useful. The device also has cursors and a nice selection of measurements that work both live and on stored data.

At the end of the video, [Marco] shows a simple ECG amplifier he built from an open source schematic. We’ve covered simple ECG circuits before if you want to read more.

Last year we looked at two small inexpensive scopes. Like everything else, each year the bar gets higher. Although, in fairness, those scopes had a (reported) 25 MHz bandwidth. We’d love to see that kind of front end with the user interface of the DSO112A.

Continue reading “Touchscreen Oscilloscope”

Know Thy LED

The invention of the LED is one of the most important discoveries of our times. They are everywhere, from our flashlights to household lighting and television sets. We don’t need to tell you that a project with more blinkies is better than a project with fewer blinkies. But an LED is not simply an LED; the sheer variety of LEDs is amazing, and so in this write-up, we’ll take a closer look at how to choose the right LED for your next masterpiece. Continue reading “Know Thy LED”

Keep Pedaling To Keep Playing

It’s been said that the best way to tackle the issue of childhood obesity would be to hook those children’s video game consoles up to a pedal-powered generator. Of course, this was said by [Alex], the creator of Cykill. Cykill interfaces an Xbox to an exercise bike, so to keep the video game going you’ll have to keep pedaling the bike.

While there is no generator involved in this project, it does mimic the effect of powering electronics from a one. The exercise bike has a set of communications wires, which are connected to a relay on the Xbox’s power plug. When the relay notices that the bike isn’t being pedaled enough, it automatically cuts power to the console. Of course, the risk of corrupting a hard drive is high with this method, but that only serves to increase the motivation to continue pedaling.

The project goes even further in order to eliminate temptation to bypass the bike. [Alex] super-glued the plug of the Xbox to the relay, making it extremely difficult to get around the exercise requirement. If you’re after usable energy instead of a daily workout, though, there are bikes out there that can power just about any piece of machinery you can imagine.

A Hypnotizing Interactive Art Piece For Visualizing Color Theory

Digital color theory can be a tricky concept to wrap one’s mind around – particularly if you don’t have experience with digital art. The RGB color model is about as straightforward as digital color mixing gets: you simply set the intensity of red, green, and blue individually. The result is the mixing of the three colors, based on their individual intensity and the combined wavelength of all three. However, this still isn’t nearly as intuitive as mixing paint together like you did in elementary school.

To make RGB color theory more tangible, [Tore Knudsen and Justin Daneman] set out to build a system for mixing digital colors in a way that reflects physical paint mixing. Their creation uses three water-filled containers (one each for red, green, and blue) to adjust the color on the screen. The intensity of each color is increased by pouring more water into the corresponding container, and decreased by removing water with a syringe.

An Arduino is used to detect the water levels, and controls what the user sees on the screen. In one mode, the user can experiment with how the color levels affect the way a picture looks. The game mode is even more interesting, with the goal being to mix colors to match a randomly chosen color that is displayed on the screen.

The practical applications for this project may be somewhat limited, but as an interactive art piece it’s hypnotizing. And, it may just help you with understanding RGB colors for your next project.

Continue reading “A Hypnotizing Interactive Art Piece For Visualizing Color Theory”