0

Using EasyEDA I've designed a standalone Arduino nano and plan to have a small PCB manufactured by jlcpcb. I've used the Nano's user manual as a reference for the PCB; within this scope I've used the same microcontroller (ATMEGA168-20AU) and kept close to the original design.

The circuit is modestly basic and will use a blank target ATMEGA168 placed by jlcpcb - my question is - From a programmer Arduino, do I flash the bootloader and program the target micro through the ICSP (left hand side) or is something else required for bootloader plus program? Is the circuit schematic sufficient to work? (could be opening a can of worms here in asking that)

Thanks

ATMEGA168-20AU

asked Jan 11, 2022 at 20:58
2
  • 1
    I do not see any high frequency bypass capacitors. Commented Jan 11, 2022 at 23:06
  • 1
    Add the capacitors suggested in the answer (you can look to the manual for reference), and as good practice, add a pin header with several extra pins on it. This has saved my butt countless times. They won't take up much space at all and you never know when they might come in handy, even just for testing. Commented Jan 12, 2022 at 14:17

1 Answer 1

3

You program the chip through ICSP, yes. Whether or not you include a bootloader is optional - you don't need a bootloader to program through ICSP, that is only for if you want to program through the UART pins and a USB to UART adapter.

Your circuit doesn't appear to include any "bypass" capacitors. These are small capacitors (usually 100nF) placed close to each power (VCC) pin on all chips. These are not optional and are required for the proper running of the chip.

answered Jan 11, 2022 at 23:59

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.