nerdboy64

Member Since: April 4, 2011

Country: United States

  • Changed the encoder’s “B” line to pin 4 (from 3) and that fixed it. Still not sure if the problem was inherent to this board, a flaw in the individual one I received, or due to an error on my part. Nonetheless I’m happy to have it working.

    Pin 3 still works for regular input in the main loop, so maybe it has something to do with its being an interrupt pin being read within another interrupt? I don’t know enough about this chip to make a solid judgment though.

  • Overall this is a great board but I’ve been having some problems getting it to work with a rotary encoder. I bought a 360p/r encoder, similar to the larger ones sold here but from a different supplier. It works great with my Uno; I can throw the shaft around as fast as I want and the board keeps up impeccably. However, when using this board with the exact same code, I get erroneous readings more often than not. I’m using direct reading via PIND for the maximum possible speed. I read that pins 2 and 3, which I’m using, are reversed between the ATMEGA328 and 32u4, but I’m calling digitalPinToInterrupt() which should compensate for that difference. Does anyone have a way to fix this in code, or will I have to go hunting for a decoder IC?

    EDIT: To clarify, the problem doesn’t seem to be with the interrupts not firing. As far as I can tell, the ISR is called every time it’s supposed to, but reads the wrong value from the encoder’s “B” line. I’m using pullup resistors but it consistently reads low when it should be high, not sure what’s up with that.

  • Is a replacement for this part planned? I need a barrel jack for a project I’m planning. I could just drill a big ugly hole and run a cable inside, but I’d prefer something nicer looking such as this.

  • What’s the difference between this and COM-10932, which is $10 more expensive and has “(Quadrature)” in the name? Both have the same datasheet as far as I can tell.

  • Would a resonator like this work as the timing element in a boost converter (http://en.wikipedia.org/wiki/Boost_converter)? I’ve mostly found pictures online of people using 555 timer circuits, but according to Adafruit’s calculator (http://learn.adafruit.com/diy-boost-calc/the-calculator), the higher frequency, not to mention slimmer profile, of something like this would seem to make the converter more efficient.

    EDIT: To be clear, I need a converter with a very high step-up ratio for charging big capacitors.

  • These are rates for AC current, but what about DC? I’m thinking of building a railgun, which involves a lot of very big capacitors (on the order of 300v) going off in parallel, and I need something with which to switch them. Will this do the job?

    EDIT: Nevermind, the datasheet says 28v, which is less than 1/10 of what I need. I’ll keep looking.

  • Are these or the equivalent size plastic ones lighter? I’m planning a quadcopter and need to save weight.

  • Do these have a voltage limiter built-in or do I need a separate 3.3v limiter?

  • Some mounting hardware would be A+…

  • Breakout board? Pwetty pwease? Or at least the DIP version?*

    *I know it exists. It’s in the datasheet.