User Tools

Site Tools


guides:wvars_project

Welland Valley Amateur Radio Society Project

Introduction

  • A winter project for WVARS group, PCB designed by Tim, based on the original stripboard design.

Components

QTY Description Where to find Cost (Estimated)
1 Main PCB Supplied by Colin FOC
1 RFM69HW Transceiver 868MHz Link to eBay seller £1.73p
1 MPL3115A2 Barometric Pressure/Altitude/Temperature Sensor Link to eBay seller £3.44p
1 28 pin IC Socket Link to eBay seller
1 ATMEGA328PU Supplied by James 7 available FOC
1 MCP1700-3302E Voltage Regulator TO92 Link to eBay seller £2.47p
1 LED Junk Box FOC
1 SMA PCB connector Link to eBay seller £2.30p
2 Ceramic Cap “104” = 0.1 uF Junk Box FOC
2 35v Cap “105” = 1.0uF Junk Box FOC
3 0.25w 10k carbon resistor Junk Box FOC
1 0.25w 39k carbon resistor Junk Box FOC
1 0.25w 1.5k carbon resistor Junk Box FOC

Installation

Burn Bootloader

  • Insert the following code into boards.txt, this is usually in your Arduino directory in hardware/avr/
##############################################################

atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

atmega328bb.upload.tool=avrdude
atmega328bb.upload.protocol=arduino

#atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.maximum_data_size=2048
atmega328bb.upload.speed=57600

atmega328bb.bootloader.tool=avrdude
atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino
atmega328bb.build.variant=arduino:standard
  • Insert your ATMega328 into an Arduino board (e.g. UNO) and using a AVR Programmer such as AVRISP mkII burn the arduino bootloader onto the ATMEGA328 chip

Flashing the code

  • Move the chip back to the WVARS PCB
  • Using a USB serial convertor chip (either a FTDI or even the one built into the UNO) you can then upload code to Arduino chip. (Connect Rx and Tx as well as VCC and GND)

guides/wvars_project.txt · Last modified: 2020/04/19 17:57 by jcoxon