Programming USB Bit Whacker

Discussion in 'Embedded Systems and Microcontrollers' started by ssembo, Jan 27, 2011.

  1. ssembo

    Thread Starter Member

    Dec 13, 2010
    35
    0
    Hello Guys, here i am back with something, "The USB Bit Whacker". Programming the Bit Whacker. I have learnt that this circuit is able to take in signals, go through a program and output results. I have got few questions;
    1. How is it programmed? Is it possible programming it in C?
    2. How are the ports located on the PC?

    Will need also the best reading material concerning this.

    Thanks

    Colin
     
  2. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    On what platform?

    PIC Microcontrollers have USB built in several models now, so bit banging USB isn't needed.

    Prior to onboard integration, bit banging is usually implemented in assembly due to timing issues required, though some routines are in C with inline assembly. All of which is platform dependent.

    What are you trying to connect to what? FTDI has about every IC, dev board, and protocol translators in silicon not only available, but affordable.
     
  3. ssembo

    Thread Starter Member

    Dec 13, 2010
    35
    0
    I am trying to connect signals from the power line and use those to control a generator...start, phase detect, synchronise, and connect to line. Also be able to disconnect and stop the generator. "Peak Shaving"
     
  4. be80be

    Senior Member

    Jul 5, 2008
    431
    57
    ssembo I posted you a links that told you how to make one, Where to buy one, How to program it using It's usb and the bootloader which let's you use any complier that's for a pic C. basic. asm.
     
    ssembo likes this.
  5. russ_hensel

    Well-Known Member

    Jan 11, 2009
    818
    47
    Based on the level of knowledge you seem to have I would avoid any connection to the power line that is not thru a commercial step down power supply.
     
  6. ssembo

    Thread Starter Member

    Dec 13, 2010
    35
    0
    I already placed an order and its probably on its way. I guess i will get it wel when i get hold of it.

    Do you know of a way i can synchronise a line and generator automatically?
     
  7. ssembo

    Thread Starter Member

    Dec 13, 2010
    35
    0
    Am using a current transformer. Atleast have dealt with it. Thanks
     
  8. be80be

    Senior Member

    Jul 5, 2008
    431
    57
    ssembo I would need a recap you have posted this on a lot of forums, but I think your wanting to add 5,10,15kw of power. If you are off line it will not be that hard to make your own controller. But if you’re thinking grid tie you’re in a whole new ball game. One thing to really think about is if you try to lock in a generator out of phase; it will be pulled in phase. And most times that’s not going to be good. I have seen where it ripped the generator off the engine. So make sure you have each piece working right.
    I never tried any thing this big. I did a small one , it worked .
     
Loading...