Announcement

Collapse
No announcement yet.

SMT HH with Micro Control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SMT HH with Micro Control

    I have a couple of SMT HH boards hanging around so I decided to make one an experimental
    platform for some PIC development.

    I picked up a 12LF1822 but then decided the VCC = 3.6V max would be a problem so I have some 12F1822's on order.

    This is a 8 pin PIC with the Enhanced instruction set and it can run at 32mhz via it's internal oscillator.

    I'll use one for the timing and then look for one to make the sounds (it might be a bit bigger).

    So here's some pictures;

    Board with docs
    Click image for larger version

Name:	SMT HH.jpg
Views:	1
Size:	135.1 KB
ID:	370103

    Board with parts removed (2 stage input mod done)
    Click image for larger version

Name:	HH Mod.jpg
Views:	1
Size:	192.6 KB
ID:	370104

    Schematic of new parts
    Click image for larger version

Name:	Schematic.jpg
Views:	1
Size:	62.3 KB
ID:	370105

    Layout with notes
    Click image for larger version

Name:	Layout.jpg
Views:	1
Size:	153.1 KB
ID:	370106

    I'm sort of piggybacking off the old HH2 stuff but hope to go a little further.
    I have a prog switch so could do 2 or 3 different programs.

  • #2
    Here's some simple Basic code to get it running. Later we can get fancy and do some interesting things with the pulses.

    FatHead1.txt

    And here's an idea for Ground Balancing this thing;

    Click image for larger version

Name:	FatHead1 GB.jpg
Views:	2
Size:	142.4 KB
ID:	345945

    Comment


    • #3
      Good work, just for interest a few of us have the 12f1840 pic left over from the Pickini project, and it looks like you have included something like Tepco's gain GB system, been working on something similar.

      Comment


      • #4
        Here's a code update with the GB code. It may need some tweaks...
        Attached Files

        Comment


        • #5
          Originally posted by FatBob View Post
          Here's a code update with the GB code. It may need some tweaks...

          Thanks , it would be helpful to know exactly which software you are useing to write the code and compile it. Looks a little like GCB.
          Can it be ported to a 12f1840 ?

          Comment


          • #6
            I am using Great Cow Basic. The 12F1840 is the same as 12F1822 just with more memory
            so just change the processor number define at the beginning of the file and it should compile
            fine!

            Great Cow Basic is a great program, it makes it easy to program these PICs!

            Comment


            • #7
              There does not seem to be a way of converting or compiling an asm file in gcb, I took your txt file and gave it a .asm extension and imported into GCB, but it does not like it, maybe we need your .GCB file ?

              Comment


              • #8
                FatHead1.zip
                Here's the GCB file^

                Just change the extension to GCB. I usually write in notepad then paste it into Synwrite (the text program that came with Great Cow Basic).

                If you load GCB with all the bells and whistles it sets most everything up for you...

                GCB takes a text file and parses it into assembly for MASM to use to make the HEX file.

                Comment


                • #9
                  Thanks for the .gcb file that works

                  Comment


                  • #10
                    So with the Ground balance added in we get positive responses to lower TC signals and
                    negative responses to larger TC's with a hole where the ground TC occurs.

                    To hear those signals we need a dual tone or dual VCO. Here's an attempt at a dual VCO;

                    Click image for larger version

Name:	HammerHead With PIC GB Dual VCO.jpg
Views:	1
Size:	212.6 KB
ID:	345955

                    Here's a Dual Tone one;

                    Click image for larger version

Name:	HammerHead With PIC GB Dual Tone.jpg
Views:	2
Size:	202.5 KB
ID:	345957

                    This might be easier to do on a full size HammerHead so I'll use this one for now;

                    Click image for larger version

Name:	MyFatHead1.jpg
Views:	1
Size:	230.3 KB
ID:	345956

                    Comment


                    • #11
                      So I had bought some different size chips as I didn't know how many pins I would need and I just noticed the
                      8 pin and 14 pin have 8 pins in common. So you could install a 14 pin socket and plug in an 8 pin chip or a 14 pin chip.

                      Click image for larger version

Name:	12F1822 and 16F1824.gif
Views:	1
Size:	9.8 KB
ID:	345958

                      The 14 allows for more inputs like this;

                      Click image for larger version

Name:	14Pin PI Clk.jpg
Views:	1
Size:	52.6 KB
ID:	345959

                      Comment


                      • #12
                        So I'm going with something like this;

                        Click image for larger version

Name:	HammerHead With 14 PIN PIC GB Dual VCO.jpg
Views:	2
Size:	199.1 KB
ID:	345968

                        This allows for turning GB on and off, setting 1Khx or 3Khz transmit, up to 4 different programs
                        plus an alternating one similar to the MineLab stuff, and a couple of LED's for indicating the mode
                        we are in.

                        I found out the FET driver I was going to use shuts off at 11v - 13.5v as it is meant for a 15V - 30V
                        power supply so I changed over to a fast bipolar design.

                        Here's the piggyback board that sits on the original 221 and 555 sockets and make connection to
                        key signals;

                        Click image for larger version

Name:	PiggyBackBoard.jpg
Views:	1
Size:	249.8 KB
ID:	345969

                        My 5V PIC's came in today so we could get something running this weekend!

                        Comment


                        • #13
                          I wish you luck, will be watching .

                          Comment


                          • #14
                            Hi FatBob,

                            The pic below is what I use for my GB PI, it has threshold control and high/low variable pitch depending on target TC. Free to use or modify, if it's any help.





                            Comment


                            • #15
                              Thanks for the circuit. I'll have to study it a bit to see what's going on...

                              Comment

                              Working...
                              X