Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hi! from Tunisia
16-01-2016, 12:55 AM, (This post was last modified: 24-08-2016, 04:42 AM by ihebbensalem.)
#1
Wink  Hi! from Tunisia
Hi! from Tunisia =>North of africa != Indonisia hh Tongue
i have built my first pinguino board since 2013 and it was really impressive and great to deal with this electronic stuff..
and now am trying to improve this project in my university ,i have starting with small club , Big Grin and some projects to improve that pinguino can be used with the IOT ... just one probleme with Ethernet sheild how it can be used with PIC18F4550 ,i can't find the library Big Grin ...
Keep going ...we are looking for a big community around the world hh Big Grin we support u

pinguino is now in Iset'com Big Grin =>Higher Institute of Technological Studies in Communications of Tunis Heart Heart
[Image: 0XscNeRl.jpg]
Reply
16-01-2016, 02:25 PM,
#2
RE: Hi! from Tunisia
Hi,
Our Ethernet library is based on the enc28j60 chip from Microchip. Such modules can be found on ebay.
Because this chip preferably works with 3.3V, up to now I used a 47j53 board to interface it with a web browser as Chrome.
I am going to study how I can use my enc28j60 module with a 18f4550 board. Keep in touch on this forum.
Bye
André
Reply
18-01-2016, 04:09 PM, (This post was last modified: 18-01-2016, 04:11 PM by ihebbensalem.)
#3
Photo  RE: Hi! from Tunisia
(16-01-2016, 02:25 PM)gtcbreizh Wrote: Hi,
Our Ethernet library is based on the enc28j60 chip from Microchip. Such modules can be found on ebay.
Because this chip preferably works with 3.3V, up to now I used a 47j53 board to interface it with a web browser as Chrome.
I am going to study how I can use my enc28j60 module with a 18f4550 board. Keep in touch on this forum.
Bye
André

Thx bro !
i have tried this with Arduino uno it works good ,but i don't know if its works with pinguino 18F45...
am trying to build the enc28j60 sheild ...
[Image: ENC28j60.png]
Reply
18-01-2016, 04:57 PM,
#4
RE: Hi! from Tunisia
Bonjour !
I just finished a few tests with an enc28j60 module and a 18f4550 Pinguino board.
What Pinguino IDE do you use, v11 or X.4 ?
I powered the enc28j60 with an external 3.3V source. You can use also a 5.5V source, preferably external from the 18f4550 source.
The enc28j60 accepts as 5V inputs SI, SCK, CS (pins 5V tolerant) from the 18f4550 but its 3.3V ouput SO is unsufficient for the 18f4550. So you have to convert the 3.3V signal into a 5V one. I use a fet transistor BF245B to do it.

According the IDE version you use I shall transmit you the necessary files to try an application/sketch.

I have yet to optimise the enc28j60/ethernet library because the 18f4550 memory is not very large. Usually I use a 18f47j53 with 128K instead of 32k !!!

If you wish we can communicate in french.
A bientôt
André     living in Rezé suburb of Nantes City
Reply
18-01-2016, 05:15 PM, (This post was last modified: 18-01-2016, 05:17 PM by ihebbensalem.)
#5
RE: Hi! from Tunisia
(18-01-2016, 04:57 PM)gtcbreizh Wrote: Bonjour !
I just finished a few tests with an enc28j60 module and a 18f4550 Pinguino board.
What Pinguino IDE do you use, v11 or X.4 ?
I powered the enc28j60 with an external 3.3V source. You can use also a 5.5V source, preferably external from the 18f4550 source.
The enc28j60 accepts as 5V inputs SI, SCK, CS (pins 5V tolerant) from the 18f4550 but its 3.3V ouput SO is unsufficient for the 18f4550. So you have to convert the 3.3V signal into a 5V one. I use a fet transistor BF245B to do it.

According the IDE version you use I shall transmit you the necessary files to try an application/sketch.

I have yet to optimise the enc28j60/ethernet library because the 18f4550 memory is not very large. Usually I use a 18f47j53 with 128K instead of 32k !!!

If you wish we can communicate in french.
A bientôt
André     living in Rezé suburb of Nantes City

Merci beaucoup André,
c'est vraiment gentille de ta part
j'utulise IDE v11 sur linux ,et j'ai trouvée déja la Bibliothèque dans la partie Communication ,mais j'étais bloqueé car il est recommendeé d'utiliser seulment le sketch avec pinguino 32 ou 47j53 (par leur commentaire au sketch) .
en tout cas  merci pour votre réponse et pour le complément d'informations .
A bientôt
Reply
02-02-2016, 11:19 PM,
#6
RE: Hi! from Tunisia
Bonjour,
Je joins quelques fichiers pour vérifier dans un premier temps la communication entre un 18f4550, un ENC28J60 et un PC+navigateur Web.
Je pars de l'hypothèse que la librairie est celle de http://sourceforge.net/projects/pinguino...s/windows/ du 6 juillet 2015 et l'IDE v11.
Dans le dossier p8\include\pinguino\core de cette librairie il faut remplacer spi.c et spi.h par les 2 fichiers de même nom. En fait ces 2 fichiers ajoutent des possibilités aux précédents via le #define SPIINIT.
Dans le dossier p8\include\pinguino\libraries il faut remplacer la dossier ethernet par le dossier joint.
En dernier lieu il y a un exemple très très basique basic_web_server.pde dont la compilation et l'upload se font classiquement.
Comme je l'ai indiqué précédemment le signal 3.3V SO de l'ENC28J60 doit être converti en 5V.
pin RA5 -> CS du module ENC28J60
pin RC7 ->  SI
pin RB1 -> CK
SO du module -> convertisseur 3.3/5V -> pin RB0.
Dans le navigateur Web entrer 192.168.0.10/
Dès que tu as un essai satisfaisant j'aurais des exemples plus intéressants à te transmettre.
André


Attached Files
.zip   export.zip (Size: 24.39 KB / Downloads: 2)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)