Showing posts with label MINI PROJECTS. Show all posts
Showing posts with label MINI PROJECTS. Show all posts

Monday, 20 February 2012

Minty JDM PIC Programmer



Minty JDM PIC Programmer

Minty JDM PIC Programmer



Step 1Parts and Tools


Parts and Tools



Parts list


1) DB9 Female Serial port connector w/ at least a 5 wire cable attached  
(1) Cable with 5 wires and a connector to connect to PIC circuit 
(1) 1.5K Ohm Resistor                       
(1) 10K Ohm Resistor                    
(4) 1N4148 Diodes                             
(1) 8.2V Zener Diode                     
(1) 5.1V Zener Diode                         
(2) BC547 Transistors                      
(1) 22uF Tantalum Capacitor            
(1) 100uF Electrolytic Capacitor        
(1) Small Prototype Board                 
(1) Small Mint Tin


Tools required:

- Soldering Iron and Solder
- Wire Strippers
- Multimeter (for checking connections)


Schematic


Schematic
Assebling

Layout



place in a tin



Place in Tin

   Testing

The above programmer can be used with the PICpgm programmer and it can be downloaded from here

Minty JDM PIC Programmer


   DON!!!!!!!!!!!!        
Reade more >>

Wednesday, 20 July 2011

Simple JDM PIC Programmer

This is a serial programmer works on the RS232 ( PC serial port ), known as JDM Programmer, thanks to the site http://pic16f84.hit.bg/ which contains the schematic and the programmer software


Simple JDM PIC Programmer




The programmer is powered from the Serial port itself, so there's no need to any external power supply.
But be careful this circuit will not work with the Laptop Serial port due to the weak voltages it has.

The schematic


The schematic






Reade more >>

volt meter using pic16F676

This is simple 3-digits digital volt meter.PIC16F676 used to read analog signal(voltage) and display the value on 3-digits 7-segment.You can apply to mesasure DC currant with parallel Rshunt but I'm not descript here. 


Hardware

As we know the most of PIC microcontroller has 8-bit/10-bit on-chip Analog to Digital converter module. In this project I use PIC16F676 which have ADC 10-bits 8 channel but this project use only one channel for measure voltage input for other pin set as digital I/O.


From the schematic above the input voltage divided by R1 and R2 (voltage divider).VR1 parallel with R2 use to adjust appropriate display full scale voltage.The divided input voltage will connected to AN3(RA4) which set as analog input.

RA0,RA1 and RA2 set as digital output to turn on/off the digits in scan dispay routine.
RA3 not use in this version and it was input only
RC0-RC5 and RA5 use to drives the segment of dispay(7-segment decoded by software) 



Software

This project I use CCS C compiler to programming.The main routine continually read the input voltage on RA3 and convert to 7-segment code while TIMER1 set to timer for interrupt every 5mS for scan all digit about 66Hz(only one digit turn on at every 5mS).In convert digital value to voltage routine we must scale the value with the full scale display in this project I want full scale display at 30V so the input voltage must scaled with 30 and display resolution is 29mV or 30/1023. source code and shematic available here.






















































































































Reade more >>

Color Sensor


Colour sensor is an interesting project for hobbyists. The cir- cuit can sense eight colours, i.e. blue, green and red (primary colours); magenta, yellow and cyan (secondary colours); and black and white. The circuit is based on the fundamentals of optics and digital electronics. The object whose colour is required to be detected should be placed in front of the system. The light rays reflected from the object will fall on the three convex lenses which are fixed in front of the three LDRs. The convex lenses are used to converge light rays. This helps to increase the sensitivity of LDRs. Blue, green and red glass plates (filters) are fixed in front of LDR1, LDR2 and LDR3 respectively. When reflected light rays from the object fall on the gadget, the coloured filter glass plates determine which of the LDRs would get triggered. The circuit makes use of only AND gates and NOT gates.


When a primary coloured light ray falls on the system, the glass plate corresponding to that primary colour will allow that specific light to pass through. But the other two glass plates will not allow any light to pass through. Thus only one LDR will get triggered and the gate output corresponding to that LDR will become logic 1 to indicate which colour it is. Similarly, when a secondary coloured light ray falls on the system, the two primary glass plates corres- ponding to the mixed colour will allow that light to pass through while the remaining one will not allow any light ray to pass through it. As a result two of the LDRs get triggered and the gate output corresponding to these will become logic 1 and indicate which colour it is.
When all the LDRs get triggered or remain untriggered, you will observe white and black light indications respectively. Following points may be carefully noted :

1. Potmeters VR1, VR2 and VR3 may be used to adjust the sensitivity of the LDRs.
2. Common ends of the LDRs should be connected to positive supply.
3. Use good quality light filters.

The LDR is mounded in a tube, behind a lens, and aimed at the object. The coloured glass filter should be fixed in front of the LDR as shown in the figure. Make three of that kind and fix them in a suitable case. Adjustments are critical and the gadget performance would depend upon its proper fabrication and use of correct filters as well as light conditions



Reade more >>

Magnetic proximity sensors


Here is an interesting circuit for a magnetic proximity switch which can be used in various applications.
The magnetic proximity switch circuit, in principle, consists of a reed switch at its heart. When a magnet is brought in the vicinity of the sensor (reed switch), it operates and controls the rest of the switching circuit. In place of the reed switch, one may, as well, use a general-purpose electromagnetic reed relay (by making use of the reed switch contacts) as the sensor, if required. These tiny reed relays are easily available as they are widely used in telecom products. The reed switch or relay to be used with this circuit should be the
normally open type.
When a magnet is brought/placed in the vicinity of the sensor element for a moment, the contacts of the reed switch close to trigger timer IC1 wired in monostable mode. As a consequence its output at pin 3 goes high for a short duration and supplies clock to the clock input (pin 3) of IC2 (CD4013
dual
D-type flip-flop). LED D2 is used as a response indicator.
This CMOS IC2 consists of two independent flip-flops though here only one is used. Note that the flip-flop is wired in toggle mode with data input (pin 5) connected to the Q (pin 2) output. On receipt of clock pulse, the Q output changes from low to high state and due to this the relay driver transistor T1 gets forward-biased. As a result the relay RL1 is energised.

Reade more >>

A simple Remote control Tester


Here is a handy gadget for test- ing of infrared (IR) based re- mote control transmitters used for TVs and VCRs etc. The IR signals from a remote control transmitter are sensed by the IR sensor module in the tester and its output at pin 2 goes low. This in turn switches on transistor T1 and causes LED1 to blink. At the same time, the buzzer beeps at the same rate as the incoming signals from the remote control transmitter. The pressing of different buttons on the remote control will result in different pulse rates which would change the rate at which the LED blinks or the buzzer beeps. When no signal is sensed by the sensor module, output pin 2 of the sensor goes high and, as a result, transistor T1 switches off and hence LED1 and buzzer BZ1 go off. This circuit requires 5V regulated power supply which can be obtained from 9V eliminator and connected to the circuit through a jack. Capacitor C1 smoothes DC input while capacitor C2 suppresses any sudden spikes appearing in the input supply. Here, a plastic moulded sensor has been used so that it can easily stick out from a cut in the metal box in which it is housed. It requires less space. Proper grounding of the metal case will ensure that the electromagnetic emissions which are produced by tube-lights and electronic ballasts etc (which lie within the bandwidth of receiver circuit) are effectively grounded and do not interfere with the functioning of the circuit. The proposed layout of the box containing the circuit is shown in the figure. The 9-volt DC supply from the eliminator can be fed into the jack using a banana-type plug.
Tech. Editor
s note: In fact, the complete gadget can be assembled in the eliminators housing itself and a cut can be made in its body for exposing the IR modules sensor part.


Reade more >>

Contactless Mains Voltage Indicator

 This is a CMOS IC (CD4033) based circuit which can be used to detect presence of mains AC voltage without any electrical contact with the conductor carrying AC current/voltage. Thus it can be used to detect mains AC voltage without removing the insulation from the conductor. Just take it in the vicinity of the conductor and it would detect presence of AC voltage. If AC voltage is not present, the display would randomly show any digit (0 through 9) permanently. If mains supply is available in the conductor, the electric field would be induced into the sensing probe. Since IC used is CMOS type, its input impedance is extremely high and thus the induced voltage is sufficient to clock the counter IC. Thus display count advances rapidly from 0 to 9 and then repeats itself. This is the indication for presence of mains supply. Display stops advancing when the unit is taken away from the mains carrying conductor. For compactness, a 9-volt PP3 battery may be used for supply to the gadget

Reade more >>

Zener Diode Tester


Here is a handy zener diode tester which tests zener diodes with breakdown voltages extending up to 120 volts. The main advantage of this circuit is that it works with a voltage as low as 6V DC and consumes less than 8 mA current. The circuit can be fitted in a 9V battery box. Two-third of the box may be used for four 1.5V batteries and the remaining one-third is sufficient for accommodating this circuit. In this circuit a commonly available transformer with 230V AC primary to 9-0-9V, 500mA secondary is used in reverse to achieve higher AC voltage across 230V AC terminals. Transistor T1 (BC547) is configured as an oscillator and driver to obtain required AC voltage across transformers 230V AC terminals.
                                              This AC voltage is converted to DC by diode D1 and filter capacitor C2 and is used to test the zener diodes. R3 is used as a seri- es current limiting resistor. After assembling the circuit, check DC voltage across points A and B without connecting any zener diode. Now switch on S1. The DC voltage across A-B should vary from 10V to 120V by adjusting potmeter VR1 (10k). If every thing is all right, the circuit is ready for use. For testing a zener diode of unknown value, connect it across points A and B with cathode towards A. Adjust potmeter VR1 so as to obtain the maximum DC voltage across A and B. Note down this zener value corresponding to DC voltage reading on the digital multimeter. When testing zener diode of value less than 3.3V, the meter shows less voltage instead of the actual zener value. However, correct reading is obtained for zener diodes of value above 5.8V with a tolerance of 10per cent. In case zener diode shorts, the multimeter shows 0 volts



Reade more >>

ATTyny 2313 RS232 Board

ATTiny2313 Board RS232




Description
This board is a small controller board on which you can build your projects. It is suited for educational use, experiments or prototyping. The board uses the AT2313 microcontroller with a 10Mhz crystal. The board contains the ISP 10-pin connector for in circuit serial programming. It has also a push button reset switch for resetting the microcontroller. The I/O pins of the microcontroller are also available on two ML10 connectors for connecting for example the LCD-Interface board. The power can be connected via the DC connector which has a pin of 1.1mm. The power regulator supplies the microcontroller with the 5V DC power it needs. The DB9 bus connector can be hooked to the serial port of your PC for communication between the microcontroller and the PC. The MAX232 IC takes care of the voltage conversion of the RS232 voltage levels and the micrcontroller voltage levels.

schematic







Layout

Programming
The microcontroller on the board can be programmed via the 10-pin ISP connector. The following AT microcontrollers can be programmed with this board:
  • ATTiny2313
  • AT90S2313 (obsolete)
  • AT90S1200 (obsolete)
  •  
Connector pinout
In the table below you see the pins of the connectors.
PORTB pin
AT2313 pin
1
PB0
2
PB1
3
PB2
4
PB3
5
PB4
6
PB5
7
PB6
8
PB7
9
GND
10
VCC
PORTD pin
AT2313 pin
1
PD0
2
PD1
3
PD2
4
PD3
5
PD4
6
PD5
7
PD6
8
NC
9
GND
10
VCC
ISP pin
AT2313 pin
1
PB5
2
NC
3
NC
4
GND
5
RESET
6
GND
7
PB7
8
GND
9
PB6
10
GND
Software
There are several projects on this site that you can try and use with the ISP-board:
Partlist
1
Bu1
DC Conn 1,1mm pin
2
C1
47µF 16V
3
C2
100nF
4
C3
100nF
5
C4
100nF
6
C5
1µF 63V
7
C6
1µF 63V
8
C7
1µF 63V
9
C8
1µF 63V
10
C9
100nF
11
C10
100nF
12
C11
100nF
13
IC1
7805
14
IC2
AT90S2313
15
IC3
MAX232
16
K1
ML10
17
K2
ML10
18
K3
ML10
19
K4
DB9 female
20
Q1
10MHz
21
R1
10k
22
S1
Switch
23
PCB

Reade more >>

adhitz

Twitter