Interfacin​g TEDS accelerome​ter to microcontr​oller with 1wire interface.
Please suggest me how to interface TEDS accelerometer to signal conditioning hardware. I need 1 wire interface between TEDS accelerometer which is biased by -5V and microcontroller with 1.8V logic 1 wire interface.
Solved!
Go to Solution.
hi,
thank u for your reply.
this is our circuit(attachment). our teds works with -5V bias and microcontroller works at 1.8V and it has inbuilt 1-wire controller(in circuit i have send through attachment micro controller not shown) please suggest me how to design signal conditioning(voltage level translation with bidirectional control)
Attachments:
teds_signal.JPG 82 KB
Similar Messages
-
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
satishSo 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...
-
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 advanceHello 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 -
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/00774a.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 KBHi 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 -
Hi there,
I have got a program that reads input from 3 off 9234 modules on a cRIO, the idea of the program is to read this data and save it in a bin file to a connected usb hard drive, the program also uses shared variables to connect the max signals from the 9234 then send thm to a modbus slave, my problem is that althought I am now getting the correct data on the usb drive I am not getting anything down the modbus link, I attach the program for you to see, all the shared variables are on the rt low speed loop, any help would be most grateful.
Many thanks
Jason
Solved!
Go to Solution.
Attachments:
logger 2plusmodbus2.zip 679 KBHi Jasonh,
Thanks for posting your code! Due to the lack of comments on the code, would it be possible to direct me to where it sends the code to the modbus slave please?
This tutorial on How to turn a RT Target into a Modbus Slave using IO Servers may also be of some help.
Kind regards,
Tori
Student -
Using USB-6008 on LIS331 Accelerome​ter
Hi, I am looking to monitor my project with a LIS331 using the USB-6008 dac. Would this dac unit be acceptable with this accelerometer?
swong46,
I would recommend using a USB 63xx series DAQ device. You might also be interested in the USB 8452, which is a dedicated I2C and SPI device.
I can also put you in touch with some of our sales engineers, who would be the most knowledable about your options. Shoot me a PM if you're interested, and I can give you a number to call.
Kyle T.
Applications Engineering
National Instruments -
hello everyone,
I am trying to read the value of Gyroscope and Accelerometer (3 Axis respectively and simutaneously) in LabVIEW 8.2, but I didn't find any suitable standard VI . Should I create a new VI by myself ( in this case I need LabVIEW 7.1, don't I ?) or can I convert the standard NXT-G block to LabVIEW VI ?
I am looking forward to any reply. thanks
Liangnow I describe my problem with more detail. the VI ReadAccel showed me only "0" in LV8.2 , that means it dosn't work.
Attachments:
ReadAccel.PNG 8 KB -
Very large values from accelerome​ter
Hello,
I did a small impact test in the lab, and recorded the acceleration. But I got very large peak numbers, like 300g, which is unreasonable. My vi has been checked by many people, seems like no problem. Does anyone have the idea why I got such big numbers?
Thanks.
YuanIt would be helpful if you describe your hardware, DAQ , (signal-conditioner with setting) , sensor
and please post a link to the spec-sheet of the sensor and (if you have) the individual sensitivity (cal) value(s) of your sensor. (in metric if possible )
Now read the input voltage at a high sample rate (you can use one of the example vi's ) . If you have a pulse in the diagram hit edit-make current values default, save as a new vi and post that vi.
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ' -
Can I test for open or shorted accelerome​ters using an NI9234 module?
I'm using multiple NI9234 modules to acquire data from accelerometers. Is there anyway in LabVIEW to test the health of the accelerometers? I'm looking for either open or shorted accelerometers.
THANKSHi NI_1424,
From LabVIEW, we just read the voltages that are on the NI 9234. If you are expecting a voltage from an accelerometer but it is reading 0 V, it could be shorted or open. So, the short answer is "no". But you can deduce faulty accelerometers if you understand your setup and are seeing unexpected values.
Jeff Munn
Applications Engineer
National Instruments -
What Kind of microcontr​oller is needed for alarm system with PIR sensors
Hi ! I'm student at Technical University Varna ,
Bulgaria . I'm interessted to create my own alarm system with Labview,
but I'm not sure what kind of controller i need and what kind of PIR
sensors. Thank YouThis is duplicate post:
What Kind of microcontroller is needed for alarm system with PIR sensors -
Accelerome​ters
hi,
I am new to DAQ and in particular to accelerometers.
Any help with regards to how to chose particular models for a 0- 300g, 10-100mV/g sensitivity, 0(atleast 3hz or below )-10Khz, application involving vibrabtion testing of tendons would be greatly appreciated. some possible vendors include endevco (#7703-50) , PCB (#352c18 ,#353b03). Any information with regard to experiences with such vendors would be of great help.
please email to [email protected]
thanks
ananthAnanth,
Beside the famous AD, you can also try out a newer kid on the block, a company called MEMSIC.
As I believe it, instead of mechanical moving silicon parts (using changing impedances), their devices use temperature-sensing techniques to detect the movement of a trapped gas. It has no moving parts, so this looks very robust to me.
Due to the temperature-principle, the bandwith is somewhat limited to 40 Hz.
On their website you can even ask for a sample, which is always handy for evaluation purposes.
Note: I have no commercial link with the company but was pleased by their friendly sampling-policy, rare these days if you are a small company.
Patrick de Boevere -
Application is ... sensing vibrations from a downhole (drilling rig) air hammer tool. Need to log the data and distinguish the frequency fo the tool vibration from the drilling string vibration. Hammer tool noise is about 28 Hz.
Thank you for the question. There is an excellent LabVIEW tool that will distinguish vibration frequencies from one another. This is the Order Analysis toolset. It uses a once per rev (or multiple per rev pulse) as a base or fundamental frequency and is able to separate out the vibration signatures at harmonics and sub-harmonics. Standard LabVIEW or LabVIEW with the Datalogging and Supervisory Control Toolset both work well with the LabVIEW Order Analysis tools installed and working. I would be happy to provide example code, or discuss the application in more detail with you.
Sincerely,
Preston Johnson
Business Development Manager
Industrial Applications (Machine Vibrations)
National Instruments
512-683-5444
[email protected]
Preston Johnson
Principal Sales Engineer
Condition Monitoring Systems
Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
National Instruments
[email protected]
www.ni.com/mcm
www.ni.com/soundandvibration
www.ni.com/biganalogdata
512-683-5444 -
Read from both load cell and accelerome​ter
Hi,
I'm trying to collect data from both load cell (which doesn't need excitation) and accelerometer (which needs 4 mA excitation). As you can see below, I wrote a simple program to collect data from both devices. However, my program provides 4 mA of excitation to all channels, one of which shouldn't receive any current. How can I selectively provide the excitation to specific channels?
Any suggestions?
Solved!
Go to Solution.
Attachments:
readfromtwodevices.vi 47 KBGood morning jeongho20000,
Both aeastat and falkpl have provided excellent solutions for this. I also wanted to mention a good KnowledgeBase article found at ni.com by searching for "daqmx channel same task" in the internal search bar. This helps to outline both solutions. After searching, you can then select multiple entries, but the best that I found was the 3rd choice, titled: Using Different Types of DAQmx Global Channels in the Same Task.
You can download from the article the attached example VI titled Multiple Channels Created.vi, and modify the block diagram to fit your needs. Wiring the Task Out to the Task In of two DAQmxCreateChannel VIs is the programmatic equivalent of adding multiple Global Virtual Channels created in Measurement and Automation Explorer (MAX) to a common Task in MAX. Either method works, it is only a user preference. Feel free to reply if you need further clarification/explanation.
Best,
Message Edited by cyclone2k9 on 04-06-2010 11:08 AM
Message Edited by cyclone2k9 on 04-06-2010 11:09 AM
Adam
Academic Product Manager
National Intruments -
I want to do a simultaneous acquisition of accelerometer and an encoder measurements of a rotating machinery.
So which National Instruments data acquisition product must be chose to do this capture.
Solved!
Go to Solution.1st: check the voltage ranges of your encoders and accelerometers
2nd: do your accelerometers need IEPE power?
Ideas: (for accelerometers needing power and encoders with > +/-10V range)
NI USB 4432
NI USB 9232
NI CompactDAQ with 9232
other options in C series include 9234, 9229, 9215, etc.
In PXI, there is the 449x series of PXI express cards.
Do you have analysis and visualization requirements?
Take a look at these manuals:
http://digital.ni.com/manuals.nsf/websearch/5D343672A7367E6286257B9D00527B30
http://zone.ni.com/reference/en-XX/help/372416C-01/
Regards,
Preston Johnson
Principal Sales Engineer
Condition Monitoring Systems
Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
National Instruments
[email protected]
www.ni.com/mcm
www.ni.com/soundandvibration
www.ni.com/biganalogdata
512-683-5444 -
Problem Lenovo p70-A Accelerome​ter
I bought lenovo P70-A yesterday and i instal game CarXdrift from play store, the orientation is bit off. how to recalibrate the Accelerometer sensor ?, i tried almost all callibration software in playstore but nothing work.
Thanks Before.
XXXXXXXXX
Moderator comment: Email address removed for member's protection.i read this on one lenovo p70 forum, which the author solved his problem. below is the step (translated)
1. type * # * # 3646633 # * # * on dialpad and go to ENGINEER MODE menu
2. go to HARDWARE TESTING
3. scroll down until you find SENSOR menu
4. select SENSOR CALIBRATION
5. select Gsensor Calibration
6. place your handset on a flat surface and click Do Calibration
7. wait until "operation succeed" notification.
8. done.
hope this will help with the sensor problem
Maybe you are looking for
-
Yoga 2 11 - issues with internet connection
Hi, I bought the pc three weeks ago for my boyfriend and after a few days the internet did not work anymore. I've tried using both portable key (tre) both the wifi and I can navigate only on gmail, all the others pages are unreachable. I thought it w
-
I installed windows ultimate 64 bit, Tried to install firefox for my default browser. Internet explorer loads everything like normal, no problem but firefox will not load or does after 5 mins + I checked my firewall windows provides and Avira to see
-
Error :he creation of the default xuser entry aborts with returncode 2.
Hi, We are installing the SAP NW 2004 (ABAP +Java ) on AIX box with MAXBD 7.5. During the aBAP installing: a)We could sucessfully install the Central instance b)While installing the database instance we get the follow error: RR 11517 XUSER Could
-
How to configure OraMTS to allow WCF using MSDTC access OracleDB On unix?
How to configure OraMTS to allow WCF using distributed transactions to access the ORACLE database On Linux/Unix ? Env: 1. DB-tier node , ORACLE database (version: 11.2.0.1.0) on Redhat Linux server ; 2. middle-tier node ,Both the client, the MS DTC a
-
Accessing set item value in PL/SQL
We are setting item2, item3 values based on item1 value using dynamic actions. And we are trying to insert these values into a table using aPL/SQL block. Item2 and item 3 are going null in the table. Item2 and item 3 values are inserting fine if we u