My 5 Axis CNC Milling _ CNC Router Controller_ Mach3_Mach4_UCCNC machine control software

5 Axis CNC Controller Box Mach3/Mach4 , Bipolar Stepper Driver Based , USB/LPT This pre-wired 4Axis stepper motor control box has everything you need to drive a  CNC Milling machine, CNC Router and motion control – with 4 stepper driver, one power supplies, e-stop, power plugs, limit switch, parallel port input or USB/LAN Optional. This unit is expandable to your needs, versatile, and flexible. The Unit CNC Controller includes 4×4.2amp micro-stepping Bipolar Drivers at defaults, giving you versatility. Have a machine with two motors driving the gantry? No problem. You will still have a spare back-up driver for high-reliability, or use the spare for a rotary axis, and still be able to swap it over as a backup in case you have a driver failure in a high-reliability production environment. This unit comes with breakout board that can be configured for parallel control or optional USB-control.

Features

  • 4X4,2Amps Stepper Motor Driver
  • 1X 7.2Amps Stepper Motor Driver
  • Compatible with Mach3_Mach4_UCCCNC Software
  • Connector for 230V AC supply input
  • 4 PIN Female XLR connectors for stepper motor connection
  • 9 PIN D Sub Connector for Limit Switches
  • 9 Pin D Sub connector for Emergency switch
  • 24V 14Amps SMPS for Motors
  • Onboard 24V to 5V DC-DC Converter
  • On/Off Switch

INVERTING AMPLIFIER SCHEMATIC PCB USING TLV170

INVERTING AMPLIFIER SCHEMATIC PCB CALCULATION USING TLV170

Design Description

This design inverts the input signal, Vi, and applies a signal gain of –2V/V. The input signal typically comes from a low-impedance source because the input impedance of this circuit is determined by the input resistor, R3. The common-mode voltage of an inverting amplifier is equal to the voltage connected to the non-inverting node, which is ground in this design. D1 indicates the power, all connection can be done using CN1 header connector, Capacitors, Resistors, LEDs are SMD components size 0805. Op-Amp TLV170 from Texas Instruments.

D1=Power LED, CN1= 6 Pin male header connector

DESIGN GOALS
ViMIN=-7V, ViNMAX=7V, VoMIN=–14V, VoMAX=14V, F=3KHZ, V+=15V, V-=-15V

Design Notes

  1. Use the op amp in a linear operating region. Linear output swing is usually specified under the AOL test conditions. The common-mode voltage in this circuit does not vary with input voltage.
  1. The input impedance is determined by the input resistor. Make sure this value is large when compared to the source’s output impedance.
  1. Using high value resistors can degrade the phase margin of the circuit and introduce additional noise in the circuit.
  1. Avoid placing capacitive loads directly on the output of the amplifier to minimize stability issues.
  2. Small-signal bandwidth is determined by the noise gain (or non-inverting gain) and op amp gainbandwidth product (GBP). Additional filtering can be accomplished by adding a capacitor in parallel to R1. Adding a capacitor in parallel with R1 will also improve stability of the circuit if high value resistors are used.
  1. Large signal performance may be limited by slew rate. Therefore, check the maximum output swing versus frequency plot in the data sheet to minimize slew-induced distortion.
  1. For more information on op amp linear operating region, stability, slew-induced distortion, capacitive load drive, driving ADCs, and bandwidth please see the Design References section.

 

 

 

Application Courtesy of Texas Instruments

 

 

 

 

Window Comparator/Voltage Sensitive Switch TLV1701

Window Comparator/Voltage Sensitive Switch TLV1701

This circuit utilizes two comparators in parallel to determine if a signal is between two reference voltages. If the signal is within the window, the output is high. If the signal level is outside of the window, the output is low. For this design, the reference voltages are generated from a single supply with voltage dividers.

This 5V single-supply window comparator utilizes a dual open-collector comparator and two trimmer potentiometer to set the  window voltage. 2X TLV1701 was used in this design due to its low power consumption and open collector output, which allows the output to be pulled up as high as 36 V.

 

 

 

 

 

 

 

Example Circuit From Texas Instruments

 

Light Effects and Sound Effects Arduino Nano

Light Effects and Sound Effects Arduino Nano shield, shield contains 11 LEDs ,one buzzer and INA198 current measurement , shield can be used to develop various projects like LED Bar-graph Volt Meter, Bar-Graph Current Meter, LED light effects, Warning light and sound.

Download Data Sheet INA198 Current Sensor

  • Supply 5V DC
  • 11 LEDS Connected to D2-D12 Digital Pins Of Arduino Nano
  • Buzzer Connected to Digital Pin D13 to Arduino

 

 

 

 

ARDUINO CODE


*/

int led = 13;
int led2 = 2;
int led3 = 3;
int led4 = 4;
int led5 = 5;
int led6 = 6;
int led7 = 7;
int led8 = 8;
int led9 = 9;
int led10 = 10;
int led11 = 11;
int led12 = 12;

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
pinMode(led4, OUTPUT);
pinMode(led5, OUTPUT);
pinMode(led6, OUTPUT);
pinMode(led7, OUTPUT);
pinMode(led8, OUTPUT);
pinMode(led9, OUTPUT);
pinMode(led10, OUTPUT);
pinMode(led11, OUTPUT);
pinMode(led12, OUTPUT);

}

// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH);
delay(50);
digitalWrite(led, LOW);
delay(100);
digitalWrite(led, HIGH);
delay(90);
digitalWrite(led, LOW);
delay(60);
digitalWrite(led, HIGH);
delay(150);
digitalWrite(led, LOW);
delay(20);
digitalWrite(led, HIGH);
delay(120);
digitalWrite(led, LOW);
delay(70);
digitalWrite(led, HIGH);
delay(10);
digitalWrite(led, LOW);
delay(50);
digitalWrite(led, HIGH);
delay(250);
digitalWrite(led, LOW);
delay(90);
digitalWrite(led, HIGH);
delay(100);
digitalWrite(led, LOW);
delay(130);
digitalWrite(led, HIGH);
delay(20);
digitalWrite(led, LOW);
delay(90);
{digitalWrite(led2, HIGH);
delay(100);
digitalWrite(led2, LOW);
delay(100);}
{digitalWrite(led4, HIGH);
delay(100);
digitalWrite(led4, LOW);
delay(100);}// wait
{digitalWrite(led5, HIGH);
delay(100);
digitalWrite(led5, LOW);
delay(100);}// wait
{digitalWrite(led6, HIGH);
delay(100);
digitalWrite(led6, LOW);
delay(100);}// wait
{digitalWrite(led7, HIGH);
delay(100);
digitalWrite(led7, LOW);
delay(100);}// wait for a second
{digitalWrite(led8, HIGH);
delay(100);
digitalWrite(led8, LOW);
delay(100);}// wait
{digitalWrite(led9, HIGH);
delay(100);
digitalWrite(led9, LOW);
delay(100);}// wait
{digitalWrite(led10, HIGH);
delay(100);
digitalWrite(led10, LOW);
delay(100);}// wait
{digitalWrite(led11, HIGH);
delay(100);
digitalWrite(led11, LOW);
delay(100);}// wait
{digitalWrite(led12, HIGH);
delay(100);
digitalWrite(led12, LOW);
delay(100);}// wait
}

 


 

 

 

 

 

LED SEQUENCER USING 11 LED WITH BUZZER SOUND USING ARDUINO NANO

LED SEQUENCER USING 11 LED WITH BUZZER SOUND USING ARDUINO NANO,

Light Effects and Sound Effects Arduino Nano shield, shield contains 11 LEDs ,one buzzer and INA198 current measurement , shield can be used to develop various projects like LED Bar-graph Volt Meter, Bar-Graph Current Meter, LED light effects, Warning light and sound.

Download Data Sheet INA198 Current Sensor

  • Supply 5V DC
  • 11 LEDS Connected to D2-D12 Digital Pins Of Arduino Nano
  • Buzzer Connected to Digital Pin D13 to Arduino

 

 Note : Don’t populate parts showan in doted box

11 LED SEQUENCER WITH SOUND ARDUINO NANO SCHEMATIC

 

11 LED SEQUENCER WITH SOUND ARDUINO NANO PCB TOP LAYER

 

 

ARDUINO CODE FOR 11 LED SEQUENCER AND BUZZER WARNING


*/

int led2 = 2; // LED connected to digital pin 2
int led3 = 3; // LED connected to digital pin 3
int led4 = 4; // LED connected to digital pin 4
int led5 = 5; // LED connected to digital pin 5
int led6 = 6; // LED connected to digital pin 6
int led7 = 7; // LED connected to digital pin 7
int led8 = 8; // LED connected to digital pin 8
int led9 = 9; // LED connected to digital pin 9
int led10 = 10; // LED connected to digital pin 10
int led11 = 11; // LED connected to digital pin 11
int led12 = 12; // LED connected to digital pin 12
int led13 = 13; // BUZZER connected to digital pin 13

void setup()
{
pinMode(led2, OUTPUT); // sets the digital pin as output LED
pinMode(led3, OUTPUT); // sets the digital pin as output LED
pinMode(led4, OUTPUT); // sets the digital pin as output LED
pinMode(led5, OUTPUT); // sets the digital pin as output LED
pinMode(led6, OUTPUT); // sets the digital pin as output LED
pinMode(led7, OUTPUT); // sets the digital pin as output LED
pinMode(led8, OUTPUT); // sets the digital pin as output LED
pinMode(led9, OUTPUT); // sets the digital pin as output LED
pinMode(led10, OUTPUT); // sets the digital pin as output LED
pinMode(led11, OUTPUT); // sets the digital pin as output LED
pinMode(led12, OUTPUT); // sets the digital pin as output LED
pinMode(led13, OUTPUT); // sets the digital pin as output BUZZER
}

void loop()
{
digitalWrite(led2, HIGH);
delay(100);
digitalWrite(led2, LOW);
delay(100);
digitalWrite(led3, HIGH);
delay(100);
digitalWrite(led3, LOW);
delay(100);
digitalWrite(led4, HIGH);
delay(100);
digitalWrite(led4, LOW);
delay(100);
digitalWrite(led5, HIGH);
delay(100);
digitalWrite(led5, LOW);
delay(100);
digitalWrite(led6, HIGH);
delay(100);
digitalWrite(led6, LOW);
delay(100);
digitalWrite(led7, HIGH);
delay(100);
digitalWrite(led7, LOW);
delay(100);
digitalWrite(led8, HIGH);
delay(100);
digitalWrite(led8, LOW);
delay(100);
digitalWrite(led9, HIGH);
delay(100);
digitalWrite(led9, LOW);
delay(100);
digitalWrite(led10, HIGH);
delay(100);
digitalWrite(led10, LOW);
delay(100);
digitalWrite(led11, HIGH);
delay(100);
digitalWrite(led11, LOW);
delay(100);
digitalWrite(led12, HIGH);
delay(100);
digitalWrite(led12, LOW);
delay(100);
digitalWrite(led13, HIGH);
delay(100);
digitalWrite(led13, LOW);
delay(100);
}

 

 

ARDUINO NANO LED WARNING LIGHT WITH BUZZER 11 LED SEQUENCER

Project published here is simple 11 LED and Buzzer shield for Arduino Nano, shield can be used as bar-graph monitor, buzzer sound effects, the simple example code used to show warning LED including buzzer sound. Circuit works with 5V DC. Shield also provided current sensor circuit which is no use in this project can be abandon. All LEDs 1206 SMD, All resistor are 0805 SMD.

Light Effects and Sound Effects Arduino Nano shield, shield contains 11 LEDs ,one buzzer and INA198 current measurement , shield can be used to develop various projects like LED Bar-graph Volt Meter, Bar-Graph Current Meter, LED light effects, Warning light and sound.

Download Data Sheet INA198 Current Sensor

  • Supply 5V DC
  • 11 LEDS Connected to D2-D12 Digital Pins Of Arduino Nano
  • Buzzer Connected to Digital Pin D13 to Arduino

Note : Don’t populate the parts shown in doted box, those parts can be used for current measurement.

 

11 LED AND BUZZER ARDUINO SHIELD FOR NANO SCHEMATIC

 

 

Download PDF Schematic

 

 

 

 

11 LEDs and Buzzer Warning Light Arduino Code, 11 LED Sequencer Arduino Code

LEDs Connected to Pin D2-D12 and Buzzer Connected to D13


/* A simple program to sequentially turn on and turn off 11 LEDs and Sound Buzzer */

int LED1 = 13;
int LED2 = 12;
int LED3 = 11;
int LED4 = 10;
int LED5 = 9;
int LED6 = 8;
int LED7 = 7;
int LED8 = 6;
int LED9 = 5;
int LED10 = 4;
int LED11 = 3;
int LED12 = 2;

void setup() {
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
pinMode(LED3, OUTPUT);
pinMode(LED4, OUTPUT);
pinMode(LED5, OUTPUT);
pinMode(LED6, OUTPUT);
pinMode(LED7, OUTPUT);
pinMode(LED8, OUTPUT);
pinMode(LED9, OUTPUT);
pinMode(LED10, OUTPUT);
pinMode(LED11, OUTPUT);
pinMode(LED12, OUTPUT);
}

void loop() {
digitalWrite(LED1, HIGH);
delay(60);
digitalWrite(LED2, HIGH);
delay(60);
digitalWrite(LED3, HIGH);
delay(60);
digitalWrite(LED4, HIGH);
delay(60);
digitalWrite(LED5, HIGH);
delay(60);
digitalWrite(LED6, HIGH);
delay(60);
digitalWrite(LED7, HIGH);
delay(60);
digitalWrite(LED8, HIGH);
delay(60);
digitalWrite(LED9, HIGH);
delay(60);
digitalWrite(LED10, HIGH);
delay(60);
digitalWrite(LED11, HIGH);
delay(60);
digitalWrite(LED12, HIGH);
delay(60);
digitalWrite(LED1, LOW);
delay(60);
digitalWrite(LED2, LOW);
delay(60);
digitalWrite(LED3, LOW);
delay(60);
digitalWrite(LED4, LOW);
delay(60);
digitalWrite(LED5, LOW);
delay(60);
digitalWrite(LED6, LOW);
delay(60);
digitalWrite(LED7, LOW);
delay(60);
digitalWrite(LED8, LOW);
delay(60);
digitalWrite(LED9, LOW);
delay(60);
digitalWrite(LED10, LOW);
delay(60);
digitalWrite(LED11, LOW);
delay(60);
digitalWrite(LED12, LOW);
delay(60);
}

 

 

20Amps H-Bridge DC Motor Driver with Current and Fault Feedback Using IR2104-IR2101 IRFP4468

H-Bridge has been designed around IR2104 IC from international Rectifier, The board has been made mainly for DC-Motor Driver application, the driver can handle load up to 20 Amps, I have tested this board with 90V DC supply. The circuit uses N Channel IRFP4468 MOSFETS from international rectifier. MOSFET required large size heat sink.   Board has shunt resistor and signal conditioning circuits to provide voltage proportional to current passing through load. Comparator provides fault output, normally fault output is high goes low when its detect the over current passing through output..

FEATURES

  • Motor DC Supply 12V To 90V DC (Screw Terminal Connector)
  • Logic Supply 12V DC
  • Load 20 Amps (Screw Terminal Connector)
  • Fault Output Normally High, Goes Low When Over Current/Short Occurs
  • Current Feedback Output 200mv/1Amp ( If R5 Current Sense 0.01E)
  • Header Connector for Inputs (7 Pin Header Connector)
  • On Board Shunt Resistor for Current feedback
  • PWM Frequency 10 to 20 KHz
  • Duty Cycle 0-99%
  • Logic Pins support 3.3V, 5V, 12V (Inputs and PWM)

Connections

  • CN1 Supply Input
  • CN3 Logic Inputs, Current Feedback Output
  • CN2 Motor/Load Connections

CN3 Connections

Pin 1 Load Supply, Pin 2 GND, Pin 3 12V Gate Driver Supply, Pin 4 Input-1, Pin 5 SD1 Shutdown Input ( If IR2104 Used), Pin 6 Input 2, Pin 7 Shutdown Input ( If IR2104 Used), Pin 8 GND, Pin 9 Current Feed Back Output, Pin 10 Fault/Over Current Output, Pin 11 5V DC Output, Pin 12 Voltage Feedback Output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VOICE ECHO GENERATOR- SOUND TO ECHO SOUND CONVERTER CIRCUIT

A project has been designed around Holtek,s HT8970 voice echo IC.  Project can be used in various audio systems karaoke, toys, Animatronics, shows, displays, exhibitions, and sound equipment’s. The HT8970 is an echo/surround effect processor. It is designed for various audio systems including karaoke, television, sound equipment’s, etc. The chip consists of a built-in pre-amplifier, VCO or Voltage Control OSC, 20Kb SRAM, A/D and D/A converters as well as delay time control logic. The HT8970 chip echo processor IC utilizing CMOS technology. Which accept analog audio input signal, a high sample rate ADC transfer the analog signal into a bit stream then storage to internal  RAM, after processing the bit stream will de-modulate by DAC and low pass filter. Overall delay time is determined by internal VCO clock frequency, and user can easy to change the VCO frequency by trimmer pot. Jumper J1 provided to select the Microphone input or External audio signal input, CN1 Audio Signal input, PR1 Audio signal level adjust, PR2 output audio signal adjust, PR3 sound delay adjust,

DOWNLOAD DOCUMENT AND SCHEMATIC

DOWNLOAD PDF DATA SHEET HT8970

FEATURES

  • Supply Input 5V DC
  • Onboard MIKE and Aux audio input ( Dual Option Selecting using Jumper)
  • MIKE and Aux  Selection via jumper
  • Input/MIKE signal level adjustable using Trimmer Potentiometer
  • It works in two modes – echo or surround
  • On Board Output signal level adjust Trimmer Pot
  • Onboard Trimmer Pot  for Sound Delay Adjust
  • Onboard LED for Power Supply Indicator
  • Four mounting holes of 3.2 mm
  • PCB dimensions 79 mm x 70 mm

 

 

 

 

 

 

Type K Thermocouple Sensor Amplifiers with Cold Junction Compensation Using AD595-AD594

The sensor project is based on AD595 IC from Analog devices.  AD595 is a complete instrumentation amplifier and thermo-couple cold junction compensator on a monolithic chip. It combines an ice point reference with a pre-calibrated amplifier to produce a high level (10 mV/°C) output directly from a thermo-couple signal. Pin-strapping options allow it to be used as a linear amplifier-compensator or as a switched output set point controller. It is amplify its compensation voltage directly, thereby converting it to a stand-alone Celsius transducer with a low impedance voltage output. The AD595 includes a thermo-couple failure alarm that indicates if one or both thermo-couple leads become open. The alarm output has a flexible format which includes TTL drive capability.

NOTE : Refer AD595 Data sheet for supply input and other information, The circuit works with single supply, same board also support AD594 IC which can support type J sensor.

Features

  • Supply 15V DC
  • Supports Type K Thermocouples
  • Provides 10 mV/Centigrade

Download PDF Schematic

 

What is Thermocouple??

A thermocouple is an electrical device consisting of two dissimilar electrical conductors forming electrical junctions at differing temperatures. A thermocouple produces a temperature-dependent voltage as a result of the thermoelectric effect, and this voltage can be interpreted to measure temperature. Thermocouples are a widely used type of temperature sensor

What is Type K Thermocouple Sensor??

Type K Thermocouple (Nickel-Chromium / Nickel-Alumel): The type K is the most common type of thermocouple. It’s inexpensive, accurate, reliable, and has a wide temperature range. Type K thermocouples usually work in most applications as they are nickel based and exhibit good corrosion resistance. It is the most common sensor calibration type providing the widest operating temperature range. Due to its reliability and accuracy the Type K thermocouple is used extensively at temperatures up to 2300°F (1260°C). This type of thermocouple should be protected with a suitable metal or ceramic protection tube, especially in reducing atmospheres. In oxidizing atmospheres, such as electric furnaces, tube protection is not always necessary when other conditions are suitable; however, it is recommended for cleanliness and general mechanical protection. Type K will generally outlast Type J because the JP wire rapidly oxidizes, especially at higher temperatures.

Type K Thermocouple Range

  • Thermocouple grade wire, –454 to 2,300F (–270 to 1260C)
  • Extension wire, 32 to 392F (0 to 200C)

 

AD595 Output Voltages

 

Various Type K Temperature Sensors

 

 

Optical Reflective Line Sensor for Robotics and No Contact Surface Sensing QRE1113

The sensor circuit helps to sensing the line for robotics application and  no contact surface sensing. The mini line sensor provides analog voltage output and can work with 3.3V and 5V DC. Analog output voltage is proportional to IR reflected to the senor. Resistor R1 controls the current  to IR LED, R2 provided as pull up resistor. Sensor contains Infra-Red led and photo transistor detector.

Download PDF Schematic

 

Schematic Line Sensing Sensor QRE1113

 

 

PCB layout QRE1113 Optical Sensor

 

 

 

Pin Configuration

1 2 3 4 5 51