Member Since: October 5, 2009

Country: United States



Electrical Engineer/Enthusiast

Programming Languages



CMU, Oakland University


Microcontrollers / Sensors



  • “IR light from the VCNL4040 distance sensor dramatically scatters when an object like a white coffee cup or human skin comes in contact with the face of the sensor”

    How about a black or red coffee mug? ;)

  • Good work, just looks like PID tuning. How fast is your control loop running? (And is your code executing at exactly that frequency?) PID is finicky, because all of your gains are associated with a fixed time-delta (if the actual delta is too jittery, then robot looks like they just had a few shots of espresso).

    Sharing my robot too!

  • Sorry for so much editing, wanted to get code formatted!

  • if( getJoke()){
  • Hmm…‘2047’ as max readings… sounds like something is being saturated. Is this accelerometer an analog output, or digital based (spi/i2c)? If digital, is there a possibility to decrease the sensitivity (increase max-range) on the sensor itself so we have more fidelity with ‘hit’ values? Just curious, I like to go for the low hanging fruit in terms of optimizing this problem.

    I have one other idea that could improve algorithm/solution finding: Since we are in the experimentation stage, I think it would be beneficial to have a trigger-type sensor in the boxing glove to have a synchronized truth vector to work with. As fun as it is seeming to be for some people here, I don’t see why we would choose to fly blind from the get-go :-)

    But hey, if that’s what you’d like your challenge to really be I understand.


  • It really does get lonely during 2nd shift…How did you learn to manage this, lamp?

  • R&D of Light-saber prototyping trials, iteration # 41: Light more controlled than previous experiments. However, looking closer at our subject, we confirm consistent side-effect of hair removal from head and facial region.

  • This is a good example of the evolution of the amateur programmer: you ran into a hurdle and sought out a more efficient method, where you stumbled onto other hardware inside the machine you once thought you knew enough about; interrupts!

    Imagine what you could do once you learned about the other embedded features waiting to be uncovered! And yet, imagine the time period where these things had not yet existed on a single chip…if at all

    Always read your datasheets, and research certain parts of the micro, as they were put there for good reason,mostly stemmed from the long evolution of hardware and software.

    You may be interested in learning about other RTOS models out there

  • I did check the MinnowBoard Max, and I think I would rather choose that over the pcduino Acadia, especially since the cost is so close. And, it has a PCI-e port :0), it’s just not a quad-core :0(

  • Pros:

    • SATA is quite the advantage; you can store a lot of data there ;0) and even your OS can live there. You can have extra swap-space there when you run out of RAM.

    • The quad ARMv9 on the Acadia @ 1.2GHz obiously outperforms the raspi-2-B’s 900MHz quad ARMv7.

    • The Acadia’s onboard Wifi modul should outperform a USB-wifi dongle (but not entirely sure if that’s noticeable).
    • OpenGL! (raspi-2-B has a more proprietary graphics accelerator by Broadcom)


    • Need a USB hub for multiple devices while raspi-2-B has 4

    • 3x the $$$

    • 1GB RAM (so does raspi-2-B, but this is a big con for both I think)