Announcement

Collapse
No announcement yet.

PI CHIP

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

  • #46
    quickie update.

    Cleaned up some minor bugs.

    Add submenu to LCD control so that rotary update of values can be X1 X10 X100 ... otherwise it takes a long time to change the TX frequency from 500 Hz to 20 Khz in 33 ns steps.

    moodz.

    Comment


    • #47
      v22 final menu

      Main LCD menu finalised and operational ....

      powerup screen ..
      Click image for larger version

Name:	pwrup.JPG
Views:	1
Size:	50.4 KB
ID:	328974

      TX frequency / period ..
      Click image for larger version

Name:	txf.JPG
Views:	1
Size:	44.6 KB
ID:	328975

      TX Pulse duration ...
      Click image for larger version

Name:	txpuls.JPG
Views:	1
Size:	51.2 KB
ID:	328976

      sample pulse 1 ON (delay from start of TX )
      Click image for larger version

Name:	s1on.JPG
Views:	1
Size:	53.6 KB
ID:	328977

      sample pulse 1 OFF (delay from start of TX )
      Click image for larger version

Name:	s1off.JPG
Views:	1
Size:	54.8 KB
ID:	328978

      sample pulse 2 ON (delay from start of TX )
      Click image for larger version

Name:	s2on.JPG
Views:	1
Size:	54.1 KB
ID:	328979

      sample pulse 2 OFF (delay from start of TX )
      Click image for larger version

Name:	s2off.JPG
Views:	1
Size:	47.6 KB
ID:	328980

      Audio rate
      Click image for larger version

Name:	audio.JPG
Views:	1
Size:	47.7 KB
ID:	328981

      Comment


      • #48
        v22 final menu ( sub menu )

        .... sub menu added so you can change the timings, save them etc

        Push click rotary switch to enter sub menu ... push click again to exit after making selection.

        change current value by in x 1 steps .... ( step = 33 ns or 66 ns depending on timing being altered )
        Click image for larger version

Name:	X1.JPG
Views:	1
Size:	49.2 KB
ID:	328982

        change current value by x 10 steps ...
        Click image for larger version

Name:	X10.JPG
Views:	1
Size:	54.6 KB
ID:	328983

        change current value by x 100 steps ....
        Click image for larger version

Name:	X100.JPG
Views:	1
Size:	53.0 KB
ID:	328984

        save to eeprom ...
        Click image for larger version

Name:	eeprom.JPG
Views:	1
Size:	57.0 KB
ID:	328985

        exit and back to main menu ...
        Click image for larger version

Name:	exit.JPG
Views:	1
Size:	49.2 KB
ID:	328986

        Comment


        • #49
          Good work moodz.

          What mean audio rate value?

          Comment


          • #50
            Originally posted by WM6 View Post
            Good work moodz.

            What mean audio rate value?

            The audio generator is very simple ... if there is no target you hear like a ticking noise .... a target will increase the frequency ... The audio rate is like a multiplier ...

            eg
            Audio rate = 0 no target = 1 hz ticking noise small target = 2 hz ticking noise

            Audio rate = 100 no target = 100 hz small target = 200 hz

            hope this makes sense .... maybe I should call it Audio multiplier.

            regards,

            moodz.

            Comment


            • #51
              Originally posted by moodz View Post
              The audio generator is very simple ... if there is no target you hear like a ticking noise .... a target will increase the frequency ... The audio rate is like a multiplier ...

              eg
              Audio rate = 0 no target = 1 hz ticking noise small target = 2 hz ticking noise

              Audio rate = 100 no target = 100 hz small target = 200 hz

              hope this makes sense .... maybe I should call it Audio multiplier.

              regards,

              moodz.

              ah .... you have made me realise there is a bug in the code ( sort of ) ... if a large target comes along the audio frequency will go above human range of hearing .... ( maybe your dog will hear it though ).... I will put a limit in.

              moodz.

              Comment


              • #52
                v22 final menu update

                ...well another day .....another feature

                Reorganised the code to now suck 18 bit resolution out of this sucker ... The static LCD display was pretty boring so another code tweak puts the SAT level and the Target signal on the default display .... if you press the select button you will still run through the menus published previously.

                The target value updates 32 times a second ( LCD updates target 2 times a second cos you cant see it update at 32 times a second )

                resolution is now 20 microvolts .... not bad for an integrated 10 bit converter with no components other than code ....

                series of shots of the main LCD display below ... no changes to the other menus previously published. The display has settled and is displaying the target level top and absolute SAT level below. The display reads in volts with +/- 2.5 volts top 0 to +5.0 volts bottom ... 6 decimal places. Note there is no "front end" attached here.

                cheers from moodz.

                Click image for larger version

