Announcement

Collapse
No announcement yet.

PI CHIP

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

  • Originally posted by sido View Post
    Hi Moodz, I know its been a while but i am hoping you are able to answer this question for me if time permits and your able to do so.

    The above changes you did by adding the damping control to pin 24 on the 4012, moving the sound to a PWM pin etc etc as the above last revised schematic....

    I cannot see the revised Hex for it. Was it forgotten?

    Started to add changes to silverdogs Surfpi longboard i have here, so to add the Unipi and realized no updated Hex for the damping control addition etc.....

    Any chance.....If its to much of hassle, dont worry about it.

    Cheers Sid

    I thought I did post it .... here it is ...

    This one runs on the internal oscillator ... u dont need the crystal.



    PS its called TX pulse 2 not damping in the menu.

    PPS ... I never built this ... it was to give an idea on how to connect a UNIPI chip to a surfpi. ... but it should be mostly right.
    Attached Files

    Comment


    • Hi Moodz, thanks for the reply.

      I am going to use the V300 Unipi 4011 chip for the damping control from one of the pwm outputs. Sampling as usual from 2 sampling pins on there, but where does the (ADC in) from the modded surfpi audio out connect too.

      Do i use say one of the analogue input pins, say pin 2 on the 4012 connected to ADC IN in modded Surfpi REV3 schematic??

      Doing it for experimental to see if parameters can be changed by using Unipi, seeing no one has posted and replied. Have the spare Surf pi board here so might as well give it a go.

      Cheers and thankyou.

      Sid
      Attached Files

      Comment


      • Sido be aware some versions of Moodz software needed a start pulse, to get the chip going,pin 11 or 12 I think, I have lost track of which version now, he fixed this feature in later versions, but maybe he can comment on it.

        BTW Sido buy yourself a REAL pickit2 programmer.

        Moodz did you finish editing the PCB ?
        thanks
        6666

        Comment


        • Originally posted by 6666 View Post
          Sido be aware some versions of Moodz software needed a start pulse, to get the chip going,pin 11 or 12 I think, I have lost track of which version now, he fixed this feature in later versions, but maybe he can comment on it.

          BTW Sido buy yourself a REAL pickit2 programmer.

          Moodz did you finish editing the PCB ?
          thanks
          6666

          Yes the early ones needed you to push the select button so you had time to read my blurb on LCD but that version should just time out and start up after a second or so. A real pickit2 programmer is a good idea ... as you will get the serial port menu through as well a programming.

          The last PCB published was as far as I got .... started working on the new detector .... ran out of time ....


          moodz

          Comment


          • Hi, i will use the simple V23 Hex on the 4012.

            Regards to Pic Programmers, there are several "Do it Yourself) ones using parallel Printer port that support both chip variations. Not sure how reliable of transfer of data will be in such large software to be transferred as the 4011/4012 Unipi has internally. Comes with programming software too.

            A German site has Pic projects listed with PCB negative artworks and most plugin circuit adapters for almost all PIC's in use, from your basic DIL's to SMT devices. Very informative site for beginners.

            The simplest programmer and software found for DISPIC series chips's for ICSP programming uses the LPT port and has a single 74LS07 as a data line level shifter and half a dozen other parts.

            There is even a simple Clone Pickit 2 with Firmware program code, circuit artwork and schematic floating around the net. You need to program a PIC18F4550 though and uses USB connection.

            Sid

            Comment


            • hello sid

              one thing to keep in mind, after you program the chip, and you do a "verify" it may fail, but the chip is still programmed correctly, if i recall, moodz might have it set not to read the hex code back out for the verify to work... just a thought

              philip

              Comment


              • Originally posted by hdphilip View Post
                hello sid

                one thing to keep in mind, after you program the chip, and you do a "verify" it may fail, but the chip is still programmed correctly, if i recall, moodz might have it set not to read the hex code back out for the verify to work... just a thought

                philip
                Hi Philip, thanks for the tip. I will keep that in mind..

                Just finished etching the board. The picture below is the programmer i am building. Has been verified that it can program DIsPICS from the authors dedicated software which i have downloaded.

                6666, i will keep that in mind, thanks for the advise. If i get the Surfpi working with V23 Unipi, will post my findings here or may open a new thread. Then once hopefully verified working, i will look at a making a descent board layout for field use. I am going to try the differential front end and Tinkerers schema also in replace to the standard Surfpi front end.

                Summer is just around the corner. It will be great to get it working for the beach.

                The Pic on the right is the original author's programmer.
                On the left is my etched board so far.

                Sid.
                Attached Files

                Comment


                • Good work Sido.

                  Comment


                  • Hi Sido you are doing a good job, BTW you can order the 4012 from RS Components and get free postage, and next day delivery if you order online by 5.30, also here is a tip, write on the order for the driver to leave the package at the door or wherever if you are not home.
                    Otherwise he will drive off with it and deliver another day.
                    Please post your findings with your project, thanks

                    Comment


                    • Free Offer!

                      Hi all,

                      Just my $0.02...

                      If anyone wants a 1:1 layout of Moodz' layout, I'd be delighted to help out. I'm cheap (as in free) but good. PM me if you are interested. I'll be hanging around for a few months at least, so don't be shy.

                      Oh, forgot to say, I'm happy to add ground planes, etc, if anyone wishes. Ditto if you can only get alternative packages for any of the components. Least I can do.

                      I hope this might be useful for someone interested in this cool little project.

                      Cheers,
                      Pete

                      Comment


                      • Originally posted by Pete the Builder View Post
                        Hi all,

                        Just my $0.02...

                        If anyone wants a 1:1 layout of Moodz' layout, I'd be delighted to help out. I'm cheap (as in free) but good. PM me if you are interested. I'll be hanging around for a few months at least, so don't be shy.

                        Oh, forgot to say, I'm happy to add ground planes, etc, if anyone wishes. Ditto if you can only get alternative packages for any of the components. Least I can do.

                        I hope this might be useful for someone interested in this cool little project.

                        Cheers,
                        Pete
                        Hi Pete, welcome to the forum, many circuits to tinker with and read about.

                        Which Moodz circuit layout are you refering too?

                        Sid

                        Comment


                        • Hi all, seeing that we need timings as the heart of any detector which happens to be Moodz great designed PI controllers here, I have stumbled across a ready made professional designed in/output connection DisPIC4011 circuit board, retailing for $27 Au, minus delivery from you guessed it, Asia and comes with a chip fitted.

                          It has a onboard 5v power supply utilizing a LM2575-5v regulator and 2 UART ports built around a MAX3232 chip. Has a connector dedicated for the LCD Module (middle of the picture) etc etc

                          With slight modification (preferably software)....Moodz hint hint, this board can be adapted to the V300 PI controller as universal and would make a profesional working PI controller where V300 has 4 samples compared to the 4012 version with 2 samples.

                          After comparing your base circuit V300 to this circuit layout, there is not much difference to pin assignment other than the Lcd module which seams 1 or 2 pins have been allocated to different pins as to yours. Some software code change may solve it or may need a small mod to circuit board.

                          This board only works with Dispic4011 and 2011 variant as it has smaller ic socket buit in, between larger 4012 ic socket.

                          For that price i think its a great deal and hopefully the noise factor generated is minimal than a open breadboard design

                          So, would this be ideal as a PI controller using V300 software? what do you all think?

                          Sid

                          Click image for larger version

