Best way to make this step motor control system

The goal of my project is to have real-time data collected by a controller of Sir 158u Dataq a stepper motor.  I grappler planned on executing it with the basic stamp, but I realize that's not possible.  I have a stepper motor and a L293DNE driver.  I'll be permanently registration of data with the dataq, the form of volts and want these values to determine how the engine works.  For example, if the voltage is 0-3 volts, I want it running clockwise, 3-5 volts not turns not, and 5-8 Volt turn clockwise.

I tried to understand this last week, searching through discussions with basic stamp, matlab and labview now.

Is there an easy way to do this? or easier way that I'm trying to understand?

Any help would be greatly appreciated!

Thanks in advance.

-Nick

Nick,

What I was describing, this is how you configure the motor controller to accept PWM of LabVIEW and mode locked anti-phase so you can control the direction of the motor. Much on the part of LabVIEW depends on the acquisition of data you use. For example the acquisition of your data doesn't have a counter which can generate a PWM? I did some checking everything on time and the acquisition of your data is not made by National Instruments and I couldn't locate the native LabVIEW drivers. I did however go to the MFG Dataq 158u site and found that they do not have drivers LabVIEW BUT their software (SW) should run in the background. Dataq 158u website also has a help forum, I suggest you start to understand the capacity of the 158u Dataq. Also it seems that you are not familiar with LabVIEW, until you can take on a project like this, you have to start with the LabVIEW Basics, learn how to manage the tables so you can store your results of EDA and records the use of loops and timing and movement.  NOR has a basic training FREE as the intrudction 6hr to LabVIEW, I would like to start their. Oh, and in your OP (original post) you doubted the Basic Stamp could do that, I do this type of control using the Atmel microcontrollers all the time, I'm sure that the stamp eaisily could do. Download right on one of their forums for more information. Oh and to answer your question a UPS is an IC that reverses the input signal, which you would end upward with the direction of you pines motor controller is PWM on a spindle and 180Deg off phase PWM, on the other hand.

Alan

Tags: NI Software

