Controller Area Network (CAN)
MED
Posts: 1
Does anyone have any information about Parallax processor in Controller Area Network (CAN)?
I would like to use a Stamp or Propeller on a CAN to communicate with and control devices.
I would like to use a Stamp or Propeller on a CAN to communicate with and control devices.
Comments
I have an IO expander I want to try out later with my trusty old BS2...
Right now I still have a few projects to wrap up...
Somehow when a project is "done", there is always another idea poping up in my head that needs to be implemented...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Post Edited (Kramer) : 6/13/2006 2:28:28 PM GMT
I ordered the MCP2515 and MCP2551·from Microchips and I will look into the CAN bus later...
I'll keep you posted on my findings...
http://ww1.microchip.com/downloads/en/devicedoc/21883b.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
The documentation is huge [noparse][[/noparse]hundreds of pages] and getting started can be slowed down by all that.
You can avoid having to know everything to get this going by having a simple system design -- not automotive, just packets of use to 8 bytes of communication and/or control.
This has been a back burner project of mine for a couple of years, but I really would love to have it working.
The two chips are a RS-485 driver and a CAN Bus chip that has two addresses and several 'mail box slots'. So you can use one address to over-ride the slave's routine functions and the other address to handle routine messages.
You will need a pair of each chip for actual communications and two microcomputers [noparse][[/noparse]BasicStamps, etc...]. Don't forget that these guys need a crystal for each. I think you can use 10Mhz. They should be the same to eliminate a lot more configuration problems.
You need more if you want to have a network of many nodes.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
One of the things that I now see has stalled this project is the lack of a board that will use the BasicStamp and/or the SX-28.
The MCP2515 requires a crystal, so it is not suitable for typical breadboarding.
I will try to work up a board that can plug the SPI into a breadboard or an SX protoboard.
That would elimate a big bottleneck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Will try again tomorrow.
As usual, it took hours [noparse][[/noparse]it is 4am here], but I think this is a goody.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
I might have to start downloading the CAN specifications and start reading...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
·
For some reason I cannot seem to get the larger and clearer·schematic downloaded, but it is available.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Post Edited (Kramer) : 6/14/2006 3:22:44 PM GMT
I intend to make four to six of these ASAP [noparse][[/noparse]about Tuesday]·to be used with BasicStamps, SXes, and/or the Propeller.· Since they all support SPI and this board can provide 5.0 regulated to power the microprocessor [noparse][[/noparse]add an in-line·3.3v regulator for the Propeller] I hope it will free up the hardward bottlenecks.··· The RS485·can be connected to a DB-9 or RJ-45 which can used twisted pair wire.··Unregulated DC [noparse][[/noparse]approximately 9volts] was provided to be sent to remote units over the same cable [noparse][[/noparse]5 wire minimum] as the signal.··The higher voltage allows one to accomodate more distance and regulation at the node to eliminate·potential noise.··
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Post Edited (Kramer) : 6/18/2006 11:04:13 AM GMT