Thank you Tom for your reply.
I am using Arduino Mega 2560 and CAN-BUS shield which Implements CAN V2.0B at up to 1 Mb/s. This is the link for the CAN bus I am using in the project
I am good at programming arduino but lacks hardware experience.
The main problem I am facing is connecting arduino to CAN controller which works on 24V, but the operating voltage of arduino is less than 24V.
I felt Connecting DC to DC Converter will solve, but the circuit becomes very bulky and cumbersome. Dont know how to tackle this problem:(
Thanks in advance.