Similar Questions

  • Best way to film this scene, stitch together plates or green screen?

    I have a call where I walk past a player with him framed on the right of the screen, ' actor A. ' then on the shoulder 'Actor A' (on the left side of the screen) another character is in sight, "actor B." at the end of shooting the camera move to stop and I want at the speed of the actor 'A' of the ramp so that it revolves around very quickly While the 'B' actor maintains a normal speed (which is him walking toward the camera as well). Is the best way to do this shoot with two plates separate and assemble them (if if, what is the best way to assemble the shots)? Or is - this green screen actor 'A' or 'B' and add them in? Remember, the camera moves to the rear while the actor 'A' heading, when moving player 'B' is also in the shot. Ramp speed of the actor 'A' occurs once it stops (it will whisk around extremely fast), how the camera will also be stopped.

    You have a few options. Usually, I start a VFX shot by the thought of the movement of the camera. If I move the camera what are the problems that will result?

    According to your description, you have a dolly with two actors. Tracks camera, the first actor as the second player enters the scene, then the unit stops and the second actor continues to his notes at normal speed while the first actor is accelerating. Two shooting plates will give control the moment where the first actor, but, in view of the camera move, requires you to simulate accurately the moment where two follow-up plans so the point of view between actors is consistent. It doesn't matter if the photos are on a green background. For the view between the two actors to match the camera moves must be identical to the camera angle and the speed of follow up.

    If, however, you shoot all the action in a single pass while you can use rotoscoping to separate into two pieces shooting where the camera stops moving and then adjust the time where the first actor. This works easily if you make sure that you don't move the camera at all once the track ends.

    If the players do not overlap so the second option is a piece of cake because your roto can be a very simple rough mask. If the players overlap in the framework then your roto work will have to be very precise when the players overlap, and you may need to perform a few background replacement to fill in the holes.

    If you decide to do with two plates, then you will probably need to track movement. stabilisation and re-synchronization of two shots to make them at the height. If the camera is moving when you accelerate the first actor, you will have to keep track of movement.

    A final option is to pull the first actor on a green screen and the second player as a bottom plate and then follow and stabilize the two shots to try to combine them. Here again, if the speed and angle of the two plans that you combine are not identical or at least nearby enough that you can easily fix them you'll be in a lot of tweaking to than the shots work.

    If it were my project, I shoot the two actors in a single plug and then divided take it there where should be the first actor have the speed change and make a few roto work. That seems to be the most straightforward approach.

  • Best way to make my SSD works again with a single partition

    There are 2.5 years, I replaced the original on my computer with a SSD hard drive. Months after I installed the beta version of Yosemite, the latest operating system for Mac at the time. To do this, the system created a partition on my drive, in which he has installed the beta version of Yosemite.

    I have today on the same partition, I installed Yosemite, Sierra macOS running. In the other, I have all files, so I want to eliminate. However, when I try to do this by using the disk on my Mac utility, it is not possible; I get a message that says I can't delete the first volume of the disc. When I try to increase the size of the partition on which macOS Sierra operates, so reduced the size of the other, the system won't let me.

    I would like to know what is the best way to make my SSD works with only one partition.

    You cannot delete the last partition that was created, that not 1.

    You can clone the content from the 2nd to the 1st, then you can remove the 2nd.

  • Best way to make new Apple ID it is iCloud address?

    I'll put up an iPad to a parent for the first time.

    What is the best way to make a completely new Apple ID, and have Apple ID to BE a whole new address @icloud.com?

    I think, the best way to do that is when you turn the iPad first and get the opportunity to create a new Apple ID. Fix?

    Hello Ruben,.

    Thank you for using communities of Apple Support.

    If you wish to set up a new Apple ID and iCloud email address, then you can do so at step 6 as shown in the article below.

    Start with the iPhone, iPad and iPod touch

    Once you get the entire installation, when you connect to iCloud and select the mail option, you should then prompt to create an email address @icloud.com.

    iCloud: set an email address @icloud.com

    Take care.

  • What is the best way to make a PDF file several Photoshop images, while maintaining editable layers?

    What is the best way to make a PDF file several Photoshop images, while retaining the layers in editable for later use mode? I tried to do in Acrobat, but it does not keep separate layers. I also tried to automate the PDF presentation in Photoshop, but it combines the layers as well. I need to enable layers from photoshop retain their ability to be edited.

    It is not possible at this time, Photoshop is not a page layout program and pdf is hardly a format suitable to hold several files psd layered or editable page layouts.

    Why would you do that anyway?

  • Best way to make an Insert or Update

    I do a few insert/updates via php to oracle.

    Each of them will return an id to php.

    If its an insert, it will return the new id (generated by a trigger and sequence)

    If its an update it returns the identifier.

    Is the best way to do this with a separate insert statement and unfavourable update?

    Or a merger for both? I like merge, but then how do you return the ID in the same statement.

    Pleiadians wrote:

    If the id is generated by a trigger, you will have no control over the sequence and have question the id after insert/update.

    In this specific scenario where you want to return the id, it may be better not to use a trigger, but to explicitly call the sequence.nextval and store it in a variable, then you can return it at the end of the function.

    Why?  You can always use a trigger and return the value in a variable...

    SQL > create table mytable (id number, myval varchar2 (20))
    2.

    Table created.

    SQL > create the sequence mysequence
    2.

    Order of creation.

    SQL > create or replace trigger trg_mytable
    2 front of insert on mytable
    3 for each line
    4 start
    5 Select mysequence.nextval in: double new.id;
    6 end;
    7.

    Trigger created.

    SQL > set serverout on
    SQL > create or replace procedure insert_rec (val varchar2) is
    2 v_id number;
    3. start
    4 insert into mytable (myval) values (val)
    5 return id in v_id;
    6 dbms_output.put_line (' record inserted with id: ' | v_id);
    7 end;
    8.

    Created procedure.

    SQL > exec insert_rec ('Test');
    Record inserted with id: 1

    PL/SQL procedure successfully completed.

    SQL > exec insert_rec ('Test2');
    Record inserted with id: 2

    PL/SQL procedure successfully completed.

  • Best way to make a custom avatar?

    Hey there ^_^

    I'm making a game that relies heavily on a customizable character that allows to change the user thanks to a dress up game.  I have the entire party dress works well, but looking at it, I don't know anyway to the character over to be used in different scenes and move to different locations on the screen.

    What would be the best way to do this?

    I'm beginning to remake the game, making the doll a clip, with separate internal symbols for her hair, eyes, etc.  However, if I have this code the same, the buttons are all will appear in the clip, as well as all the unused clothes!

    2 questions:

    * What do you think is the best way to do this?

    * Is there a way to call an internal symbol to switch frames?

    (ex), I have the video for "Doll" and all the buttons on the main timeline.  There is within the 'Doll' video clips 'Hair', 'Eyes' and 'Skin '.  How I would change the hair clip frame from the buttons on the main timeline?

    Is there a way to layer instance names, such as: Doll.Hair.nextFrame ();

    There are several ways that you can deal with especially against city not things.  It's a way to control visibility.  Using frameworks for the different elements is a way. Things the Library dynamic loading is a way.  Creating bitmaps for selected parts and asembling them is a way.

    Whatever way you choose you follow some level of control for the things you do and don't want not involved.  Things loading and unloading dynamically will be your best choice if you want or need to reduce to a minimum the bytes - the weight of your characters.

  • What is the best way to make the uniform skin (not necessarily blur it!)

    Hello

    I have some photos where the skin of the leg of the model is not uniform brighteness. Without this vagueness, I tried the clone stamp, but it is very difficult not to introduce new variations of brightness.

    What is the best way to make the uniform skin of brightness (in fact, the same color!)?

    Thank you

    Juan dent

    I know EXACTLY what you mean.  I was doing something exactly on these lines just yesterday.

    It is not trivial, but it is doable.

    For 'hard points', you can try the Spot Healing Brush first.

    But here is a tip that I use sometimes which may well increase overall finesse:

    1. select just the surface of the skin.

    2. selection a little market and soften the edge, just to make sure that you don't mess the edges.

    3. median filter - noise - and set the RADIUS to be big enough.  Look at the image to see the level of smoothing.

    4. change - bland and knock back effect, while it is not perfect, but makes a subtle improvement.

    Then, for clearing-up soft darkening, try the burn and Dodge tools, at a low level of exposure (and possibly with Airbrush Mode).  Work slow.

    Cloning with low opacity can sometimes help as well.

    -Christmas

  • Best way to make a chain

    What would be the best way to distribute this link along this way to make it look like a string? Thank you very much!c2.jpg

    Make a scatter brush. Play with the size and spacing and use the rotation relative to the path.

  • What is the best way to read this binary file?

    I wrote a program that acquires data from a card DAQmx and he writes on a binary file (attached file and photo). The data I'm acquisition comes 2.5ms, 8-channel / s for at least 5 seconds. What is the best way to read this binary file, knowing that:

    -I'll need it also on the graphic (after acquisition)

    -J' I need also to see these values and use them later in Matlab.

    I tried the 'chain of array to worksheet', but LabView goes out of memory (even if I don't use all 8 channels, but only 1).

    LabView 8.6

    I think that access to data is just as fast, what happens to a TDMS file which is an index generated in the TDMS file that says 'the byte positions xxxx data written yyyy' which is the only overload for TDMS files as far as I know.

    We never had issues with data storage. Data acquisition, analysis and storage with > 500 kech. / s, the questions you get are normally most of the time a result of bad programming styles.

    Tone

  • What is the best way to make the completely white background for the pictures of the products?

    What is the best way to make the completely white background for the pictures of the products?  I just need to show a product on a completely white background.

    Shoot on properly informed white background is easy. Then be tot apply an adjustment layer to whiten the BG, then apply a mask for the domains you want to not so bright.

  • I bought CS6 extended yesterday (yes I did). I have CS4 and many photos in bridge (keywords tag). What is the best way to make my photos in bridge cs4 cs6? Is there a guide how to go about so I do not lose one of my keywords/photos? WH

    I bought CS6 extended yesterday (yes I did). I have CS4 and many photos in bridge (keywords tag). What is the best way to make my photos in bridge cs4 cs6? Y at - it a guide how to: so I do not lose one of my keywords/photos? Who can help?

    Keywords travel with the file, so it shouldn't be a problem. Here's how export you key word of CS4 information and import it into CS6.

    How to import metadata and keywords Bridge to CS6 in CS4 so that I don't lose if CS4 is not

    I hope that your situation is not as complicated.

    Gene

  • I'm moving my files to workspaces to cloud.adobe.  What is the best way to achieve this?

    I'm moving my files to workspaces to cloud.adobe.  What is the best way to achieve this?

    Hi Traci,

    So big that you get ready for the transition to cloud.acrobat.com! Please see that the specified item was not found. For more detailed information on downloading your files.

    When you open a session workspaces, however, you will see a big red box at the bottom left. Click this box, and your files will be packed to the top for you. You will receive an email with the instructions when the packaged files are ready for you.

    Best,

    Sara

  • I have an After Effects project and I want to re-do edge animate. What is the best way work for this?

    I have an After Effects project and I want to re-do edge animate. What is the best way work for this?

    Hello

    Sorry, but you will probably need to rebuild everything in Animate. Although their timelines are similar in some ways, there is no interoperability between After Effects and animate dashboard.

    Kind regards

    Joe

  • I'll do a clean install on a blank hard drive upgrade but want to keep my Firefox settings - what is the best way to do this?

    I'll do an upgrade from Windows XP to Windows 7. I will be installing Windows 7 on a new empty hard drive. I want to keep my bookmarks Firefox and Ad Ons. What is the best way to do it. Thank you for your help.

    Hello

    The best thing for you to do is to make a backup of your Firefox profile. It is a folder that stores bookmarks and Add-ons that you can then add to the reinstalled Firefox on your new operating system.

    Learn you more about the Firefox profile folder, how to backup and restore, here.

    I hope this helps, but if not, please come back here and we can look at in another option for you.

Maybe you are looking for