This prototyping/programming board is designed for use with the Atmel ATMega48P, ATMega168P, & ATmega328P microcontrollers. The board has a number of features including a 24x12 0.1" grid prototyping area specifically laid out to match the pin-out of these devices. Additional pads are also provided for optional components such as external crystal, reset button, LED, ICSP headers and these are all connected to the appropriate pads within the prototyping area. The 6 and 10 pin ICSP headers are compatible with most common ICSP programmers such as the USBASP (see HCDVBD0031) and USBTiny (HCARDU0002). For the prototyping and ZIF programming bundles all components are deliberately chosen to be through-hold for easy construction (components in these bundles will require soldering).

This board is available in 3 options:

Bare board (HCPROT0088)

Just the PCB, for use as a basic prototyping board where you can add your own components.

.

Prototyping bundle (HCPROT0093)

PCB and all components required for prototyping - just add your own microcontroller. This bundle includes the following list of items:

This bundle is a great low cost solution if you often need to program devices for use with other development boards. It includes a hard wearing 28 pin Zero Insertion Force (ZIF) socket that allows target devices to be quickly inserted and removed without exerting mechanical stress on the IC. This bundle includes the following list of items:

Trying to upload to the chip with the ZIF bundle gives the following error: An error occurred while uploading the sketch avrdude: ser_open(): can't open device "\\.\COM5": The system cannot find the file specified.

Programming a chip via the USBasp/Target board has to be done in a slightly different way to programming an Arduino board. As the the chip is blank it doesn't yet contain the Arduino bootloader (a program normally pre-installed into an Arduino that allows it to accept sketches via it's serial port) and as a result you can't upload a sketch via it's serial interface.

To program the ATMega device using the programming bundle you'll first need to tell it which type of external programmer you have. In the menu at the top of the Arduino window go to:

Tools->Programmer

You will then see a list of external programmers. For the USBasp simply select 'USBasp'

Next, as normal, you will need to set the board type:

Tools->Board

This will tell the Arduino IDE what version of bootloader you wish to program into the the device and for what type of device to compile your sketch for. For this you must choose an Arduino board that has the same type of device you're attempting to program. E.g. for an ATMega328 you could choose, Uno, Nano, Pro Mini, etc. If you are just wanting to program the device to use in your own project then I would recommend selecting 'Nano' as the board type and 'ATMega328p' as the processor.

The IDE is now set up and you now have the option of either uploading the Bootloader *OR* your sketch to the device:

To upload the bootloader:

Simply select Tools->Burn bootloader. This will burn the bootloader for whatever board type you have selected. Note that burning the bootloader is only necessary if you are programming the chip to replace a device in an existing Arduino board, or you'll be using the device in you're own project but want the option of uploading sketches via it's serial interface.

To upload a sketch:

Hold down the shift key on your keyboard and then click the upload button (round green icon with right pointing arrow found in the top left corner of the IDE) as normal. Notice as you hover over this button the IDE now says 'Upload using programmer' whilst the shift key is held down. The Arduino IDE should now upload the sketch via the programmer.

Attachment:

ATMega48_88_168_328P_Target_Board_Schematic.pdf

Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do not provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.

You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum