MIBAM and 12F1822...


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    Sure, the USART will work fine with MIBAM.
    Then you don't need to disable interrupts.

    I don't think you can have the POT connected, since the USART will use 2 pins and the LED's use 3 pins.
    There won't be an analog pin left. But since the serial data controls the LED's, you probably don't need the POT anymore.
    DT

  2. #2
    Join Date
    Aug 2011
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    update: finally got time to test the new MIBAM with the 12F1822 and works like a charm!! good stuff.
    So.... to make a more "proper" test I figured I'd whip up a little project to give a better demo, so did a quick and dirty pcb design threw in a few components, and presto a uber quick, interactive light module, (always wanted a interactive tabletop)

    here's a super rough video showing it all in action...



    I'm going to take a few days to clean up the code/pcb gerbers and post them
    here if anyone wants to build a fun blinky toy...

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    Ooooo, very cool!
    That's the neatest use of MIBAM I've seen so far.

    Thanks for the video. I think my counter top needs a makeover. (if I wasn't renting)
    DT

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    Yup. Very cool. Are you using the LEDs to sense changes, then flipping them to outputs, or using sensors?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Aug 2011
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    the circuit is just a phototransistor and a resistor for the detector, I added a IR led next to it as well so it works in the dark. I sample the ADC every few ms and calculate the difference from previous/last sample, to get a delta value, and just trigger some flahsy lights if the delta exceeds the threshold value, which controls how sensitive the trigger is.

    I now have 1 pin left to do something with (I used it for debug output to see what my adc output was, thinking of using it to trigger adjacent modules perhaps, to create a cascading effect perhaps)

    funny didn't intend to build this earlier, but it's kinda fun, so I'll just keep going with it and see what I can get this tiny pic to do..

    and the 12f1822 is dirt cheap so perhaps I'll build a few dozen at least and
    see how it goes.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,144


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    Am I the only one that cannot see the video?

    Ioannis

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    Doies it start or it says it's blocked due to copyright plah plah? Works here though (Firefox)
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts