Announcement

Collapse
No announcement yet.

PI CHIP

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

  • Hi Moodz,

    Remember some of us do not have these sorts of Mobile phones will it work with my Windows 7 Notebook/Tablet if so no problems I will have another use for it other than just Mapping.

    Regards, Ian.

    Comment


    • Originally posted by IBGold View Post
      Hi Moodz,

      Remember some of us do not have these sorts of Mobile phones will it work with my Windows 7 Notebook/Tablet if so no problems I will have another use for it other than just Mapping.

      Regards, Ian.
      ... It's just a serial interface ... People seem to forget there was a time when every box of electronics had a serial port on it...none of this touch screen stuff ... So yes the laptop will work also.

      Comment


      • Hi Moodz we are sweet the net-book/tablet has blue-tooth on board or so the book tells me.

        Regards, Ian.

        Comment


        • ...just to recap

          Now that I am back on deck ...

          The pulse generator hardware results based on UNO32 board ( Pic below ).
          Very roughly based on a UNIPI code however new tricks with the interupts and hardware from Microchip allow better resolution and stability.
          Pulse sequences can be of almost any length with 5 "channels" and up to 4 outputs per channel with different pulses in the sequence coming out of different outputs or one output. ( ie upto 20 outputs/pins if you want )
          Each pulse sequence and ouput pin is programmable on a pulse basis with fully defined start and stop times for each transition in 12.5 nanosecond steps ( might change this ... its actually too fine LOL ).
          In the case shown ... the SD2000 pulse timing is a no brainer.
          You could also set up a single channel surf PI type pulse even more easily.
          Any single pulse, combination or all the pulses can be adjusted on the fly during use for whatever you may desire.

          Click image for larger version

Name:	pic32puls.JPG
Views:	1
Size:	138.0 KB
ID:	336167

          Comment


          • hello paul,

            Nice!

            on the software, are you usuing 1 32bit timer to "feed" the 5 output compair modules? to keep it all in sync.

            or is it the "trick"......

            Philip

            Comment


            • Hi Paul,

              I hope your trip was succesfull, you know my predicament will this be able to sample in the on time with our pulse train?

              Regards, Ian.

              Comment


              • Originally posted by hdphilip View Post
                hello paul,

                Nice!

                on the software, are you usuing 1 32bit timer to "feed" the 5 output compair modules? to keep it all in sync.

                or is it the "trick"......

                Philip
                A single 32 bit timer is the source reference. The "trick" is to get the arbitrary pulse sequences which could even mean changing the TX frequency on the fly without glitching the sample pulses. Give me a call on skype and we will talk about it ...

                Comment


                • Hi Ian your requirment is next on my list ....will have a go tonight.

                  Comment


                  • HI Paul,

                    Nice job man!!!

                    So how many times in one cycle can say output 1(or any of them) be turned on and off?
                    12.5ns resolution, you are the best Don't lower the resolution, if anything have a setting that can be set to adjust resolution.

                    Cheers Mick

                    Cheers Mick

                    Comment


                    • Originally posted by Mechanic View Post
                      HI Paul,

                      Nice job man!!!

                      So how many times in one cycle can say output 1(or any of them) be turned on and off?
                      12.5ns resolution, you are the best Don't lower the resolution, if anything have a setting that can be set to adjust resolution.

                      Cheers Mick

                      Cheers Mick
                      Hey Mick ....you can have as many pulses as you want provided the 32 bit timer has not reached final count in that cycle. There is a limitation however because interrupts are used on each pulse the sequential pulses cannot be too short or the interrupts will clash. For the sd2000 timing the margins are relatively big so no clash occurs. The 12.5 ns timing comes from the 80 MHz clock driving the timing reference. For Ian's application ...and mine also the multi pulse scheme will not be used because the interrupt timing clashes with the ultra short sampling and tx timing. Using one pulse per period per output uses no CPU overhead at all. ie. one tx and 4 sample outputs.

                      Comment


                      • Originally posted by moodz View Post
                        Hey Mick ....you can have as many pulses as you want provided the 32 bit timer has not reached final count in that cycle. There is a limitation however because interrupts are used on each pulse the sequential pulses cannot be too short or the interrupts will clash. For the sd2000 timing the margins are relatively big so no clash occurs. The 12.5 ns timing comes from the 80 MHz clock driving the timing reference. For Ian's application ...and mine also the multi pulse scheme will not be used because the interrupt timing clashes with the ultra short sampling and tx timing. Using one pulse per period per output uses no CPU overhead at all. ie. one tx and 4 sample outputs.
                        Hi Moodz, exactly what i asked previously.... if it can be done with multiple TX pulse train and samples.....awesome, well done.

                        Will scrap the UNIPI for now as multiple sampling and complex TX pulse output's opens up alot of experimental possibilities than before and can see other people's experiments further developed in the field of PI design which hopefully can be shared here for all to see.
                        ATM, I am pre-occupied with other life's commitments, but will order the UNO32 this week

                        Any chance of programming code?
                        Highly appreciate your programming skills......let alone your electronic design principles which are above the norm.


                        Cheers Sid

                        Comment


                        • Hi!

                          I'm just dropping in to say "hi" to everyone. Easier than a new post!
                          So... Hi! 0/
                          Check out my thread in Misc/Off-Topic for updates and apologies!
                          Cheers my friends!
                          -Pete the non-Builder

                          Comment


                          • PI and SOURCE

                            Hey Sid ... ( and hdPhilip ) ... here is something for ya and the rest of the gang .... did you know that Pie and Sauce is a classic Aussie snack ? Well this a basic PI and SOURCE (code ) recipe LOL .... well here is some code to chew on for the UNO32 .... its had some stuff stripped out as it pertains to some patent stuff I am putting through but there is enough in there function wise to build a nice backend for a roll your own PI .... TX an RX Pulse generator, Low pass filter, audio generator, 24 bit adc driver, SPI driver, RS232 menu driver. Just add a switching mosfet and driver, sample and holds, differential integrator, amplification, voltage limiting, blue tooth module for wireless RS232 remote menu on tablet / phone / laptop and you are in business.

                            DISCLAIMER .. this not a PI detector source code ... it is a collection of functions and some rough harness code for EXPERIMENTERS ... who basically know what they are doing to get a jumpstart into using a 32 bit procecessor like the one on the UNO32 for implementing a PI detector ...so please dont send me PMs asking for hexcodes ( thanks ). I will answer questions on the code and help with whatever changes you are trying to make as long as you share ... no sharing = no help

                            This source code will actually compile and is set up to provide basic pulses on the designated output pins ... you will have to investigate how the other functions would be used ... project for the Microchip MPIDE ( set config bits to code ).

                            Enjoy ...
                            BEEP002.zip

                            Comment


                            • Originally posted by moodz View Post
                              Hey Sid ... ( and hdPhilip ) ... here is something for ya and the rest of the gang .... did you know that Pie and Sauce is a classic Aussie snack ? Well this a basic PI and SOURCE (code ) recipe LOL .... well here is some code to chew on for the UNO32 .... its had some stuff stripped out as it pertains to some patent stuff I am putting through but there is enough in there function wise to build a nice backend for a roll your own PI .... TX an RX Pulse generator, Low pass filter, audio generator, 24 bit adc driver, SPI driver, RS232 menu driver. Just add a switching mosfet and driver, sample and holds, differential integrator, amplification, voltage limiting, blue tooth module for wireless RS232 remote menu on tablet / phone / laptop and you are in business.

                              DISCLAIMER .. this not a PI detector source code ... it is a collection of functions and some rough harness code for EXPERIMENTERS ... who basically know what they are doing to get a jumpstart into using a 32 bit procecessor like the one on the UNO32 for implementing a PI detector ...so please dont send me PMs asking for hexcodes ( thanks ). I will answer questions on the code and help with whatever changes you are trying to make as long as you share ... no sharing = no help

                              This source code will actually compile and is set up to provide basic pulses on the designated output pins ... you will have to investigate how the other functions would be used ... project for the Microchip MPIDE ( set config bits to code ).

                              Enjoy ...
                              [ATTACH=CONFIG]25082[/ATTACH]
                              Hi Moodz, thanks for the source and pie. Have not had one for a while.

                              I tried to transfer the Source and header files in MPIDE V8.90 and all files returned
                              (Files not found)

                              Not sure why.

                              UPDATE: In the zip file you provided with direct MPLAB link is the one that came up with errors in Files not found once the MPLAB application opened up. I could see the files on the left hand side but with errors.
                              Maybe the version of the MPLAB i am using v8.90??

                              Anyway, the source folder in your zip file provided with the individual seperate files worked ok in V8.90

                              Cheers Sid
                              Last edited by sido; 05-30-2013, 02:05 PM. Reason: added more info

                              Comment


                              • Hi Moodz, never mind, got it to work now the other way.

                                Nice bit of code. Got to get me head around it, so i could understand it as i am learning.

                                Great work though.

                                Should be receiving the UNO32 sometime next week.

                                Cheers Sid

                                Comment

                                Working...
                                X