Search in Pinguino World !!

Saturday, August 28, 2010

Pinguino as a self replicating device !!

Self Replicating Pinguino on a breadboard
Hi Guys,

Self Replication
Self-replication is any process by which a thing will make a copy of itself

Now this is a property of Pinguino. This code allows you to copy the bootloader of your Pinguino in a new blank ( or not ) chip.
I tried it with a 18F2550, i don't know if it works with a 18F4550 but it should works.

What do you need ?
- 3 transistors
- 2 LED
- some resistors
- an external 12Vcc power supply. ( 12Vcc from the computer is OK )

I think i will update this code later to use Pinguino as a real PIC18 programmer.

How many Pinguino child will you build ?

Schematic

Link to the schematic
Link to the .Pde file

16 comments:

Vasile Guta-Ciucur said...

Wow! This is great, it ensure the easy spreading of Pinguino. Like a disease (kidding)!
Great job Jean-Pierre, thank you!

Vasi

Cristian Paul said...

can you try use a 9V battery asv vpp?, i dont have other pic18f2550 around but i'll get one just to test :)

Jean-Pierre MANDON said...

@Vasile
you are welcome
@Cristian
Datasheet say that VPP Min value is Vcc+4V, so a 9V battery should works.
Maybe you could test with a 18F4550 if you have one.

Anonymous said...

Wow, a RepProg!

Now the same with an ATmega, please, to include it in the RepRap project!

Alejandro Ramos said...
This comment has been removed by the author.
Alejandro Ramos said...

you could make the whole scheme with some pcb design program or something? as multisim proteus or something to see the whole scheme?


I'd appreciate it much, except that a photo that is sensitive to the cables and connections that you've uploaded the do not know where some wires are connected and would be nice to have a picture of the connections already made to avoid errors and facilitate things we do not have much knowledge.

thanks

Alejandro Ramos said...

to compile it gives me these errors:

C: \ Users \ Alex \ Downloads \ pinguino_beta9-05_windows \ pinguino_beta9-05_windows \ source \ / user.c: 49: error 20: Undefined identifier 'PGM'
C: \ Users \ Alex \ Downloads \ pinguino_beta9-05_windows \ pinguino_beta9-05_windows \ source \ / user.c: 146: error 20: Undefined identifier 'PGM'
C: \ Users \ Alex \ Downloads \ pinguino_beta9-05_windows \ pinguino_beta9-05_windows \ source \ / user.c: 147: error 20: Undefined identifier 'PGM'
C: \ Users \ Alex \ Downloads \ pinguino_beta9-05_windows \ pinguino_beta9-05_windows \ source \ main.c: 96: warning 197: keyword 'interrupt' is deprecated, use '__interrupt' INSTEAD
C: \ Users \ Alex \ Downloads \ pinguino_beta9-05_windows \ pinguino_beta9-05_windows \ source \ main.c: 140: warning 197: keyword 'interrupt' is deprecated, use '__interrupt' INSTEAD
Error while compiling archivoC: \ Users \ Alex \ Downloads \ pinguino_beta9-05_windows \ pinguino_beta9-05_windows \ penguin as replicator

Alejandro Ramos said...

lack of definition of the PGM pin is the error, if I define the variable no errors but that pin is not that I set to work

Alejandro Ramos said...

# define PGC 1 / / connected to the pin of the blank PGC chip
# define PGD 2 / / connected to the PGD pin of the chip blank
# define VPP 3 / / connected to the VPP pin of the chip blank
# define redled 5 / / red LED on pin 5
# define DC 6 / / connected to the power transistor on
# define PGM 7 / / ¿?¿?¿?¿? pin??

Jean-Pierre MANDON said...

@nenexulo22

Sorry, PGM is no longer used. I updated the pde file. Now it should be OK. We keep in touch.

Jean-Pierre

Alejandro Ramos said...

thanks i trying new

sorry for my bad english

Alejandro Ramos said...

sorry but now errors:

C:\Users\Alex\Downloads\pinguino_beta9-05_windows\pinguino_beta9-05_windows\source\/user.c:49: error 20: Undefined identifier 'PGM'
C:\Users\Alex\Downloads\pinguino_beta9-05_windows\pinguino_beta9-05_windows\source\/user.c:146: error 20: Undefined identifier 'PGM'
C:\Users\Alex\Downloads\pinguino_beta9-05_windows\pinguino_beta9-05_windows\source\/user.c:147: error 20: Undefined identifier 'PGM'
C:\Users\Alex\Downloads\pinguino_beta9-05_windows\pinguino_beta9-05_windows\source\main.c:96: warning 197: keyword 'interrupt' is deprecated, use '__interrupt' instead
C:\Users\Alex\Downloads\pinguino_beta9-05_windows\pinguino_beta9-05_windows\source\main.c:140: warning 197: keyword 'interrupt' is deprecated, use '__interrupt' instead
Error mientras compila archivoC:\Users\Alex\Downloads\pinguino_beta9-05_windows\pinguino_beta9-05_windows/NoName1

Alejandro Ramos said...

jean pierre reviews the file. pde think you have not uploaded to the web as it still gives me the same errors.

Verify that you have uploaded to the web the right file please.

a serious question over the operation and then connect it all up the sketch to the Penguin? or upload the sketch to the Penguin connecting everything and reset it with the reset by unplugging the plate well to restart?

RUN LED should light up no?

Alejandro Ramos said...

hello¿?¿?

circuit board said...

Thank you for sharing this wonderful opportunity of learning. This site will automatically go to my bookmarks list!

amadousalper said...

no tendra un video tutorial del proceso de autoreplicacion gracias