Mạch Phát Nhạc Mp3 Đọc Qua Thẻ Nhớ, Usb

 - 

Our Getting Started guide will walk you through the specifics of setting up your SmoothStepper. However, this documentation page contains a large amount of information that is not covered in the Getting Started guide. 

 

 

 

Safety Information

*

Any machine tool is potentially dangerous. Computer controlled machines are potentially more dangerous than manual ones.

Bạn đang xem: Mạch phát nhạc mp3 đọc qua thẻ nhớ, usb

Warp 9 Tech Design, Inc. does not accept responsibility for the performance of any machine or any damage or injury caused by its use. It is your responsibility to ensure that you understand the implications of what you thiết kế & build và khổng lồ comply with any legislation và codes of practice applicable to your country or state.

Please read this link for our complete article on Safety Information.

 

Overview

This documentation page provides the information necessary khổng lồ install the USB SmoothStepper in a CNC system controlled by Mach3. It is assumed that you are using the correct Windows driver for the USS, that the recommended version of Mach3 is installed on your computer, và that you are using the current USS Plugin for Mach3. Each of the 3 previous links provides a short video clip và documentation on how to lớn install the respective pieces of software.

It is outside the scope of this documentation page khổng lồ explain the operation or configuration of CNC systems và Mach3 except for information that is specific to the SmoothStepper. For information pertaining to lớn the operation of Mach3 và CNC systems in general, there is a wealth of sources already available:

Installation of the USB SmoothStepper is meant to lớn follow the order of the sections on this documentation page. Please follow this sequence and you should have a successful installation.

 

USB SmoothStepper Description

Please visit our Products Page for a detailed capabilities chart.

The USB SmoothStepper (USS) is a 6 axis motion control device that connects khổng lồ the USB port of a computer. It accepts commands from a trajectory planner (i.e. Mach3) and produces a very high unique pulse train khổng lồ stepper & servo motors. At this time the SmoothStepper only works with Mach3, but we will be releasing a Mach4 Plugin in the near future.

When used with Mach3, the USB SmoothStepper can act as a replacement for two printer ports, both in terms of function và connections. It can be viewed as a super printer port. If your system is currently using Mach3 with one or two printer ports, changing to lớn the SmoothStepper should be very easy. The SmoothStepper allows computers with no printer ports, such as laptops, lớn control motion with Mach3. 

Great care was taken khổng lồ make the SmoothStepper an easy replacement for the parallel ports. Initial wiring in most existing systems will be as simple as unplugging the printer port cables from the baông xã of the computer và plugging them into lớn the two 26 pin headers on the Smooth Stepper using an adapter. An advantage here is that the ports và pins thiết lập under Mach3 for the printer port, should work without change with the SmoothStepper.

The only connection required between the SmoothStepper và the host computer is through a USB port. This connection provides power and allows communication between the computer & the SmoothStepper. The SmoothStepper may also be powered from an external regulated source of 5V DC.

The SmoothStepper receives movement instructions from the motion planner in Mach3 & produces step & direction pulses for motor controllers that accept that size of control, either servo or stepper. In addition, the SmoothStepper provides spindle control and can handle all the other Input/đầu ra (I/O) functions that are normally handled by the two printer ports under Mach3. By taking over the task of producing step và direction signals, the SmoothStepper relieves the host computer of most of the CPU load normally involved in running Mach3. The dedicated hardware in the SmoothStepper produces pulse streams up lớn 80 times faster, & with more precise timing than Mach3 using the printer port.

The Software for the USB SmoothStepper consists of two parts. The first consists of the SmoothStepper USB drivers that allow your computer to recognize & communicate with the SmoothStepper hardware. The installation of the drivers is the same as it is for any new hardware in Windows và need only be done once. The second part is the Mach3 Plugin, which allows Mach3 to lớn send motion và I/O information to the SmoothStepper. The Mach3 Plugin for SmoothStepper is installed once on initial setup, và whenever you choose khổng lồ tăng cấp to a new version.

When Mach3 loads & runs the SmoothStepper Plugin, the first thing the Plugin does is tải về the computer program (called firmware) into the SmoothStepper hardware. This happens automatically và invisibly. The firmware contains the instruction phối for all the SmoothStepper functions. All of the digital hardware, including the pulse generators, is included in the firmware. The firmware is actually a component of the Plugin file, so no action is required on the part of the user. With the firmware being a component of the Plugin, it insures that the firmware và the Mach3 Plugin software are of the same versions. This eliminates the costly headabịt of mismatched firmware and software. Upgrades are also trivial with this arrangement.

 

System RequirementsA Windows PC from XPhường lớn Windows 8.1 (Windows 10 will be supported shortly).The PC needs to be able to run Mach3, if it can do that it should work fine with the USS.If running Windows 7 or newer, we recommover at least 4 GB of RAM. However, 6+ GB will help to lớn make it a more enjoyable experience for you. Some people run with less than 4GB of RAM, but the OS works much more efficiently with 4GB or more.If running Windows XP, we recommkết thúc at least 2 GB of RAM. Some people can run it with 1GB, but 2GB or 3GB will help to lớn make it a much more enjoyable experience for you.USB 1.1, 2.0, or 3.0Breakout Board:

The SmoothStepper was designed to be a parallel port replacement. You should be able to connect its I/O ports directly to a breakout board and follow the instructions for that piece of hardware. A breakout board is a device that connects to lớn the SmoothStepper’s I/O connectors, & connects each I/O line khổng lồ buffer ICs or terminal blocks. The terminal blocks provide a convenient method of connecting motor drivers, limit switches, etc. khổng lồ the SmoothStepper. These buffer ICs may be “optical isolators”, which are ICs that transfer a signal by way of light rather than electricity. By converting electricity lớn light and back again, an electrical path for damaging voltages và currents is eliminated. 

 

Can the USS drive sầu my motors directly?

The USS is not a high-power device. Its drivers are svào, but not nearly strong enough khổng lồ drive a motor. Its drivers must drive a “motor driver”, which is a device that accepts a low cấp độ đầu vào and essentially amplifies it so that the motor can turn with force.

 

Unpacking And Preparing Your USB SmoothStepper

Your SmoothStepper will be packaged in an anti-static bag. Please be careful khổng lồ handle it in a static-không tính phí environment. Depending upon what you ordered, the package should include the following:

USS (USB SmoothStepper) board4 small shorting jumpers. These jumpers are plugged onto lớn the board already, though the power jumper is the only one of them doing any shorting. The other three are only attached khổng lồ one of the two posts. You should note where they came from & store them for safe-keeping if you vày not use them (see the next section for a picture of the SmoothStepper and further mô tả tìm kiếm of what the jumpers are used for). 

 

What else will I need?

At a minimum, you will need lớn obtain the following:

An USB cable to connect khổng lồ your PC.Ribbon cables to connect lớn a BOB or a BOB lớn connect khổng lồ your motor drivers and other CNC equipment.

We bởi sell some of these items on our store, and you may also find the other items sold by our Distributors & Solution Partners.

 

USB SmoothStepper Connectors và Information

*

Cliông chồng here for a larger image.

 

The expansion port has never been used on the USS và it never will be implemented, since there are not sufficient FPGA resources to lớn implement the expansion port.

 

Initial Setup và Testing

The USB SmoothStepper does not need to be connected to motors và breakout boards in order lớn demo its operation with Mach3. Place the USB SmoothStepper on a static-không lấy phí surface near your computer. You may mount it in your chassis/control box, but bởi not connect anything khổng lồ it yet. Please use USB power for the initial chạy thử. The SmoothStepper is shipped in this configuration, so you will not need khổng lồ vày anything to select it. Later on you may use an external 5V source for power, but please read the section on that before doing so.

 

 

Installing the Windows Driver for the USS

Our Getting Started guide will walk you through the specifics of setting up your SmoothStepper. This article will help you connect your USS lớn your PC và install the Window"s Driver.

 

 

Installing Mach3

Our Getting Started guide will walk you through the specifics of setting up your SmoothStepper. Clichồng here to lớn tải về & install the recommended version of Mach3 on your computer. 

 

There is no Mach4 plugin for the USS.

 

 

Installing the Current USS Plugin

Our Getting Started guide will walk you through the specifics of setting up your SmoothStepper. This article will help you install the Mach3 USS plugin and configure Mach3.

 

 

Connecting The SmoothStepper khổng lồ Your Machine

The SmoothStepper is intended khổng lồ be used with breakout boards that make it easier khổng lồ wire motors & switches, as well as protect it from damaging voltages by way of optical isolation. Optical isolation also keeps electrical noise from one circuit away from another since the signals are transferred by light rather than electrithành phố. If you are using an external 5V supply, please see the next section before connecting the SmoothStepper to anything.

 

Using an External 5V Supply (OPTIONAL)

