element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Epitaxial vs 1N4002 Diodes
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 28 replies
  • Answers 1 answer
  • Subscribers 677 subscribers
  • Views 3832 views
  • Users 0 members are here
  • epitaxial
  • diode
  • ethernet
  • lan
  • network
  • raspberry_pi
  • connection
  • prototyping
  • raspberrypi
  • lan-hub
Related

Epitaxial vs 1N4002 Diodes

balearicdynamics
balearicdynamics over 10 years ago

Someone knows if it is acceptable to use diodes of the type 1N4001 or 1N4002 instead of epitaxial diode to manage signal channels with levels and frequencies of the order of the Ethernet 10/100 ? I have never used the Epitaxial pin diodes and I have no idea.

 

Thanks in advance, any suggestion is welcome image

  • Sign in to reply
  • Cancel
Parents
  • clem57
    0 clem57 over 10 years ago
    • SP3002 0.85pF, 12kV, Low Capacitance Diode Array for ESD Protection  should work for ESD protection...

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to clem57

    Many thanks, Clem.

     

    In the meantime after a reasonable investigation on the use I had in mind it seems that it is not the better solution. I was exploring the possibility to have a passive hub but it is not so reliable and - worst of all - it seems that with the LAN works only in half-duplex. The best usage seems to be with TV signals integration but it is not my case.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to balearicdynamics

    Unfortunately LAN is a half duplex protocol as you found out.  If you want full duplex, SPI is the way to go. But it is meant  as a limited distance. How far do you need to go?

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 10 years ago in reply to clem57

    LAN has been full-duplex..  for some time now (*). For 10 and 100Mbps there is a pair of wires dedicated to each direction, and both can be active at the same time. For 1Gbps LAN over CAT5 cable, all four pairs are used. There can be datatransmission going on all pairs in EACH direction at the same time.

     

    But I'm getting the impression that I'm missing some context.

     

    (*) Remember the coax cables for 10mbps? If you got a terminator wrong, the whole network stopped working. (#)

    (#) Anecdote: 1992-ish: I wanted to hook up an extra workstation in my room. So I hooked it up and walked over to the sysadmin to ask him if I'd done it correctly. But by the time I got there, his phone was red hot, so I saw that he was busy with more important things and I went back to work.... It hit me when 15 minutes later I saw him diving under my desk..... the last room he was checking for missing terminators and the like....

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to rew

    I am referring to the protocol at software level. Cannot send/receive at same time in software interface. But there is some acks under the cover that are overlapping.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago in reply to clem57

    That's a limitation of the application. Not the network stack or you would never be able to surf in multiple browsers and have a file transfer going and watch TV / my youtube videos at the same time  

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 10 years ago in reply to clem57

    I'm baffled now - are we seem to be talking about Ethernet but which protocol:

     

    It's easy to send and receive UDPs simultaneously, TCP links usually look full duplex even to quite high level software - I'm obviously missing something but not sure what image

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to clem57

    clem57 wrote

     

    Unfortunately LAN is a half duplex protocol as you found out.  If you want full duplex, SPI is the way to go. But it is meant  as a limited distance. How far do you need to go?

    Clem

     

    I have replied from my mobile to this comment but now I see that it seems nothing happened, so I repeat. What I plan is to make a inter-network between 2-3 raspi in the same place (I mean almost the same box), so the distance is few centimetres less or about 20 cm every connection. Then for any networked external connection with the resulting device set I have to use a common switch or any other reliable network.

     

    What do you intend as SPI ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 10 years ago in reply to balearicdynamics

    Why bother with the diodes then if this is so close together.

    If you want them for some special reason you really need to state the environment  otherwise there is little benefit in the answer as every one is taking a guess at whet you are working towards.

     

    Also yeah Ethernet is Bi-Directional Duplex

     

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Problemchild
    0 Problemchild over 10 years ago in reply to balearicdynamics

    Why bother with the diodes then if this is so close together.

    If you want them for some special reason you really need to state the environment  otherwise there is little benefit in the answer as every one is taking a guess at whet you are working towards.

     

    Also yeah Ethernet is Bi-Directional Duplex

     

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to Problemchild

    John, the - possibile - choice of the passive small hub with diodes only was to ensure data exchange between the processors using the Ethernet protocol (that simplifies a lot of things in kind of communication I am approaching) but I don't understand what do you mean with your suggestion, what kind of alternative is ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 10 years ago in reply to balearicdynamics

    I, and many others I guess, have no clue whatsoever what you think you can achieve with diodes on ethernet. To connect several pi's together you need a hub or switch. A hub will transmit on all outgoing links as soon as it recieves something on one of the incoming RX lines. A switch will quickly analyse the incoming transmission and transmit only on the appropriate port (with a time-delay of a few microseconds). In the past (say more than 15 years ago) you might chose a "hub" over a switch because of costs. As the price difference has dropped, I don't think hubs are in serious active production anymore.

     

    So, besides your "four pi's" you'll need a small switch. 5port 5 Ports 10 100Mbps Fast Ethernet Network Switch Hub USB Cable Kable SY | eBay

     

    Or you could connect the SPI ports together. The problem is that SPI is a master slave protocol, and the "pi as a slave" part has not been implemented yet. You'll need to do that yourself. Big job. Same goes for other options. Unless you have very specific needs, you're better off just putting a network switch near your 'pi's...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to rew

    Roger,

    the point is that I know very well both hub and switches roles and how do these devices works, collision problems and so on. Instead I have not a sufficiently wide visibility about the concept of "passive hub", that is, a unpowered hub to connect three different RaspPI. The thing is possible, and a circuit exists but the logic on it is based is not convincing me very well. (here is on link: http://www.diyelectronicsprojects.com/2012/07/building-passive-ethernet-hub.html and all the hundreds of others I have found are identical to this scheme, no matter of the site).

    Instead frankly I had not considered the SPI connection that will be a good idea, excluding the problem you mention of the unimplemented slave mode.

     

    I see that there is a master-to-master SPI connection solution but it seems having only one wire for data and this slowdown again the speed. The idea for a direct connection via ethernet has a lot of advantages in the SciFi project (tag: meditech_project) I am developing and the solution that has sense in a modular environment with the ability to connect the Raspberry-pi modules in the same place or remotely is just the ethernet way. As there will be two kind of networks, one barely local to exchange the data flow and one to the Internet via the WiFi dongle, I think that the final solution I will adopt is an internal hub.

     

    I was exploring this part of the project also because this choice influences both the contained design of the portable device and the powering system.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 10 years ago in reply to balearicdynamics

    Just buy a small 5-8 port switch and stay at a nice 100Mbps and find your are much aster because most switches will switch at near line speed and you wont have any  collisions as such as you have more control of collision domains

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 10 years ago in reply to Problemchild

    More to the point who would want  to use the RPI for low latency switching when the USB to Ethernet  is so notoriously slow and fickle anyway !?!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 10 years ago in reply to balearicdynamics

    Now you have explained what you want to do and referenced the basic circuit it is possible to answer your questions.

     

    1) The whole idea is pretty dreadful since it relies on undocumented and unintended behavior of of the 10baseT or 100baseT hardware - however it obviously could work in some setups.

    2) The diodes will need to be fast - 1N4002 would not work, 1N4148s probably would.

    3) You can buy a 5 port switch from Amazon for £5.86 - you won't be able to buy one switch chip and the connectors for this price so building your own switch would be mad.

     

    Your best bet (by far) is to buy a cheap switch and build the works of it into your system.

    But pay attention to John's last remark - if you care about Ethernet performance the RPI is the wrong platform.

     

    IMO you can remove the condition from that last sentence image

     

    What is your project - we might be able to suggest some alternatives to allow three processors to have a low latency network.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 10 years ago in reply to michaelkellett

    Agree with you on all points there.

    Need to know what sort of project he is taking on to give some idea of required speed and acceptable latency!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to Problemchild

    Sorry for the delay in my answers, I have read all your last comments on the mobile that is not very good to write decent responses.

     

    John, the problem is not the cost as I already have one to make tests. The speed of 10/100 is more than sufficient. Your answer and the other guys before already gives me the correct vision, despite the project itself, that the choice now is between ISP (that is the less valuable I think) and the LAN connection that it is very probably I will decide for.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to michaelkellett

    Michael, as you wrote

     

    1) The whole idea is pretty dreadful since it relies on undocumented and unintended behavior of of the 10baseT or 100baseT hardware - however it obviously could work in some setups.

    2) The diodes will need to be fast - 1N4002 would not work, 1N4148s probably would.

    3) You can buy a 5 port switch from Amazon for £5.86 - you won't be able to buy one switch chip and the connectors for this price so building your own switch would be mad.

    1) That's ok, I have explored again the of the passive hub (mostly for the power consumption but it is unreliable for too much aspects, so it is excluded apriori

    2) This is anyway an information that I need at least for curiosity; following simply the logic, if there are specific high speed diodes there would be a reason, and this is another point that address me to exclude the solution.

    3) That's ok for the mini switch and the problem is not the price itself


    The project is - in general - metitech_project (this is the tag, you can find all the already wrote posts in the SiFi your Raspberry-Pi challenge blog). In this moment I am focusing all the obscure points, ad this is one of them, to define the complete architecture of the system.

     

    For several reasons I have to use more than one RPI and I should have them exchanging data together in a private internal connection. Then at least two units will be in the same "box" or container. The system in general will be modular so some complex probes - better group of probes - will be external pluggable components driven by another RPI. The same mobile lightweight box will be also available in  a non-portable version with the devices connected together via a network. The "main controller" RPI will include a wifi for the main interface (Android based) so with these premises I think that the LAN is revealing to be the right solution.

     

    The doubt that I already have is about the suggestion os clem57 about the possibility to use for the internal connections the SPI protocol. As I wrote in a precedent post, if by one side the SPI protocol on RPI has the limitation that doesn't support the slave mode by the other there is the master to master connection that - as for what I have read - seems to use only one channel instead of the traditional two bidirectional wire lines MISO and MOSI.

     

    Anyway a t the moment I am strongly prepending for the LAN also for the internal connections.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 10 years ago in reply to balearicdynamics

    Hello Enrico,

     

    Now I know about your project I would definitely use LAN for communications. The advantages of SPI would not be available to you in this context. The implementation of Ethernet on the Pi is far from ideal but will probably be OK (I'm assuming that the earlier reliability issues have been sorted out  - some RPI expert may have  a comment here.)

     

    One big advantage of using Ethernet is that the integration with Linux is far better than for any other reasonable bandwidth communications available to you on a PI.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube