Show HN: We made a small and cheap network switch (docs.murexrobotics.com)
Hello, we're Max and Byran from MUREX Robotics, a high school robotics team from Exeter, New Hampshire. We are super proud to have made this open source piece of technology! It is only 6.9 dollars (actually!) from JLCPCB :) I hope you like it.
You can find us at byran@mrx.ee and max@mrx.ee as well if you have any questions.
We will be putting a small run of these boards for sale somewhere (we have <25 units of stock), probably for $10+shipping. Let us know if you're interested in more!
Board files for everything we make is here: https://github.com/murexrobotics/electrical-2024
159 comments
[ 2.9 ms ] story [ 246 ms ] threadPS. Try to reference vendor application notes or datasheets instead of stackexchange where possible.
For those of us not generally in the hardware world (and thus not 100% familiar with the terminology) could you post more pics?
Especially of the enclosure? I'm not really sure if you are just exposing headers, or if there are regular Ethernet plugs on the board?
We're exposing 1.25mm pitch Molex Picoblade connectors to make the board as small as possible. The built-in magnetics allow it to be connected to any Ethernet device just from spicing into an RJ45 connector.
Is this designed for personal or industrial use?
monoprice #41710 is $10 all in with a price break starting at qty 2.
maybe you want to qualify your description with 'embeddable'.
> built-in magnetics
interesting b/c the website says `external magnetics`
Magnetics: We have built-in "external" magnetics, so the physical ports don't have the magnetic inductors required in the Ethernet standard. This makes the ports super small, allowing us to use 1.25mm pitch Molex Picoblade connectors. Again, thanks for the suggestions. We're still learning and the team is taking all the comments very seriously.
(yes a cap in-line works too if you know what you're doing)
Neat project!
I would note that all new products seem to be gbe or better.
https://bluerobotics.com/store/cables-connectors/cables/fath...
Is creating bespoke parts a requirement for your robotics competition or just a part of your team's ethos?
An Ethernet switch for $6.9 directly from JLCPCB is pretty incredible, thank you for making this product sector a tiny bit better :)
[1] https://sagarpatil.me/projects/cms-avi-hw
[2] https://botblox.io/products/micro-gigabit-ethernet-switch
Also thank you, I've loved working on the PSP rocket! Bi-propellant rocketry is a pretty rare to do as an undergraduate, and you should consider applying to these schools if that's something that motivates you:
- Purdue: https://purdueseds.space/
- Berkeley: https://www.berkeleyse.org/
- UCLA: https://www.rocketproject.seas.ucla.edu/
- Georgia Tech: https://www.gtspaceprogram.com/
- ERAU: https://daytonabeach.erau.edu/about/labs/rocket-laboratory
This is a non-exhaustive list of schools I know that have undergraduate-run liquid rocketry programs.
https://www.colorado.edu/studentgroups/cobra/
https://www.pdx.edu/psu-space#psas
Undergrads, not catching on fire in space!
Some thoughts:
- Agreed with not using I2C, I2C has been identified as a root cause in several cubesat mission failures: https://pure.tudelft.nl/ws/portalfiles/portal/10531886/art_3... and https://webapps.unsworks.library.unsw.edu.au/fapi/datastream... (yes clock stretching is evil). I2C should be banned for multi board communication
- Classic CAN have very small 8 byte MTU with frame preemption, which is actually useful for its intended purpose of time critical automotive data transfer. If that 4 byte brake packet is blocked by a 1500 byte packet then your car will crash and explode. But the tradeoff is that this makes it very slow for bulk data transfer
As an example, the Nintendo Switch used I2C over a ~2m cable to communicate between the controller and nunchuck. Worked fine even in noisy household settings with wifi and microwaves and whatnot.
At work we've used sensors for data logging that communicate using I2C over distances more than 20 meters, using plain Cat5 cable.
A longer cable means more bus capacitance, which means with the same pullup resistor the signal rise time will be higher, which means you need to reduce the bus speed. A stronger pullup will reduce the rise time (allowing a higher bus speed), but each chip's driver has to be able to overpower the pullup too. If the pullup is too strong for the drivers, you end up being unable to send a zero.
In practice your cables can be quite long, you just have to run it at a lower speed. If you really want to push it, there's always transceivers like the PCA9615 which turn it into a differential bus.
https://www.latticesemi.com/what-is-serdes
Someone else mentioned the PCA9615 which looks like it'd to the job.
https://learn.adafruit.com/adafruit-wii-nunchuck-breakout-ad...
Not sure if that justified the price difference
There are products at different price points on the market, for example this 55x55mm switch from my company Brainboxes[1] is sub $50. We choose that size so that we could also produce a gigabit option with the exact same footprint. We opted for microMatch[2] style connectors as you can get board to board as well as board to cable options.
Your co-leads decision to buy-in is quite common, as you can reduce time to market and also not have to manage the component lifecycle if you go with an off the shelf option.
[1] https://www.brainboxes.com/product/pure-embedded/pe-505
[2] https://www.te.com/en/products/brands/micro-match.html?tab=p...
By "buy-in" I was referring to the parent comment and how the electronics guy chose to buy-in a pre-made module rather than design their own.
You can hear more about it in this podcast: https://wandb.ai/site/resources/podcast/episodes/ai-in-elect...
Quilter doesn't have the best support for impedance matched traces. We do 90Ω on a 4 layer board and Bob Smith termination which has some pretty goofy design requirements.
Set up your design rules right and I’ve had gigabit RGMII and 1000Base-X work first try.
And finally https://www.youtube.com/@PhilsLab has some good tutorials.
Finally, goo into things with an attention to detail to polish a board. A hobby board takes far less time than a product board, but all it is is time and thinking about each attribute more. You don't need third level education to have that work ethic.
Best of luck!
That this switch is small and light might make for some interesting UAV applications as well!
Somewhere like http://tindie.com?
The only thing is it doesn't address a new or existing market as-is because it competes with what already exists. For example, a TrendNet 10/100 compact switch (not a hub) goes for $7.31 including shipping on eBay and it comes with a case and a power supply. Decommodifying a product requires finding niches where there is demand like automotive, aerospace, military, or marine applications. Until roughly 2020, 2.88 MB 3.5" floppy drives were in-use primarily in industrial and turnkey commercial systems long after they disappeared from desktop computers. Dinosaur technologies can live on for a very long time, often in critical systems deemed too expensive to replace.
Keep pushing forward, learning, and getting better.
Btw, if someone made a:
- 48 port 10GBASE-T (802.3an-2006) POE++ (IEEE 802.3bt-2018) 960W-1600W+ (3422W would be the upper limit for type 4)
- L2 (at least) switch
- unmanaged to fully-managed (but no cloud features)
- 4 100GBASE QSFP28 uplinks (unpopulated)
- dual, hot-swappable PSUs
- 2 models: Ports facing either forward or reverse
- 19" 1U half rack depth, and wall mountable
- Most importantly: doesn't sound like a jet engine under full load by leveraging better engineering, such as using some industrial-rated parts, heatpipes, and moving hotter air but less volume
I'd throw down in the $6K price-point neighborhood.
Comparables:
$4800 FS S5860-48XMG-U is close but sounds like a jet engine with dual 1U screaming PSUs and 3 hot swap chassis fans, but only available in conventional top-of-rack forward facing, leading to longer, messier wire management unnecessarily.
A 1G switch from Ali with a case, power supply, and the RJ45 connectors is also under $10.
What is not acceptable is full sized switches inside of a robot: they're way too bulky. You may be looking into installing a switch inside a humanoid upper arm or inside pelvis. Regular switches and hubs don't fit there.
This product solves that specific robotics packaging problem. Electrically it's a switch/hub, physically it's much smaller than that, that's the point.
This is something I might test myself. I have a couple of audio devices that will never be both "active" at the same time. In my current layout I need to run either two cables or just another switch and it just seems a waste. I wonder if I can buy daisy chained cable so I don't have to make one...
The other issue is that there is at least 2 competing industrial connector standards for SPE, the main ones being from Harting[2] and Phoenix Contact[3]. I think this could be a great option for the future and ultimately lead to lower cost cabling and smaller products.
[1] https://www.single-pair-ethernet.com/en
[2] https://images.app.goo.gl/ND9d9x66YNUckS7g6
[3] https://images.app.goo.gl/yWAiUAx4Y5vRmmbZA
This reminds me of a funny conversation I had in a small town stationers when looking for an item.
‘No, we don’t stock it. People keep asking, and I keep having to explain that there is no demand.’
Though this wasn’t for an obscure Ethernet variant.
Hubs are no-no because of various performance issues, including how more and more gear supports gigabit on the daisy chaining.
But there is always room to hope. :)
Keep in mind that you'd be supplying 71W to every single downstream port. That's an insane amount of power. Something like a Cisco Catalyst 9136I Access Point only comes up to 47W, and that's assuming 16 radios, double 5Gbit uplinks, and a USB device drawing 9W.
Adding a sound requirement is stupid and ridiculous. You're wanting to take the power supplies from 48 90W devices and put them all in one dense little box and then complaining that it needs to be cool.
If you have room for 48 PoE devices, you have room for a properly cooled and sound isoloated IDF.
[1] https://botblox.io/products/small-ethernet-switch
Ethernet over copper is designed for cable runs of over 300ft and has to be much more forgiving of poor quality cables and connectors. That means for the same level of complexity and power consumption in the transceivers, you're just not going to be able to get as much bandwidth.
Ethernet equipment suitable for 2.5Gb/s and 5Gb/s in consumer equipment (cheap, low power) is now readily available, but there's not enough demand to drive pricing down to parity with 1GbE and completely supplant it. 1GbE is good enough for most consumer use cases, especially given the dearth of multi-Gig WAN connections in the consumer market, the lack of popular use cases that would benefit from slightly faster LAN connections, and the continuing improvements to WiFi.
Copper Ethernet standards tend to be specified for over 30 metres, and go (preferably) up to 100m. That’s pretty tricky to do, you need quite thick cable with individually foil shielded pairs to achieve those kind of long distances at 10Gbps. 40 Gbps USB-C on the other hand is recommended to travel over a maximum of a metre or so of cable, with the recommended being 0.8m (2.6ft) of cable or less! Thunderbolt cables that go longer need active driver chips inside the cable in each connector to make the whole thing work.
Then there is the power issue, 10Gbps Ethernet uses significantly more than 1Gbps, so a 40GBase-T switch would be even more power hungry.
The combination of these has meant that basically most people just use fibre if they need more bandwidth.
Once again, our mission is to create open-source, cost-effective, and accessible electronics for as many people as possible -- I think our board is much more attractive in that respect and a win in my book :)
[1] https://botblox.io/products/small-ethernet-switch
I think it's been rightly pointed out that you aren't beating commodity parts on price, but you're also not a manufacturing operation with scale and there is a certain niche for which anything with open hardware that's well-documented is a killer feature