The SmoothStepper may be powered from either the 5V of the USB cable, or a regulated 5V supply. It absolutely must not peak any higher than 5.5V, otherwise you will damage the device. External 5V may be applied via the pluggable screw terminal J7, or it may also be applied via jumpers JP2 & JP3. These jumpers are meant for breakout boards, và it is not recommended lớn use them unless you’re using them that way. If you are using this method of powering the SmoothStepper, you should be very sure lớn move the power selection jumper JP4 khổng lồ the External 5V position. Otherwise, you would be connecting the external 5V on pin 26 of the header to the computer’s USB supply.

There is no reverse polarity protection for JP2 và JP3. However, J7 has a PMOS transistor in series with the positive lead lớn protect against the accidental connection of power in the wrong polarity. But before you connect the 5V to the device, disconnect all cables, including the USB cable. Otherwise, if you have the polarity backwards, you will be connecting +5V khổng lồ the ground of your system. This can damage your computer & the ground of the SmoothStepper. If there is no return path lớn ground, there is nothing lớn worry about. The PMOS transistor blocks the current in the reverse direction, & current from the +5V supply goes nowhere because the ground of the SmoothStepper is insulated from everything. Select external 5V by moving jumper JP4 (unfortunately the “JP4” designator is hidden by the large yellow capacitor) lớn the two terminals away from the USB connector. The middle pin of the three pins is the 5V for the board, và this is either jumpered to the USB 5V or the external 5V (screw terminals). The unconnected pin on JP4 is highlighted by a red oval in the next pictures.

Xem thêm: Phim Conan Tập Cuối Conan Thám Tử Lừng Danh, Đọc Tập Cuối Conan Thám Tử Lừng Danh

*
*

The screw terminals are “pluggable”, that is, they may be unplugged from the board. The 11-pin terminal is actually composed of several 2 và 3-pin connectors, so don’t be alarmed if it starts to lớn come apart as you pull it off. Also note that these connectors can be plugged onto lớn their headers in one of two orientations. One is with the wires facing out (Green Arrow), & one with them facing up (Blue Arrow). The unconnected pin on JP4 is highlighted by a red oval in the next picture.

*
Either Orientation Is OK

The polarity of the external 5V is printed on the PCB in front of 2-terminal screw terminal. Ground is the terminal closest khổng lồ the mounting hole. This is the only mounting hole of the four that connects to the ground of the circuit board (all the other holes vày not connect lớn anything). Jumper JP5 right next to the hole connects this hole to lớn the ground of the PCB. You may connect it as you see fit. If you connect the 5V with the correct polarity, the xanh power LED will be lit. If not, no LEDs will be lit. Once you have sầu the 5V connected properly, then you may proceed. If you are using the 5V from the USB, there is no way khổng lồ connect it improperly.

The USS has a typical current draw of around 0.1 A when idle. However, we recommover providing at least 0.5 A since that is what a USB hub would provide. If you are using your USS lớn power a BOB or other circuits, we strongly recommkết thúc a 1.0 A supply since they don"t cost much more. Extra current capacity will prevent random hard to diagnose issues if you are too cđại bại lớn the supply"s maximum current. The 5 V supply must be a regulated supply with a tolerance of ± 10%, however ± 5% is preferable.

Small 5V, 1.0A (or larger) power supplies are inexpensive sầu, and are offered by our distributors. Make sure that they have a good voltage regulation và can supply that voltage from 0A up khổng lồ their maximum rating. Common power supply types are:

Wall Transformers are inexpensive & convenient if you have an AC receptacle available. They are available with a single style of AC prongs, or they are also available as plug-on attachments depending upon the country you are using it in. Most of these transformers are capable of running from 100-240V and 50 or 60 Hz. A very common source of these are cell phone chargers. The barrel connector or USB connector must be cut off in order to lớn attach to lớn the ESS’s screw terminals.

*

*

Open Frame nguồn Supplies are inexpensive, small, và lend themselves well lớn wiring the AC power without needing an AC receptacle. The board pictured here does not have a frame. Often they include an aluminum enclosure that only covers a portion of the PCB.
*

 

Din Rail Mount power supplies are handy if you have a DIN Rail in your cabinet.
*

 

Here are some commonly encountered problems due to lớn incorrect power supply choices:

