LudiPhoenix II  
==============  
  
In this new version the ATMELs Card can be programmed too.  
  
LudiPhoenix II is compatible with IcProg, PonyProg, ChipCat(*) and with various programs of Cards management. 
  
The Card programmer works both in Smartmouse way and Phoenix way (up to 4 different quartzes can be chosen, tested up to 10 Mhz); only in this operational way the signal of "Card inserted" is sent through the pin CD of the RS232 to the PC.  
   
The commutation of the various signals to be sent to the Slot ISO, is made by the integrated type CD4016 or CD4066 commanded by two switches. You must use integrated circuits series CMOS4000 that works up to 15 or 18 V and not the series 74HCxxxx that works only up to 12V.   
  
It takes about 0,5 sec (it depends on the value of R13 and C1) before the power and the signals are supplied to the card after this one has been inserted and it is immediately removed when the card is removed .  
  
In order to program the PIC and the EEProms 24cxx in socket DIL I have inserted a compatible connector with the PonyProg (http://www.LancOS.com).  
  
  
Connector PonyProg   
------------------
(only S5 and S6 have effect on this connector)  
  
In comparison to the original circuit (make reference to "si-prog-v2_2.pdf" on http://www.LancOS.com):  
  
The pin 2 doesn't need the use of resistances of pull-up therefore don't insert:  
	- R9 on "SDE2506 eeprom adapter"  
	- R2 on "AVR AT90Sxx adapter"  
	- R7 on "SPI 25xxx adapters"  
  
On the pin 9  I have inserted the clock of the circuit therefore it doesn't need to insert the C1, C2 and X1 on "AVR AT90Sxx adapter", simply connect XTAL1 of the Atmels with a 100 ohms resistance to this pin.  
  
On the pin 6 exists already the connection between DTR and CTS of the RS232, therefore:  
	- connect only the pin 6 on "I2CBus 24xx adapters", "SDE2506 eeprom adapter" and "NVM3060 eeprom adapter"  
	- don't insert R16, R17 and Q3 on "PIC adapter"  
  
On the pin 7 is present the tension stabilized of 13V, connect directly pin 2-3 of JP1 and don't insert Z4 on "PIC adapter"    
  
The voltage control is not present, it needs to act on the power switch before inserting or removing a Chip.  
  
  
Power 
----- 
  
The circuit can be powered both in continuous and in alternate; I use a 9 V AC transformer of an old modem to verify that on C4 is present the right voltage (15-20 Vs)  
  
  
Construction  
------------  
  
The PCB is available in CorelDraw (version 7 or superior) seen by the side copper.

For the components layout see montaggio.gif.  
  
Do first all the bridges (red lines), some are found under the connector ISO (see also ponticelli.gif).  

Connect to the resistances colored in green (see montaggio.gif) R1-R2-R8-R9 the ceramic condensers from 100 pF (see dettaglio.jpg part A)

The mass of the RS232 is connected to the +5V of the circuit, in this way we get a levels excursion between around +8V and -5V.   
  
The threads of the serial are directly settled on the circuit; fix the cable with two plastic wrappers.  


Material:  
  
n. 1 resistance 10 ohms 1/4w  
n. 1 resistance 100 ohms 1/4w  
n. 1 resistance 100 ohms 1/2w  
n. 3 resistances 330 ohms 1/4w  
n. 1 resistance 2,2k 1/4w and n. 1 net resistor (R5-R6-R10-R11) from 4 resistances from 2,2k or n.5 resistances 2,2k 1/4w (see dettaglio.jpg part B)   
n. 3 resistances 4,7k 1/4w  
n. 4 resistances 10k 1/4w  
n. 7 resistances 100k 1/4w  
---------  
n. 2 ceramic condensers 22 pFs  
n. 4 ceramic condensers 100 pFs  
n. 4 condensers polyester 47 nFs  
n. 1 condenser eletrolitico 4,7 uFs 16v  
n. 3 condensers eletrolitici 10 uFs 25v  
n. 1 condenser eletrolitico 1000 uFs 25v  
---------  
n. 2 diodes 1N4148  
n. 1 diode BAT41 or other type of diode schottky low power  
n. 5 diodes zener 5,1v  
n. 2 diodes led 3mm any color  
n. 1 bridge diodes small  
n. 1 transistor pnp type BC557  
n. 1 integrated LM339 (quadruple comparator)  
n. 1 integrated 74HC14 (6 inverters with triggers of schmitt) not to replace with 74HC04  
n. 2 integrated CD4016 or CD4066 (quadruple bilateral interrupter) to use only CMOSs CDxxxx series 
n. 1 78L05  
n. 1 78L08  
---------  
n. 1 taking for power 
n. 1 double switch miniature   
n. 2 switchs miniature (on my prototype I have climbed on all double switchs)  
n. 1 jumper  
n. 1 dip-switch 4 poles  
n. 1 comb connector female from 10 poles  
n. 1 connector ISO reader smartcard   
n. 1 cable serial  
n. 1 quartz 3,58 Mhz  
n. 1 quartz 6 Mhz  
n. 1 quartz (optional es. 8 Mhz)  
n. 1 quartz (optional es. 10 Mhz)

In the schematic diagram, S3 is the contact NC of the connector ISO  

  
Recommended settings  
--------------------  
  
The circuit emulates a JDM; select this option in Ic-Prog (JDM) and Ponyprog (API JDM).
  
The clock of the smartmouse/phoenix  is used also as clock for the programming of the Atmels, use the frequency of 3,58 Mhz if you wish to program the Atmels.  
  
  
  
Chip-cat
--------
  
Select in both options (JDM-Smartmouse) the same COM-port and 3,5 Mhz as clock.  
  
On the ludiphoenix:  
  
	- S2 in position NORMAL  
	- S5 in position 1  
  
Before inserting a card select S1 according to the type.  
  
Then we will have:  
  
Mouse-Mode   [1]: S3 in PROG.SMART - indifferent S1   
PICPROG-Mode [2]: S3 in JDM - S1 in PIC  
AVR/SPI-Mode [4]: S3 in JDM - S1 in ATMEL(*) 
  
It doesn't need to remove the Card to switch from a way to another.  

(*)Some limit in the programming the ATMELs with CHIPCAT. The error often appears "AVR Device-Error! $AC530000", in this case before proceeding in the programming, cancel the processor with Ic-Prog.

Good job  
  
The Maz; -)	  





=========================================================================



Add-on for LudiPhoenix II
=========================

It allows to program the eeproms  type 24Cxx. 25Cxx, 93Cxx and through a  different types of PIC (see pic.gif).

Construction
------------

For the PCB please read at the end of the file Pcb.cdr.

Do first all the bridges (red lines), for the components layout see Add-on.gif.

The low part to the right of Add-on.gif needs in the case you wish to insert this circuit in horizontal position (see add+ludi.jpg).

Material: 

n. 3 resistances 4,7K 1/4w  
n. 1 resistance 2,2k 1/4w  
n. 1 ceramic condenser from 100 pF (To connect to the resistances in green color, see dettaglio.jpg part A)  
n. 1 condenser polyester from 47 nF  
n. 3 sockets 4+4pin  
n. 2 sockets 10+10 pins  
n. 1 socket 20+20 (to cut and to use a half of it. To see to the left on add-on.jpg)  
n. 1 jumper  
n. 2 comb connectors male 10 poles to 90  
n. 1 comb connector female 10 poles  
n. 1 transistor npn type BC 547  
n. 1 transistor pnp type BC 557


Insertion PIC
=============

 
          !!!!!! A T T E N T I O N   to the position of the jumper  !!!!!!

see pic.gif: 1-2 for PIC with 28 and 40 pin
	     2-3 per PIC with 8, 14 and 18 pin



	 1+---\_/---+40		PIC  8 PIN:
 O	 2|         |39		PIC12C508   PIC12C508A   PIC12C509   PIC12C509A  	
	 3|-|1\_/-|-|38		PIC12C518   PIC12C519    PIC12C671   PIC12CE673  
+-+	 4|-|     |-|37		PIC12C672   PIC12CE674  
|O|	 5|-|     |-|36
| |	 6|-|_____|-|35
|O|	 7|         |34
+-+	 8|         |33
	 9|         |32
	10|         |31
	11|         |30
	12|         |29
	13|         |28
	14|         |27
	15|         |26
	16|         |25
	17|         |24
	18|         |23
	19|         |22
	20|_________|21


	 1+---\_/---+40		PIC  14 PIN:
 O	 2|         |39		PIC16C505   
	 3|-|1\_/-|-|38
+-+	 4|-|     |-|37
|O|	 5|-|     |-|36
| |	 6|-|     |-|35
|O|	 7|-|     |-|34
+-+	 8|-|     |-|33
	 9|-|_____|-|32
	10|         |31
	11|         |30
	12|         |29
	13|         |28
	14|         |27
	15|         |26
	16|         |25
	17|         |24
	18|         |23
	19|         |22
	20|_________|21


	 1+---\_/---+40		PIC  18 PIN:
 O	 2|         |39		PIC16F83    PIC16CR83   PIC16C84    PIC16F84     
	 3|         |38		PIC16F84A   PIC16CR84   PIC16C52    PIC16C54     
+-+	 4|         |37		PIC16C56    PIC16C58    PIC16C432   PIC16C554 
|O|	 5|         |36		PIC16C556   PIC16C558   PIC16C61    PIC16C620 
| |	 6|         |35		PIC16C620A  PIC16C621   PIC16C621A  PIC16C622 
|O|	 7|         |34		PIC16C622B  PIC16CE623  PIC16CE624  PIC16CE625        
+-+	 8|         |33		PIC16F627   PIC16F628   PIC16C710   PIC16C71
	 9|         |32		PIC16C711   PIC16C712   PIC16C715   PIC16C716   
	10|         |31		   
	11|         |30		  
	12|-|1\_/-|-|29		    	   
	13|-|     |-|28
	14|-|     |-|27
	15|-|     |-|26
	16|-|     |-|25
	17|-|     |-|24
	18|-|     |-|23
	19|-|     |-|22
	20|-|_____|-|21
	


+-+	 1+-|1\_/-|-+40		PIC  28 PIN:
|O|	 2|-|     |-|39		PIC16F870  PIC16F872  PIC16F873   PIC16F876     
| |	 3|-|     |-|38		PIC16F73   PIC16F76   PIC16C55    PIC16C57       
|O|	 4|-|     |-|37		PIC16C57C  PIC16C62   PIC16C62A   PIC16C62B     
+-+	 5|-|     |-|36		PIC16CR62  PIC16C63   PIC16C63A   PIC16C66      
 	 6|-|     |-|35		PIC16C72   PIC16C73   PIC16C73A   PIC16C73B     
 O	 7|-|     |-|34		PIC16C76   PIC16C642  PIC16C773   PIC16C745        
 	 8|-|     |-|33
	 9|-|     |-|32
	10|-|     |-|31
	11|-|     |-|30
	12|-|     |-|29
	13|-|     |-|28
	14|-|_____|-|27
	15|         |26
	16|         |25
	17|         |24
	18|         |23
	19|         |22
	20|_________|21


+-+	 1+---\_/---+40		PIC  40 PIN:
|O|	 2|         |39		PIC16C64   PIC16C64A  PIC16C64B  PIC16CR64 
| |	 3|         |38		PIC16C65   PIC16C65A  PIC16C65B  PIC16C67
|O|	 4|         |37		PIC16C74   PIC16C74A  PIC16C74A  PIC16F74
+-+	 5|         |36		PIC16C77   PIC16F77   PIC16C662  PIC16C774  
	 6|         |35		PIC16F871  PIC16F874  PIC16F877  
 O	 7|         |34		  
	 8|         |33		
	 9|         |32
	10|         |31
	11|         |30
	12|         |29
	13|         |28
	14|         |27
	15|         |26
	16|         |25
	17|         |24
	18|         |23
	19|         |22
	20|_________|21


 
