Thursday, January 17, 2013

Control Ladder quiz for 3 Groups

I used Mitsubishi PLC, but you can convert the ladder diagram to other PLC type such as siemens, AB, ,omron etc or other as long you configure the I/O.
first make the I/O table :

Input Device:

Device

Address

Note

Push Button 1X1for the first group
Push Button 2X2for the second group
Push button 3X3for the thrid group
Push button 4X4Reset by the judge

Output Device:

READ MORE.....

read more "Control Ladder quiz for 3 Groups"

Control PIC Frequency Counter Operating Up To 50 MHz

This is a design circuit for general theory of operation of this circuit and notes on frequency counting. This circuit is based on PIC microcontrollers for the main control unit of the circuit. This is the figure of the circuit;
 

The LCD is used in 4 bit mode interface so you only need 4 data lines and three control lines and it then fits into a single 8 bit port.

The crystal oscillator is simply a crystal and two capacitors connected to the PIC oscillator port at OSC1 and OSC2. The capacitors can both be fixed at the same value unless you want to tune it using a frequency reference. If you don't have an accurate reference then use fixed capacitors. The PIC micro can be any type that has a Timer 1 hardware and and has enough memory to hold the program. The LED is toggled at the end of every gate time to indicate that the processor is alive - so if there is no input signal you can tell that the software is working.

read more "Control PIC Frequency Counter Operating Up To 50 MHz"

Control Multiple PIC16F84 Proteus Simulated Projects

Proteus is a software tool that allows simulation of various circuits including microcontroller based ones. You can complete entire project with simulator including hardware and software parts. And only then you can move towards manufacturing real device. This page is dedicated only to PIC16F84 microcontroller projects where you can download ready to simulate about 31 complete project. 
 

Projects include implementation of popular interfaces like LCD, Timers, EEPROM writing, Interrupts, I2C and 1-wire communication, motor control and so on. Each project include Proteus project file and microcontroller hex file that has to be attached to model to start simulate.

read more "Control Multiple PIC16F84 Proteus Simulated Projects"

Control MIC 702 Mictronics Circuit

This is a design circuit that can be used to convert a standard LCD interface parallel to serial interface model, use a microcontroller or a dedicated circuit such as the MIC 702 Mictronics you can download the complete data sheet and French by clicking this link. This is a circuit specially designed to transform the parallel interface and LCD display logic integrated asynchronous serial interface standard. This is the figure of the circuit;
 

The MIC 702 is connected directly to the display with which it is perfectly compatible. Notice the connection with only 4 data bits of high weight since the MIC 702 operates in the display mode twice 4 bits. PC side, the connection with the serial output of the PC does not involve any level converter for RS 232 TTL, this role being played by the only resistor R1 22 ohm whose presence is essential. BAUD The tab allows you to choose the operating speed of the circuit between two speeds: 9600 bps up with S1 or S2 with 2400 baud up. The leg POL allows the circuit to interpret the serial data as direct or inverted. As it is in direct RS232 link should be link this foot to ground to indicate the MIC 702 that receives data reversed. Linkage to +5 volts it would receive direct evidence as would be the case if we wanted to use this circuit with a Basic Stamp example.

Subject to use a display not backlit, the total consumption of the circuit is low enough that it can take its power directly from the output control signals to the RS 232. It is the role of diodes D2 and D3 associated with IC1, which is a regulator with low dropout voltage and low consumption. If you insist on using a backlit display, it is possible that consumption of its single backlight exceeds the possibilities of the PC's serial port. You can use an external power supply via the diode D1. A voltage of 9 volts at a flow rate of a hundred mA appropriate.

read more "Control MIC 702 Mictronics Circuit"

Control Driver an RGB LED Using Three Microcontroller Pins

The RGB LED contains three LEDs encased in one shell: Red, Green and Blue (some contain an extra blue led - as blue LEDs generate less output intensity (candela) per mA). It looks like a single white led except that it has four leads - one for the common ground connection and one for each led. This is the figure of the circuit;


This project uses puls width modulation to drive each of the leds in the RGB led. By changing the duty cycle of each PWM signal you can control the average current flowing through each led creating any color you want. The limit is set by the resoelution of the PWM (set at 256 steps per channel). The project relies on persistence of vision to make it appear that the led is continuously driven (the PWM signals must be repeated quickly enough so that you do not see any flicker) at a rate greater than 50Hz (approx). Too slow and you begin to see the led flickering.

By varying the current through each led you can create almost any other color but at close range you only see the individual colors of each LED. To see the 'merged' color view it from a distance or put a diffuser over it. I used a small piece of baking paper - which is transparent enough to let the light through and opaque enough to diffuse the light from the three LEDs. In a proper design you would use a semi-transparent plastic.
read more "Control Driver an RGB LED Using Three Microcontroller Pins"

Saturday, January 12, 2013

Control PLC program 1 button on and off

This is the Ladder diagram program for application one Push button for On and OFF the lamp .Using OMRON PLC type CJ1M.
job description circuit:
1.first time the button is pressed then the lamp ON
2.second time the button is pressed then lights OFF
3.back to a description number 1

Addressing Input and output :

Device

Address

NOTE

Push button 1 (PB1)00.00Chanel 0 bit 0
Push button 1 (PB1)00.00Chanel 0 bit 0
Lamp01.00Chanel 1 bit 0
Internal Relay 110.00First Sequence(lamp ON)
Internal Relay 210.01second sequence(transisi PB ON ke OFF)
Internal Relay 310.02Thrid Sequence (Lamp OFF)
Internal Relay 410.03Reset back to the first sequence


Wiring I/O of PLC:

READ MORE.....

read more "Control PLC program 1 button on and off"

Control Program PLC 1 tombol on dan off

Pada koleksi program kali ini , saya akan coba membuat aplikasi satu buah tombol untuk On dan OFF sebuah lampu.Dengan menggunakan PLC OMRON type CJ1M.
deskripsi kerja rangkaian:
1.Jika tombol ditekan pertama kali maka lampu ON
2.Jika tombol ditekan yang kedua kali maka lampu OFF
3.Kembali ke deskripsi no1.
Pengalamatan Input dan output:

Device

Alamat/Address

Keterangan

Push button 1 (PB1)00.00Chanel 0 bit 0
Push button 1 (PB1)00.00Chanel 0 bit 0
Lamp01.00Chanel 1 bit 0
Internal Relay 110.00sequence pertama (lamp ON)
Internal Relay 210.01sequence kedua(transisi PB ON ke OFF)
Internal Relay 310.02sequence ketiga (Lamp OFF)
Internal Relay 410.03Reset kembali ke sequence pertama

Gambar Wiring I/O bisa dilihat di bawah ini:

Buatlah Gambar ladder diagram dibawah ini dan transfer ke PLC:

Demikian koleksi ladder diagram pertama ini , akan dilanjut dengan postingan kedua Program Star Delta
read more "Control Program PLC 1 tombol on dan off"