I am CE major prototyping embedded hardware to read and send data via the CAN bus. The design is coupled with a GSM/GPS module to enable tracking. I needed an EE perspective on the schematic diagram (minor changes made to existing designs). Why it may not work?, what I can do better, what component would be a better choice? etc.

In the current design, I plan to replace the MCP2551 with MCP2561/2 and the SIM7000 with SIM808. I was doing a little reading and it looks like I would need a power regulator that can output 2amps, any suggestions on any such regulators?

enter image description here

Any help would be appreciated.

  • \$\begingroup\$ "Any help would be appreciated" - Use a simulator and simulate what you can. \$\endgroup\$
    – Andy aka
    Commented Feb 7, 2019 at 13:59
  • \$\begingroup\$ It's probably not a good idea to connect the AVR's and the MCP2515's oscillator in- and outputs to the same crystal. \$\endgroup\$
    – JimmyB
    Commented Feb 7, 2019 at 16:23

1 Answer 1


A few things that I noticed right off the bat:

  • As mentioned by JimmyB in the comments, you should not be connecting the crystal pins of the ATMEGA to the OSC1/OSC2 pins of the MCP2515. (See page 4)

  • Your MCP2515 symbol does not have power or ground pins

  • Your AVR chip has no decoupling capacitors

  • You have a 22pF capacitor going from Aref to ground on your AVR, this will not do anything.

  • You should add a ~0.1-1uF cap from your AVR reset to ground for noise immunity.

  • You've added a diode and capacitor for a +12V input, but you never use the +12V anywhere else in the schematic

  • You haven't broken out your AVRs in-circuit-programming lines out to a connector, so unless you're using a DIP socket you'll have trouble programming your chip ;)

  • Have you verified that you will not need a CAN termination resistor in your device?

As far as suggestions for the schematic itself, there are some best practice guidelines that you should do your best to follow. If you take a look at this excellent question, you'll see several examples of what to do, and what not to do.

As drawn, there are many cases of labels overlapping each-other, wires coming straight out of pins at 90 degree angles, etc. Particularly near the SIM7000, I can't even tell where the wires are going, or where they're meant to go. While it's definitely not a bad schematic, it is fairly cluttered and difficult to read. While having perfectly clean schematics might seem like a trivial point, it's actually extremely important, as it's much easier to catch mistakes when you're not sifting through visual spaghetti. I would suggest cleaning up your schematic to follow the rules of the linked question, and then updating this post, as we'll be much more likely to see any other possible mistakes.

As far as the power regulator goes, you need to provide us more information. What power regulator? For your 5V rail? Or something else? Why 2 Amps? Nothing on your schematic here should be particularly power hungry.

Hope this helps!

  • \$\begingroup\$ I know of the termination resistor. I do not know where I would place that in my circuit. With the 12V, I know that's what I would get from the DLC connector under the dash. So I would need to step that down to 5V to feed the GSM and Atmega modules. Also, I do plan to use a DIP socket when soldering the components onto the PCB. \$\endgroup\$
    – user_Mac
    Commented Feb 13, 2019 at 22:34
  • \$\begingroup\$ Usually the termination resistor is 120 ohms between the CAN_L and CAN_H lines. You may or may not need one, depending on exactly what you are using this for. IF you just want something simple to step the voltage down you can go with a power brick like so:digikey.ca/product-detail/en/recom-power/R-78B5.0-2.0/… \$\endgroup\$
    – Platytude
    Commented Feb 14, 2019 at 4:24
  • \$\begingroup\$ I plan to add a battery to also keep the GSM on even when the vehicle ignition is turned off (So that its GPS does not have to re-lock onto satellites). \$\endgroup\$
    – user_Mac
    Commented Feb 14, 2019 at 8:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.