View Single Post
Old 03-21-2010, 02:52 AM   #3258 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,553

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 371
Thanked 297 Times in 188 Posts
Holy cow! CANbus is operational! I successfully had communication going between 2 nodes. I'm really really really really... really happy right now!

I sent 8 bytes as a single packet. They were 'a', 'b', 'c', ... , 'h'.

Originally, the 8 bytes of the receiving buffer had '1', '2', ... , '7', 'nothing' hehe.


I displayed it on the screen through the UART. So it can do CAN and RS-232 at the same time. hurray! noise immunity between everything that counts (and 500kBPS to 1 Mbps data rate), and slow crappy transmission for the user to see. haha

See the green and yellow wires connecting the 2 breadboards? They are the connecting wires for the canbus! You can't teach that, it's all instinct! hahaha


It worked on the first try. That never happens. Ever. Never.
__________________
When I die, I would like to go peacefully, in my sleep, like my grandfather did. Not screaming and yelling like the passenger in his car.
  Reply With Quote