Plug and Play Pmods Return to NI Week

To show off the capabilities of the new rev of our Pmod Shield at NI Week 2017 I was asked to add UART to Dharsan’s original plug and play Pmod demo. His demo originally included 8 Pmods, 4 SPI Pmods and 4 I2C Pmods. The new demo now includes 3 UART Pmods and the new Pmod Shield, which makes it significantly easier to show off how well these Pmods work in LabVIEW.

With the help of LabVIEW, LabVIEW MakerHub’s LINX, and the chipKIT WF32, we were able to make a plug and play demo that includes 11 different Pmods: Pmod ACL (accelerometer), Pmod ALS (ambient light sensor), Pmod BT2 (Bluetooth interface), Pmod CMPS (compass), Pmod GPS (GPS receiver), Pmod GYRO (gyroscope), Pmod JSTK (joystick), Pmod MAXSONAR (Ultrasonic range finder), Pmod MIC3 (microphone), Pmod TC1 (thermocouple), and Pmod TMP3 (ambient temperature sensor).  If you’re interested in LabVIEW and the chipKIT WF32, check out the LabVIEW Physical Computing Kit, which includes both LabVIEW Home Bundle and the WF32.

The idea for this project was to have the user plug either an SPI, a UART, or an I2C Pmod into the Pmod Shield, select the Pmod from the menu on the front panel of LabVIEW, and click “run” to read the values from the Pmod that’s plugged in. Below is the front panel in LabVIEW.  Upon opening the program, you simply select the serial port connected to the chipKIT WF32.  From here, choose a Pmod and select the corresponding tab on the front panel.  Some Pmods have extra settings you can change.  Once you’re ready, click the run button to start collecting data from the Pmod. To switch to another Pmod simply switch tabs and follow the same steps!

Thank you for reading my blog post, I look forward to seeing everyone at NI week. If you are interested in making this yourself but don’t have the right supplies you can purchase the LabVIEW Physical Computing Kit with the chipKIT WF32. This kit includes a copy of LabVIEW 2014 Home Edition, a WF32, and everything you need to run LINX 3.0 and start making projects. Also, check out the new Pmod Shield and follow this link to learn more about using Pmod SubVI’s in LabVIEW. Please comment with any questions or comments you may have.

 

Be the 1st to vote.

Leave a Reply

Your email address will not be published. Required fields are marked *