Name:	Dispic4011.JPG
Views:	1
Size:	12.6 KB
ID:	334906

                          Comment


                          • Originally posted by sido View Post
                            Hi all, seeing that we need timings as the heart of any detector which happens to be Moodz great designed PI controllers here, I have stumbled across a ready made professional designed in/output connection DisPIC4011 circuit board, retailing for $27 Au, minus delivery from you guessed it, Asia and comes with a chip fitted.

                            It has a onboard 5v power supply utilizing a LM2575-5v regulator and 2 UART ports built around a MAX3232 chip. Has a connector dedicated for the LCD Module (middle of the picture) etc etc

                            With slight modification (preferably software)....Moodz hint hint, this board can be adapted to the V300 PI controller as universal and would make a profesional working PI controller where V300 has 4 samples compared to the 4012 version with 2 samples.

                            After comparing your base circuit V300 to this circuit layout, there is not much difference to pin assignment other than the Lcd module which seams 1 or 2 pins have been allocated to different pins as to yours. Some software code change may solve it or may need a small mod to circuit board.

                            This board only works with Dispic4011 and 2011 variant as it has smaller ic socket buit in, between larger 4012 ic socket.

                            For that price i think its a great deal and hopefully the noise factor generated is minimal than a open breadboard design

                            So, would this be ideal as a PI controller using V300 software? what do you all think?

                            Sid

                            [ATTACH]23213[/ATTACH]
                            If you post the circuit ... I will post the code.

                            Comment


                            • Hi Moodz, that will be great if you can work around the below circuit with V300 or better software you may want to include.

                              I mentioned it supports also the 2011 chip. Mistake on my part is supports the 2010 Dispic and 4011.

                              If its to much modding, please let us know. I only had a quick look comparison with the V300 circuit you posted in the past which i believe was the last update.

                              If you need more info, i can post the link to the Manufacturer. There is PDF with more details but mostly in a foreign language. If it can be done with no dramas on your behalf, it would make a high quality PCB designed with the best versatile PI controller software available. It will be just a matter of connecting the toggles and switches and mosfet switching circuits as per your circuit diagram.

                              Btw, use existing 10Mhz crystal as per your schema and disregard the 7.xxx crystal supplied with board.

                              Much appreciated Sid

                              Click image for larger version

Name:	dispic4011schematics.JPG
Views:	1
Size:	416.5 KB
ID:	334907Click image for larger version

Name:	dispic4011schematica.JPG
Views:	1
Size:	25.3 KB
ID:	334908Click image for larger version

Name:	dispic4011schematicb.JPG
Views:	1
Size:	16.3 KB
ID:	334909Click image for larger version

Name:	dispic4011schematicc.JPG
Views:	1
Size:	31.9 KB
ID:	334910Click image for larger version

Name:	dispic4011schematicd.JPG
Views:	1
Size:	34.2 KB
ID:	334911Click image for larger version

Name:	dispic4011schematice.JPG
Views:	1
Size:	34.9 KB
ID:	334912
                              Last edited by sido; 02-07-2013, 07:07 AM. Reason: added more info

                              Comment


                              • This board has external manual contrast control. Thats part of the difference as i think the V300 is user adjustable via program? Keeping the Lcd contrast software control of V300 would be better with some hardware mod on this board to remove the pot and add some link.

                                Sid

                                Comment

                                Working...