The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
Hi,Grant,the hardware requirement is a STM32F4 series microcontroller,the netduino can has this feature.
Are you planning to sell it the code or a hardware solution?,To your this question,i can not answer it in this forum,if you really want to know,you can sent me a private message.
Is the hardware the same as an rs485 solution/shield?,No,it uses the internal hardware CAN bus,it's different to the rs485,the CAN bus is much better than rs485.
And im sure i will port the CAN driver to netduino for free if there are many people need it.(But not open source at this moment).Thankyou for you replied.
Hi,Grant,the hardware requirement is a STM32F4 series microcontroller,the netduino can has this feature.
Are you planning to sell it the code or a hardware solution?,To your this question,i can not answer it in this forum,if you really want to know,you can sent me a private message.
Is the hardware the same as an rs485 solution/shield?,No,it uses the internal hardware CAN bus,it's different to the rs485,the CAN bus is much better than rs485.
And im sure i will port the CAN driver to netduino for free if there are many people need it.(But not open source at this moment).Thankyou for you replied.
Nice job.
However, "much better than RS485" is something relative. A typical RS485 hardware interface is cheaper and simpler than the CAN way. Moreover, the RS485 can be easily opto-isolated, but the CAN does not.
Their speed limitation is pretty similar, but on medium/long-running cabling the galvanic opto-isolation is mandatory (for a reliable life of the system).
CAN bus is beating RS485 in small-run networks, where the noise is typically prohibitive: a car is the most famous context.
They're simply different: I wouldn't say one is beating the other in a absolute way.
Ciao
Biggest fault of Netduino? It runs by electricity.
Hi,Mario Vernari,you are correct,but to my self,i still feeling the CAN bus is better than RS485,because the CAN bus has the error detection features,it will not interrupts the whole bus if there is one of the Notes running in hardware error,if this happen to RS485,the whole RS485 will interrupted.And the transmit distance of CAN can goes up to 10KM,but the RS485 only 1KM
My brother is a mechanic and he's always raving about it being the bee's knee's. I've never worked with it before and was purely interested as an academic challenge. Can you point me to a hardware schematic that shows how to wire it all up. It would be an awesome trick to be able to sniff car network traffic. I always wanted to play with rs485 also though, for a hobby project, and to increase my skills I should play with both at some stage I guess.
Congratulations on the achievement. As I understand it, the task of adding it was quite large and complex. I hope you are able to commercialize in someway that makes it worth your while. I don't know if there's a shield out there or not, but that might be one way?
I can't even go close to contributing what it would be worth, but I'd be more than happy to make a sensible donation for your troubles. Just to have up my sleeve for if I get board one weekend.
And here is a cool idea. We should have a forum where people can post a code example with a donate now button. And have an open source target. Like $1000 or something. Where it becomes open source when it reaches a certain amount. That would be cool for cases like this I reckon.
Since I have very basic knowledge of software, I can't really add much to the community yet. But I know enough to appreciate the skills that others might take for granted and am always looking for opportunities to show a little appreciation.
Do you need to recompile a custom firmware? Probably can't pull this off purely in managed code right?
Hi,Grant,thats a good idea for donation,if you would like to use the CAN bus,you have to buy two CAN PHY modules,as what i know is Waveshare is selling this module,its very easy to use,and they also providing the hardware schematic for it.
And yes,i need to recompile a custom firmware for Netduino,because the Netduino is using a difference frequency crystal.Also,the CAN bus driver can not write purely in managed code,because it can not handles the native interrupts.
Please don't rush for me. I just got another job to do so I'll be busy for a while. Maybe when I'm ready I could hit you up for a pre-compiled firmware file or something. That way you could be sure the code couldn't be copied. But like I said. Going to be busy for a while now.
Someone should ask Chris what he thinks about the donation idea thing. I wonder if it would be in breach of the forum rules or something?
Subscribing to this thread! I'm highly, highly interested in using CAN on netduino. SPI-> CAN Interfaces are too slow and in my opinion buggy when using networks that are more than 70% utilization.