Announcement

Collapse
No announcement yet.

MAGPI controller chip V1.00

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

  • MAGPI controller chip V1.00

    I have extracted the code of the MAGPI controller chip and written an Android program so the chip can be controlled from a bluetooth device ( eg tablet / phone ).

    Basically you select the value(s) you want to change and spin the dial ... can adjust up / down by 20 ns steps.

    Settings can be saved in Flash ( on chip ).

    The chip is a 28 Pin DIP PIC32 MX250F128B running at 50 Mhz.
    The bluetooth module is the garden variety from ebay.
    The android app will/should run on any cheapo android phone / tablet.

    Outputs:

    TX pulse: Fully adjustable in 20 nanosecond steps. Frequency and TX ON time.

    SAMPLE pulses X 3 fully adjustable ON and OFF times any time during TX and RX.

    PWM audio out. Sine Wave tone with adjustable volume. Only needs a resistor and cap + headphones to use.

    400 Khz OUT for syncing / driving analogue voltage supply +/-.

    RS232 to Bluetooth module.

    Inputs:

    12 bit ADC for input for Voltage to Frequency for target audio.
    12 bit ADC input for Battery Voltage with low batt detect.

    The Android App is used to control all the functions of the chip via Bluetooth ( ie no controls on detector at all ).

    Click image for larger version

Name:	ItsAlive.jpg
Views:	1
Size:	316.7 KB
ID:	370141
    Click image for larger version

Name:	ItsAlive2.jpg
Views:	1
Size:	245.0 KB
ID:	370142

    This is intended to be the controller core of a PI test platform for testing PI related circuits.

  • #2
    V1.0 APP IS RELEASED TO GOOGLE PLAY.

    I have uploaded the app to the ANDROID google play store .... it takes a few hours ( according to google ) before it is available. Just search for MAGPI.

    It wont do much as you wont have the bluetooth or chip at this point in time .. I am working on that ...

    But you will be able to spin the dial and cliken ze buttonz.

    Comment


    • #3
      ...its up now.

      Comment


      • #4
        Originally posted by moodz View Post
        ...its up now.
        Make sure you download the correct app. There is also a Magpi from DataDyne, which appears to be a data collection program. Not sure what it's for. And another called The Magpi, which is a magazine for the Raspberry Pi. The correct one is MAGPI from MooDz with a image of a detector coil.

        Comment


        • #5
          Originally posted by Qiaozhi View Post
          Make sure you download the correct app. There is also a Magpi from DataDyne, which appears to be a data collection program. Not sure what it's for. And another called The Magpi, which is a magazine for the Raspberry Pi. The correct one is MAGPI from MooDz with a image of a detector coil.
          yup I should have mentioned that ... Here is the icon to confirm.

          Click image for larger version

Name:	icon512x512.png
Views:	1
Size:	19.4 KB
ID:	346143

          Comment


          • #6
            ... and here is the schematic for the PI controller chip itself.
            Click image for larger version

Name:	MAGPI.png
Views:	1
Size:	71.8 KB
ID:	346144

            ... and here is the bluetooth module ( HC06 ) from ebay. The connections are labelled on the module. :-)
            Click image for larger version

Name:	BT.jpg
Views:	1
Size:	267.3 KB
ID:	346145

            Note that U2 in the schematic is a mosfet driver that is used to "amplify" the PWM ... you can just use a 1k resistor and a 0.1u cap as low pass filter straight off the CPU with a pair of headphones.

            Comment


            • #7
              PIN Connections on CPU as follows

              PIN26:out SAMPLE 1
              PIN21:out SAMPLE 3
              PIN25:out 400 khz clock
              PIN24:out SAMPLE 2
              PIN22:out TX pulse
              PIN12:out PWM audio

              PIN2:in Target voltage ADC 0 - 3.3 volts only.
              PIN3:in Battery voltage monitor ADC 0 - 3.3 volts only ( use scaling resistors )

              The rest of the connections you can figure out from the schematic.

              Comment


              • #8
                ... and the last bit for the moment is the hex file to program the pic 32 through the programming header JP1.
                magpihexv1.0.hex.zip

                If you dont want to program your own chips I may be able to arrange.

                Note this software could have bugs.

                ...Also the save to flash is not operational in this version.

                You dont have to configure anything for the bluetooth serial to work. If all is OK just click the button above the dial on the android control panel and a list of BT devices will be displayed. Choose your module and the panel will start updating in real time. Click the button of each parameter you want to change and spin the dial. Clicked data values will turn red. Note you can click multiple values and CHANGE THEM AT THE SAME TIME using the one dial ... which is very handy for balancing etc.

                Comment


                • #9
                  ... I have produced a one page summary of the PI controller chip and typical usage ( mainly for PI experimenters I guess ). However I have found this system great for testing outdoors with a bluetooth tablet velcroed to my sleeve and the PI controller running in a test machine as the all the timings can be adjusted in any manner you wish including synchronously adjusting multiple timing values at the same time.

                  Anyways .. hope this one pager will make the use of this controller more clear.

                  MAGPI_SOAP.pdf

                  Comment


                  • #10
                    .... and here I am using the PI controller chip to drive an experimental super PI Tx circuit that can punch 8 amps bipolar peak to peak through the TX coil of a DD 50 ns rise and fall times at frequencies from 1 to 100 khz .. adjustable.

                    Click image for larger version

Name:	8amps.jpg
Views:	1
Size:	337.2 KB
ID:	349505

                    Comment


                    • #11
                      Hello Moodz ! Think of this application ?
                      https://play.google.com/store/apps/details?id=com.raspberry.magpi
                      Application searches login id and password ?

                      Comment


                      • #12
                        I'd say magpi is not related to raspberry and consequently to a MagPi magazine devoted to raspberry.
                        It is more alike a micromite from Elektor.

                        Comment


                        • #13
                          Moodz se poigrava sa nama

                          https://play.google.com/store/apps/d...ectproto.MAGPI That's it thank you Moodz very nice project !

                          I installed the application and it worked !

                          Comment


                          • #14
                            Originally posted by moodz View Post
                            ... I have produced a one page summary of the PI controller chip and typical usage ( mainly for PI experimenters I guess ). However I have found this system great for testing outdoors with a bluetooth tablet velcroed to my sleeve and the PI controller running in a test machine as the all the timings can be adjusted in any manner you wish including synchronously adjusting multiple timing values at the same time.

                            Anyways .. hope this one pager will make the use of this controller more clear.

                            [ATTACH]40813[/ATTACH]
                            Pulled the finger out over the end of year break and layed out some MAGPI PCB boards. Next stop ... the soldering iron

                            Click image for larger version

Name:	nc005.jpg
Views:	1
Size:	364.6 KB
ID:	350241

                            Comment


                            • #15
                              Click image for larger version

Name:	20180118_222136_resized.jpg
Views:	1
Size:	285.0 KB
ID:	350280

                              First power up and no smoke :-) .... all parts loaded except sampling diff amp caps ... SWMODE POWER / CPU / BLUETOOTH and Android app all working.

                              Comment

                              Working...