Using a switching supply: Switching power supplies may require a 10% load before they start to lớn operate correctly! This means a 5 A switching supply would need 0.5A before it would start lớn regulate, which is more than the ESS would draw on its own, & as a result the ESS may never start up or it may switch off intermittently. If you know that you will always be above the minimum current draw of the switching supply, this can be a good choice.Using 5V power from your computer: This is always BAD! Always use a power supply separate from your PC’s power supply.The first issue is that it creates ground loops with your computer"s electronics which can add electromagnetic noise to both your computer and USS. This is because the USB cable is already creating a ground connection.The second and more important issue is that the plasma systems & motor drivers may create noise, voltage and current spikes that can flow baông xã into lớn your compute! The ESS uses Ethernet which by its nature isolates your PC from your CNC equipment. USB isolators are available online to provide isolation similar khổng lồ that of Ethernet.Using a power supply that only outputs 0.5 A (or less): This means that the supply may not have sầu enough current to supply the ESS when it is under full load, và the voltage may drop enough lớn cause the ESS khổng lồ turn off and/or reset. This is not always any easy problem khổng lồ diagnose, but it can be avoided by using a power supply with at least 1.0 A available. Taking 5V power from a breakout board: This can be a very difficult issue lớn troubleshoot, since most of the time it will work fine. However, if the breakout board is not specifically designed khổng lồ supply 5V power to the ESS it may not have the ability to supply sufficient current when the ESS needs it, và a remix may occur. Using a poorly regulated power supply: If the voltage from the power supply drops below 4.5 V or goes above 5.5 V (5.0 V +/- 10%) at any point, YOU WILL HAVE PROBLEMS. You really want lớn try and use a power supply that will stay between 4.75 V and 5.25 V (5.0 V +/- 5%). 

Small 5V, 1.0A (or larger) power supplies are inexpensive sầu, & are offered by our distributors. Make sure that they have a good voltage regulation và can supply that voltage from 0A up to their maximum rating.

 

Another problem that we hear of occasionally, is noise coming inkhổng lồ the SmoothStepper through the power line. The noise can cause weird glitches, random crashes, or just make the program halternative text running. This noise can be caused by TIG welders, plasma torches, air compressors and other large motors being on the same AC power circuit as the SmoothStepper. Switching lớn a different AC circuit can commonly fix the noise issue, as well as testing when other machines are not running at work (after hours or on a weekend). If this is a problem for you, a Power nguồn Backup designed for PCs that has good noise filtering can also help solve the problem. Another possible solution is lớn use debounced or filtered inputs in the SmoothStepper setting inside Mach on your EStop, home page and limit switch inputs.

 

Schematics

 

 

 

Numbering of the 26 pin headers

This picture shows how a 2x13 header is numbered outside of the parallel port world. This is NOT how we number them!

*

 

We adhere lớn the parallel port standard (since that is where this industry started và all of the BOBs expect it).

*

 

DB25 lớn 26-pin Low-Protệp tin Header Ribbon Cable

This schematic shows pictorially how the wires are oriented in a DB25 to lớn 26-pin header ribbon cable. The pin numbering for the header is the unconventional numbering that matches the DB25.

*

 

 

 

 

Parallel Port Connector: Pin Sạc 26

Sạc 26 of each parallel port connector is attached khổng lồ a set of header pins. When these pins are shorted together, the 5V of the board & the 5V of the breakout board are connected to lớn each other. These are jumpers JP2, JP3 và JP4.

*

 

All USS Port IO

Here is a color coded maps to lớn all of the USS port IO. The 3 single ended inputs and the 3 differential ended inputs are all dedicated inputs. USS Port 3 exists on both J6 và J5, with the only difference being the styles of the connectors.

 

*

 

Port3 of the USS has Silk Screen names on the board that don"t match up with the port & pin values in the plugin. This image shows the mapping you will use when assigning ports and pins. 

*

 

Dedicated Input Pins

Pins 10, 11, 12, 13, & 15 of ports và 2.

These pins are rated for 0 khổng lồ 5V. Never go negative or exceed 5.5V or damage will occur!

Please note that the 4.7kOhm pull up resistor will pulled up the input đầu vào if there is not an external circuit adequate khổng lồ pull it low. The Schmidt trigger will be high impedance and not consume any input đầu vào signal current (of significance). 