Name:	sig1.JPG
Views:	1
Size:	55.7 KB
ID:	328991
                Click image for larger version

Name:	sig2.JPG
Views:	1
Size:	56.1 KB
ID:	328992
                Click image for larger version

Name:	sig3.JPG
Views:	1
Size:	61.7 KB
ID:	328993
                Click image for larger version

Name:	sig4.JPG
Views:	1
Size:	56.0 KB
ID:	328994

                Comment


                • #53
                  updated UNIPI CPU schematic.

                  - added LCD bias generator for LCD contrast control ( fixed in code .. but could be variable )
                  - rotary encoder / PB switch added for menu.

                  moodz

                  Click image for larger version

Name:	UNIPIv230.JPG
Views:	1
Size:	110.6 KB
ID:	329054

                  Comment


                  • #54
                    test results UNIPI chip v23

                    tx timing and s1 s2 sample pulses.

                    using the rotary encoder we dial up 2.000 khz TX rate and 100us tx pulse ...
                    then set s1 and s2 sample pulses ... dial up start time and stop time for each in us.

                    pix below .... have not included the pix for s2 stop and start times because of 5 pix limit on posts.

                    moodz.

                    Click image for larger version

Name:	txsamps.JPG
Views:	1
Size:	140.5 KB
ID:	329055
                    Click image for larger version

Name:	txfreq.JPG
Views:	1
Size:	115.0 KB
ID:	329056
                    Click image for larger version

Name:	tx1period.JPG
Views:	1
Size:	123.0 KB
ID:	329057
                    Click image for larger version

Name:	s1on.JPG
Views:	1
Size:	141.5 KB
ID:	329058
                    Click image for larger version

Name:	s1off.JPG
Views:	1
Size:	154.1 KB
ID:	329059

                    Comment


                    • #55
                      s2 sample 2 LCD settings.

                      Ok .... can you see why s2 is a narrower pulse ?

                      Click image for larger version

Name:	s2on.JPG
Views:	1
Size:	121.8 KB
ID:	329061
                      Click image for larger version

Name:	s2off.JPG
Views:	1
Size:	131.4 KB
ID:	329060

                      Comment


                      • #56
                        UNIPI v23 sample pulse offset error.

                        If you measure the sample pulse delay from the end of the TX pulse to the edge of sample 1 you will find there is a 4 us error in difference from the value dialed up on the LCD for sample 1.

                        This is because of a fixed interrupt delay in the code before the S1 and S2 sample pulses initiate. Happily these delays are constant and will remain at 4 us ( unless I change the interrupt code ) ... there is no jitter in the timing and the error can be offset if it is known.

                        moodz

                        Comment


                        • #57
                          MooDz UNIPI v23 hex file

                          Hex file of v23 for your continued enjoyment.

                          Metal23Rel.hex.zip

                          Comment


                          • #58
                            Originally posted by moodz View Post
                            Hex file of v23 for your continued enjoyment.

                            [ATTACH]15907[/ATTACH]
                            Can i buy one programmed chip v23 or better from France,thank you to tell me the total price;best regards,Andrew.

                            Comment


                            • #59
                              Originally posted by moscadondres View Post
                              Can i buy one programmed chip v23 or better from France,thank you to tell me the total price;best regards,Andrew.

                              Thanks for your interest ... if you PM your postal address to me I will send you one for free.
                              Only condition is you provide your results so I can work out any bugs or add some more features.

                              moodz.

                              Comment


                              • #60
                                Hi Moodz, any chance I can purchase one of the micro's programmed with the latest software from you, Or grab one to test with please.

                                My location is on the mighty murray in vic.

                                I'll wait for a reply and if it is a go i'll pm the details thanks.


                                Cheers from Mick

                                Comment

                                Working...
                                X