Hackaday Podcast 012: Nearly Perpetual Motion, Mars Rover Carries Kid, And Doc Brown’s Cat Feeder

Editors Elliot Williams and Mike Szczys catch up on the past week in hackerdom. It seems as if we’re in a golden age of machine building as an incredible rocker-bogie rover is built to transport a child and mechanical simplicity automates the wet cat food dispensing process. We marvel at the ability to use G-code to decorate eggs (them being curvy in more than one direction and all). The we contemplate the ability to build and start a motor which will continue to run long after your own life ends. And perhaps it’s time to add more layers to your PCB design playbook.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Episode 012 Show Notes:

New This Week:

Interesting Hacks of the Week:

Quick Hacks:

Can’t-Miss Articles:

7 thoughts on “Hackaday Podcast 012: Nearly Perpetual Motion, Mars Rover Carries Kid, And Doc Brown’s Cat Feeder

  1. You forgot to mention that you don’t actually need an ADC in your chip to measure resistance ladders, because measuring an RC delay is a rudimentary ADC. Many 80’s home computers used that trick to read joysticks – when the C stays constant, you simply count how many cycles it takes for the logic level to change, and that gives you the R.

    1. This is the exact trick used in the Apple ][ to read the PDL(0..3) controllers. Normally you would get values from 0 to 255 linearly for a 150k-ohm variable resister but if you want to measure higher resistances it was merely a matter of waiting longer until an input goes from high to low (or the reverse – can’t remember which) I even remember writing custom 6502 machine code for the 1 Mhz system to count cycles more precisely and for longer times. I know I was measuring into the mega-ohms. Oh the stuff a nerdy teenaged boy did back in the days of dot matrix printers and VHS. kept me out of trouble :-)

      1. Precisely, and it doesn’t even take that much CPU time or special programming nowadays. In the typical AVR/Arduino, you’d set up a pin change interrupt and let the 16 bit counter run in the background while you’re doing other stuff, then just grab the counter value when the pin changes.

        If you want to be extra precise about it, many of the chips that don’t have an ADC still have an internal analog comparator that checks the input voltage against an internal reference (or whatever you put in the A_ref pin) and fires off an interrupt when it’s above, below, or changes state.

        Using the regular pins with state change interrupts would get you variations between chips so you couldn’t measure very finely spaced resistor ladders without first doing a calibration run, but by setting the reference level yourself you can just assume the values will be within your component tolerances.

    2. Jaromir pulled this hack off with the Supercon badge in November. I can’t remember if he did it in C or in BASIC, but he showed me the badge identifying resistor values using the discharge timing of a capacitor. Neat trick and fun to try out at your next hackathon!

  2. For the next podcast, rather than some kind of professional level of production for the quick-links section – given you’ve both, er, ‘sung’ the intro, how about bringing along something like a stylophone to play along to augment it? (maybe a micro:bit to keep it modern?)

    oh, and the result of the bet (so Mike, how fancy is your toaster?) :-)

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.