The 4.7kOhm pull up resistor, will constantly try khổng lồ pull the Schmidt trigger"s input đầu vào pin up to lớn 5V (Okay I am neglecting that diode drop, but it will still be above the Schmidt trigger"s high voltage threshold). If the pin has no external circuitry connected lớn it, it will be pulled high.Applying an external 5V to the pin will just assist the pull up resistor. Since there is no circuitry to consume current, you can try to đầu vào as much current as you would lượt thích lớn at 5V, it just won"t consume any current (other than a very small amount during the transition from low khổng lồ high).An external 0V applied to lớn the pin, will will need khổng lồ fight the pull up resistor. Since I = V/R =5V/4.7kOhm = 1.06mA you will need lớn be able lớn sink a little over 1mA khổng lồ pull that node low. (if you include the diode drop, the pull up current is just under 1mA.) You will need khổng lồ be able khổng lồ sink at least 1mA lớn overcome the pull up resistor, & sinking at least 2mA will quickly defeat the 1nF cap và allow for reasonable switching times. Your external circuit can have sầu the capability lớn sink much more than that, but 2mA is the recommended minimum.When the USS is powered, but not yet controlled by Mach3, these pins will be pulled high (about 4.5V up to 5.5V based upon your power supply voltage). Any external circuitry that is sourcing or sinking a current to/from the pin will change the state of the pin. The low pass filter of the 1 nF capacitor and the 100 Ohm resistor has a 3 dB cutoff frequency of 1.5 MHz, which will limit the maximum frequency to about there instead of the 4 MHz capable on the bidirectional đầu vào pins 2-9 on ports 2 & 3.

*

 

 

Dedicated Output Pins

Pins 1, 14, 16, và 17 of ports 1 và 2, plus pins 2 through 9 of port 1

These output pins are rated lớn deliver 0V to 5V, but may go as high as 5.5V if your power supply is sourcing that voltage. These outputs may drive sầu (source) up to +24mA of current (in positive sầu logic or active sầu high mode) or sink up khổng lồ 24 mA of current (in negative sầu logic or active sầu low mode).

Please note that each of these pins has a dedicated 47.0kOhm pull down resistor.

When the USS is powered, but not yet controlled by Mach3, these pins will be pulled low, down lớn GND. After Mach3 takes control of the USS, the unconfigured pins will stay the same, & the configured pins will be determined by your settings. Any external circuitry that is sourcing or sinking a current to/from the pin will change the state of the pin, but since this is a dedicated output, there should not be any circuity trying to control this pin. The external circuitry should only be reading this pin"s value. The 74ACT541MTC used for the Dedicated output pins provides a 24 mA drive sầu (push or pull)

*

Bidirectional I/O Pins

Pins 2 through 9 of Ports 2

These pins are rated for outputting 0 to lớn 5V, but may go as high as 5.5V if your power supply is sourcing that voltage. Their output current is designed to lớn drive (sink) +(-) 32 mA.

These pins are rated for an external đầu vào voltage of 0 to 5V. Never go negative or exceed 5.5V or damage will occur!

Please note that each of these pins has a dedicated 47.0kOhm pull down resistor. This pull down resistor will not have sầu any significant effect in output mode, other than assuring the output will be pulled low in an un-powered state.

In đầu vào mode:

The 47.0kOhm pull down resistor, will constantly try lớn pull the đầu vào pin down to lớn 0V. If the pin has no external circuitry connected khổng lồ it, the input pin will be pulled low.Applying an external 0V lớn the pin will just assist the pull down resistor. Since there is no circuitry to consume current, you can try to lớn sink as much current as you would like to lớn at 0V, it just won"t consume any current (other than a very small amount during the transition from high to low).An external 5V applied khổng lồ the pin, will will need to fight the pull down resistor. Since I = V/R =5V/47kOhm = 0.106mA you will need lớn be able lớn source a little over 0.1mA khổng lồ pull that node high. You will need lớn be able khổng lồ source at least 0.1mA to overcome the pull down resistor, và sourcing at least 0.2mA will allow for reasonable switching times. Your external circuit can have sầu the capability lớn sink much more than that, but 0.2mA is the recommended minimum.When the USS is powered, but not yet controlled by Mach3, these pins will be pulled low, down lớn GND. After Mach takes control of the USS, the unconfigured pins will stay the same, và the configured pins will be determined by your settings. Any external circuitry that is sourcing or sinking a current to/from the pin will change the state of the pin. If the pin is phối as an output, there should not be any external circuity trying lớn control this pin; the external circuitry should only be reading this pin"s value.

*

 

 

Expansion Port

The expansion port has never been used on the USS and it never will be implemented, since there are not sufficient FPGA resources to implement the expansion port.

 

Technical Details

 The technical details & specifications for the USS may be found here.

 

Configuring Mach3 to lớn work with your USB SmoothStepper

Your USB SmoothStepper should be ready khổng lồ configure within Mach3 now. Since the USB & Ethernet SmoothSteppers are so similar when configuring in Mach3, we have sầu a set of dedicated pages to lớn khuyến mãi with that. 

 

 

Deprecated Manuals

This documentation page provides all of the updated & relevant information for the USB SmoothStepper. For archival purposes we have sầu the original manual below, but it is to be considered outdated và therefore deprecated: