Interfacin​g wsn with pic microcontr​oller

Hi,
Since I am new to labview and I want to interface wireless sensor module pioneer with pic Microcontroller using USB is it possible to do so??
If yes then pls give me some hint
Thnks in advance

Hello Asper,
Thanks for the post!
I would be happy to post my code. See the attached LV 2010 project. 
I used a serial SPI capable LCD screen from Crystalfontz to show locally what the temperature (using a thermocouple) and set point (using a potentiometer) are coming into the AI lines of the NI WSN-3212 node. Using just 2 digital lines, one for my SPI software timed clock and another for the data, I was able to update the screen with this information. I just pulled low the chip select line since the only thing I was communicating with was the LCD screen. I used the LabVIEW WSN Module to program LabVIEW directly on the WSN nodes. This is what allowed me to have control of the digital lines to make a CLK and DATA line.  
Requirements for the project:
LabVIEW 2010 or later
LabVIEW 2010 WSN Module (for programming on the node)
NI-WSN 1.2.1 or later.  
Best of luck to you on your projects!
Corby
WSN R & D Product Support Engineer
Attachments:
LCD SPI WSN Project (LV 2010).zip ‏3194 KB

Similar Messages

  • How to read and display a signal from my PIC Microcontr​oller onto Labview?

    Hi,
    I am doing a project on a Pulse Oximeter and i am trying to read and display the signal from my PIC Microcontroller on Labview? How do i go about doing it? I am using the PIC16F877 and also making use of the USART?
    How do i implement and initialise the USART in PIC16? What are the steps to be taken, please guide me through the process? The link provides information regarding the USART connection, initialisting and stuff? Is it correct to use these codes in my program?Link: http://ww1.microchip.com/downloads/en/AppNotes/007​74a.pdf
    Also, i am using the RS232 serial interface to connect to the PC? The connector i am using is the DB9 Connector. Which template and VI can i use? Am i supposed to use the NI-DAQmx and VISA? Also, for my USART connection, i am using the MAX232 Driver which is applicable for my application as i am working with +5V. So far, i have been reading and trying out on Labview and the steps i have taken are:
    1) Open a New VI and used the Instrument I/O(Read & Display) template?
    2) How do i configure the Instrument I/O Assistant Express VI to read the info from my device connected to COM1?
    3) I was reading the Labview Manual, 'Getting Started with Labview' and i was following the steps under Page 55, Communicating with an Instrument. Am i on the right track?
    4) How do i check and make sure that the port settings of the I/O Assistant and my PIC Micro Match
    Please help me out and guide me through the process. I am student at a polytechnic and i am very new to Labview and the software is used as a development tool for the project. I have a deadline to meet and i hope i can get a response as fast as possible. Your help will be kindly and greatly appreciated. I hope to hear from you guys soon.You can e-mail me all your answers at [email protected]
    Thank You
    Best regards,
    Ashwin
    Ashwin Kumar Mansukhani
    Attachments:
    Getting Started with Labview.pdf ‏901 KB

    Hi Ashwin,
    It is a good idea to first be able to communicate with the microcontroller using some sort of serial communication software such as "HyperTerminal" or "Procomm", etc. Refer to MicroChip's recommendations on this.
    Once that works, then you are ready to use LabView.
    Here is a link which covers many aspects of serial communication. Link - click here
    You probably received a development kit. They usually have a readily available interface. It's been a long time since I played with the PIC, but I seem to remember that you need to program the serial communication driver (as well as at least a bootloader) to get the serial communication going. The driver contains the necessary protocols so that you PC can have a machine conversation with the target (PIC).
    It sounds like a fun & interesting project. Please avoid to have replies to your personal email. By having the answers posted to this thread, you will get much more support and advice.
    Have fun,
    JLV

  • Interfacin​g between labview and microcontr​oller using rs 232

    hi my task is to generate a wavefrom of certain frequency and certain duty cycle in labview and feed it to pic18f452 microcontroller and the o/p of microcontroller when connected to CRO should display the same frequency and duty cycle which was fed from labview.
    for that when i am sending decimal data from labview microcontrolle is receiving ascii data for eg 62(decimal) gives 36 and 32 respectively in microcontroller registers and when i use type cast function and convert the decimal data into ascii data and then sending it to uc it gives hex o/p so i am confused that how to solve this problem
    pls guide me
    thanks
    satish

    So your display from the uc is giving you a hex display instead of the ASCII representation? Are you using VISA to send a string to the uc? Is that string being represented as hex instead of ASCII by the microcontroller? I'm confused about what exactly your setup and problem is...

  • Is there a way to create a custom screensaver with pics/slides that display for different amounts of time?

    Is there a way to create a custom screensaver with pics/slides that display for different amounts of time? Or even add a "video slide" into the screensaver?
    My business has 3 TVs displayed in our lobby, each with its own apple TV and they are all linked to the same photo stream. Currently the Atv screensaver displays the photostream pictures of our products for the default 3 seconds. We just added pics/slides that now display messages and useful info for our customers but I want that info to be displayed for a longer period of time than the pictures to give people a chance to read it.
    I tried using flickr and powerpoint as a work around but no luck.  I created a slide in powerpoint with play length of 15 secs and saved it as a wmv file.  I added that file to a "screensaver" set in flickr and pointed the Atv screensaver to that flickr set.  It still displays everything, pics and the wmv file at the default 3 sec.
    I know I can increase the duration of all pics in the screensaver to display for longer but the goal is to have the pics display at 3 secs and the info slides to display at 15 secs.

    Welcome to the Apple Community.
    No that's not possible.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here 

  • I tried to download itunes on phone. Recieved message of unsuccess of download. Now phone is frozen with pic of itunes logo and usb port

    I tried to download itunes to phone. Recieved message of unsuccess of download. Noe iphone frozen with pic of itunes logo and usb port icon.

    if it does not let you restore plug in to youre computer or mac and hold down both home and power button until the computer says found restore for iphone and restore

  • You can't use this version of the application "iPhoto" with this version of OS X. just opened this Mac comp having regrets..  uploaded this version because it was offered.. and can't work with pics???? what do I do to resolve this????

    HELP.. I just opened this Mac Pro..  having second thoughts of the gift.. got it to work with pics .. and now it tells me .. 
    "You can’t use this version of the application “iPhoto” with this version of OS X."  "you have iphoto 9.3.2"
    I hav no idea how to use this Machine..

    If you're running Mavericks and have iPhoto 9.3.2 you can upgrade to iPhoto 9.5.1 at the App Store for free.
    OT

  • Move PS Elements 12 with pics to Ext HD

    I recently purchased a 2-in-1 laptop, I need to move my Elements Photoshop 12 with pics to an ext HD to work from there.  How do I do this? Thank you.  Margo

    The Elements forum is here:
    Photoshop Elements

  • I have an incomplete back up in my iCloud with pics and vids in it can I get them back

    I have an incomplete back up in my iCloud with pics and vids in it can I get them back

    You have to do a full restore to your device to get things from iCloud.  You can't pick and choose. 
    In addition, from what I've read, you can't get anything back to the camera roll, if that's where you stored some of your files.  The camera roll is temporary storage untill you sync photos and videos to your computer.  If you used Photo Stream, then iCloud syncs new pictures from your iPhone to all other devices that are set to sync Photo Stream.  But there's a limit to how many pictures per month (I think 1000) and iCloud saves photos for 30 days, so the other devices have time to sync to get the photos.  But there's no way to get them out of iCloud in Photo Stream in case you lost all the pictures on your devices.

  • TS3376 I was able to use the findmyiphone app last week, but now I have been getting an error message "Can't load findmyiphone.  There was a problem loading the application."  please help as we are trying to locate an ipod with pics of a no deceased loved

    I was able to use the findmyiphone app last week, but now I have been getting an error message "Can't load findmyiphone.  There was a problem loading the application."  please help as we are trying to locate an ipod with pics of a no deceased loved one.

    Had the same problem and the same message --  was suddenly unable to access icloud apps on my pc, also using Windows 7 and Internet Explorer. After several days of pulling my hair out, decided to try a different browser and was able to get in by using Firefox instead of Internet Explorer.  Hope this helps. 

  • Iphone4. received txt messages with PICS.  THe PICs are frozen. Wont expand, just frozen.

    Iphone4. received txt messages with PICS.  THe PICs are frozen. Wont expand, just frozen.

    Iphone4. received txt messages with PICS.  THe PICs are frozen. Wont expand, just frozen.

  • Whats the best alternative to idvd for burning a disk with pics to play in a dvd player?

    Whats the best alternative to idvd for burning a disk with pics to play in a dvd player? I don't want to deal with older versions of ilife.

    Whats the best alternative to idvd for burning a disk
    In my opinion, there are none.
    Yes, there are other programs that will put a movie on a DVD.   I have tried most of the other substitutes including Toast, Burn, DVD Creator, Wondershare, and others.  None of them come anywhere near the ease-of-use and power of iDVD.
    IDVD is a wonderful piece of software and well worth the low cost of $40.
    http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES/ref=sr_1_1?ie=U
    http://dealmac.com/lw/artclick.html?1,527850,1872219

  • Communication Error with PIC µC through RS232.

    Hello Friends.
    I am getting continuous communication error with PIC µC reading through RS 232. Our µC programmed by external company and according to Communication protocol. µC sends 11 data packets in 43 ms and then delay on 50 sec. Actually Original labview code is developed in LabView 7.0 and now I am trying to update new installer to LabVIEW 9.0. I am attaching my LabView communication VI and capture data. If you see in the ComSerial.Vi, you can find when 8000! case is detected only that time 3 value sent to µc. In µc there is a Protocol, that when it receive 3 wrong packet (or damage packet) out of 10 then it send Error code 07 means communication error. Can you please take a look in to this ComSerial.vi and suggest me some Solution. I already spend more then 10 days to just figure it out.
    TejasKumar patel
    Attachments:
    COMserial 1.2.vi ‏56 KB
    Test1.txt ‏4888 KB

    I would suggest to start with the examples for the serial communication with LabVIEW and then built on them further. This way you will be sure about your code and then also for your communication and afterwards you can implement the further logic. Try those vis and see if your recieving the right data or not if not may be there is problem on hardware side!!
    Naqqash

  • I cannot send emails with pics using the stock email app on my new Droid Turbo, it holds them in the Outbox and won't send even if I move to Inbox and resend

    I cannot send emails with pics using the stock email app on my new Droid Turbo, it holds them in the Outbox and won't send even if I move to Inbox and resend

    First check to make sure you have data turned on and not just Wi-Fi. From reading your question you seem to be saying e mail is working just not attached photos. What size are the photos as some HD photos can't be sent. Your camera may be set at a very high picture size and you can go to settings and lower the size and that may solve your mailing problem.

  • Interfacing LabVIEW 2009 with PIC microcontrolller

    I would like to quickly setup an asynchronous duplex RS232 (or USB) communication between LabVIEW 2009 and a PIC16F8xx. Before I get stuck in, does anyone know if there are any reference code templates or examples available for either LabVIEW, assembly or c code (using the CCS compiler) to speed up the development?  
    Many thanks
    Graham 

    grahamwebb wrote:
    Hi, It's a fairly generic application (which is why I started a new thread!) My PIC is generating a PWM output, I'd like LabVIEW to send commands to modify the pulse shape. My commands are simply one character (a, f or p) to represent the parameter to change, followed by an int. So f100 is change frequency to 100. I've sorted the write functions out using an event structure, but I'd like to now add a serial read so I can echo back from the PIC to help with the assembly code writing. I haven't used event structures much with VISA functions. I'd like an interrupt style read.
    I could not run your code, since a VI is missing and I do not have your hardware. But that is OK. You had some labview no-no that I correct in your code. Also be careful with using globals and locals in your code. They may slow down your code. Global and locale variables are not pointers but a copy of the original data. A few global/locale with short strings and some values will not hurt you much. But large arrays and complex clusters will do.
    Also have you considered using C and not assembly code. It will make things simpler for you. The last thing is KISS (Keep It Simple Stupid). That is a phrase I learned in my time in the army. What is mean is that then you try to do things in a fancy but overcomplicated way. You will quite often fail. As an example if you send the code f100 to your microcontroller you must decode the 100 value into binary number. So why not send the vales as one or more binary bytes that the microcontroller do understand directly. But beware of the endian format.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    serial comms with PIC[2].vi ‏19 KB

  • [CS3-VBA/JS] How to get referense on para with pic

    i try to get para, previous for para with inline picture
    Set mPics = myDoc.Pages(4).PageItems(1).ParentStory.AllGraphics
    For Each mPic In mPics
    Set mPicPara = mPic.Parent.Parent 'para with pic
        Set mPara_1 = mPicPara.ParentStory.Paragraphs.PreviousItem(mPicPara) ' – writes "invalid parametr"
    Next
    by the way:
    Set mPara2 = mPicPara .ParentStory.Paragraphs.NextItem(mPicPara ) 'give reference on whole story
    Set mPara2 = mPicPara .ParentStory.Paragraphs.PreviousItem(mPicPara ) ' again – "invalid parametr"
    Where is mistake?
    Thanks

    Hi,
    Can you check is it para or not, then only it shows invalid parameter error.
    try this: msgbox mPicPara.contents
    sudar

Maybe you are looking for