Hacker News
4 years ago by gsliepen

A similar project, created by a ex-colleague of mine, with an ATtiny85, that also broadcasts the generated sound via FM: https://www.youtube.com/watch?v=7t7_naYJnHo

Here is the code running on the chip: https://github.com/spookysys/attiny-synth

4 years ago by ionwake

Is the Revolt! still on sale? I couldnt find any links for something similar - does he not have an etsy?

4 years ago by Teknoman117

I'm frankly amazed at how cheap getting PCBs made is these days. When I first started out my electronics hobby in the 00's, everything I did that I wanted to be "permanent" was done on perfboard with through the hole parts, ordering PCBs was a pipe dream for a teenager funded mostly by birthday and Christmas gifts, even if the ads in Servo magazine suggested otherwise.

I took nearly a decade off (shifting into contract app/game dev work, university, and then starting my career did not leave a lot of room for my electronics/robotics hobby) and now the bargain basement price for a batch of 5 "passable" quality boards is <= $10 (and "good" quality for <= $50), surface mount parts suddenly became very accessible and to be honest, for some of the stuff I've played around with, the price savings by using SMT usually pays for the boards. DIPs are getting really expensive. It completely blows my mind.

4 years ago by jrockway

The other thing is that the state of enclosures for the finished part has gotten a lot better. When I was doing electronics projects in high school, I was always stymied by enclosures that cost $100 and had to be heavily modified. I didn't have that kind of money, and I didn't have a drill and all the hole saws necessary to make a good front panel. If I was lucky, I put it in a shoebox or an Altoids tin, but I mostly had bare perboards laying around on my workbench, longing for a real home.

Now 3D printing is a thing, and it excels at making enclosures for your projects. With a couple hours in CAD, you can have a perfect enclosure on the first try, and they work and look great. Since getting a 3D printer a few years ago, every bare circuit board project in my house has gotten an enclosure, and it's wonderful. You aren't constantly worried about static shocking it, or pulling out some critical wire. You can just use the thing you built like it's a real product.

4 years ago by exporectomy

Yes, it's amazing. You often don't even need to have a PCB made much either because there are tons of modules for all common hobbyist circuits available very cheap, cheaper than the individual parts! I'm building a robot with a Raspberry Pi, a MOSFET module, a camera module, an LED module, a power supply module, a current regulator module, a motor driver module, and audio amplifier module, an Arduino module, etc. Not a single perf board or custom PCB required.

Other important equipment like PC-connected oscilloscopes and lab power supplies are super cheap now too.

You might have missed an opportunity in the 1990's to make your own boards by drawing with an etch-resist pen. I was making boards like that using money from my paper run.

Maybe we need a new national anthem "Praise God for the rise of China" ;)

4 years ago by valdiorn

and now you've got places like jlcpcb.com that will do pick and place on many common SMT components for like pennies per unit (there's even a free tier for common resistors and capacitors)

I've long ago retired me FeCl acid and DIY copper boards; 3 day shipping from China is just too convenient.

4 years ago by Teknoman117

yep! I actually just ordered boards from them. I probably would've ordered assembly from them if I hadn't wanted to do it myself for fun.

How does the pricing for "extended parts" work? It says $3 per component, but it would seem they mean per component type?

Thinking of doing an FPGA board with them because the concept of soldering an 0.8 mm pitch BGA with hand alignment and a modified toaster oven where a screw up ruins a $50 part is a bit much for me.

4 years ago by z5h

Amazing work. Bravo.

If anyone is interested in an incredible piece of music along these lines, please do yourself a favour and check out

TRISTAN PERICH 1-BIT SYMPHONY

http://1bitsymphony.com

(you can skip buying the hardware and find the music on Spotify and similar)

4 years ago by qwertox

LOUDNESS WARNING! Sounds like a square wave at volume level 11.

A downvote for this? It nearly blasted my ears while listening this on in-ear headphones after listening to "Chiptunes on the ATtiny4".

4 years ago by StavrosK

Oops, yeah, it is quite loud.

4 years ago by ionwake

This is amazing - thanks for the link

EDIT > Are there any similar products to this which are procedurally generated? Is the OP procedurally generated?

4 years ago by flobosg

1-Bit Symphony is not procedural.

Also, not quite procedural either, but the Buddha Machine might be worth having a look: https://en.wikipedia.org/wiki/FM3#Buddha_Machine

4 years ago by zibzab

What mcu does this use?

4 years ago by girst

Hi, author here. What a nice surprise to see my project turn up here :)

If you have any questions, shoot!

4 years ago by ionwake

Hi - I love what you built. I wanted to know if I can buy the RCA chiptune jack or one like it? Id love to see it working IRL. Im not near Innsbruck atm but if I can buy this or a similar product that would be neat. Thanks!

4 years ago by robertskmiles

> What a nice surprise to see my project turn up here

Same!

4 years ago by tomcam

Inspired and, unlike so many of my embedded projects, completed. Respect. Also a great writeup with video.

4 years ago by qwertox

So this was trial-and-error on the hardware directly, without simulating it first in software?

I can't imagine how tedious this must have been. It's fascinating what can be archived with determination and this little piece of hardware.

4 years ago by girst

First, the music itself wasn't written by me, but by Rob Miles[1]. So I had a version in C available. I then iteratively transformed the code into simpler and simpler expressions, and finally into a simulated assembly language, written as C macros[2]. Only the final step, initializing peripherals, stetting up interrupt handlers, etc was done with the actual chips. Of course, I made some erros with the before mentioned C macros, so some final debugging was trial-and-error. Later on I also used simulators, but they don't support all the necessary features of the MCUs, or were outright broken[3] (patches now upstream).

[1]: http://txti.es/bitshiftvariationsincminor

[2]: https://git.gir.st/Chiptunes-pms150c.git/blob/f1b013452400b0...

[3]: https://sourceforge.net/p/sdcc/patches/379/

4 years ago by victorthehuman

Nice! It reminded me of this great little synth powered parasitically from the MIDI port.

https://mitxela.com/projects/flash_synth

4 years ago by undefined
[deleted]
Daily Digest

Get a daily email with the the top stories from Hacker News. No spam, unsubscribe at any time.