I needed to update how to boot-load and program ATMEGA328AU chips.
Attached is a brief rundown on how-to.
I hope you find it useful.
PDF
Showing posts with label TQFP32. Show all posts
Showing posts with label TQFP32. Show all posts
Wednesday, November 2, 2016
Sunday, August 7, 2016
Test etching, getting closer!
Saturday, August 10, 2013
E-Paper from Embedded Artists
Received two 2.7" EPaper displays and an adaptor for pervasive displays.
These are Embedded Artists products and so far tests with an Arduino Uno are promising.
These are Embedded Artists products and so far tests with an Arduino Uno are promising.

Friday, August 9, 2013
PIR Sensor IO
Datalogging the output from a PIR sensor. The output of the PIR is connected to an Arduino digital input. The PIR output is digital with no PWM for distance. On or Off is as good as it gets.
A separate +12V supply is connected to the PIR as the +5V from the Arduino is not enough for the PIR output to be stable.
A separate +12V supply is connected to the PIR as the +5V from the Arduino is not enough for the PIR output to be stable.
![]() |
PIR hooked into an Arduino via a Protoshield |
Labels:
arduino,
digital,
diy,
electronics,
excel,
hack,
input,
MEGA328P,
PIR,
programming,
prototype,
sensor,
TQFP32,
usb
Tuesday, August 6, 2013
From Midday till Dusk
Light readings taken with the stormTrigger circuit from mid-day until dusk in Songkhla - Thailand.
The graph shows interval (x-axis) and A/D output (y-axis). Readings were taken at 400mS intervals.
Next step is to correlate the readings with actual light level measurements.
Next step is to correlate the readings with actual light level measurements.
Labels:
a/d,
arduino,
diy,
electronics,
excel,
hack,
input,
lightning,
photograph,
programming,
prototype,
sensor,
TQFP32,
trigger
Saturday, August 3, 2013
stormTrigger and 7D
Some video showing tests with 7D. Light was provided by a Canon 430EXII flash.
Labels:
arduino,
automatic,
canon,
diy,
electronics,
hack,
lightning,
MEGA328P,
photograph,
programming,
prototype,
sensor,
TQFP32,
trigger
Friday, August 2, 2013
soundTrigger first shots
With soundTrigger set to activate the camera at 50 A/D counts above ambient, I got some shots of my lighter striking. They came out not too bad.
![]() |
![]() |
Labels:
arduino,
canon,
electret,
electronics,
hack,
hotshoe,
microphone,
photograph,
programming,
prototype,
sensor,
sound,
TQFP32,
trigger
From breadboard to protoshield
Tests on both the light and sound circuits on breadboard were promising. They tests did show a great deal of false triggering and I believe this was due to the bad connection nature of breadboards.
I took both circuits and layed them out on protoboard. This allows direct connection to the Arduino.
Tests so far are very promising.
I took both circuits and layed them out on protoboard. This allows direct connection to the Arduino.
Tests so far are very promising.
![]() |
soundTrigger circuit with microphone in the background |
![]() |
stormTrigger V3 layed out and working well |
Labels:
arduino,
bootloader,
canon,
coincell,
diy,
electronics,
enclosure,
hack,
hotshoe,
lightning,
MEGA328P,
n3,
nature,
photograph,
programming,
prototype,
sensor,
TQFP32,
trigger,
usb
Wednesday, July 31, 2013
Ultrasonic distance measurement
![]() |
LV-MaxSonar-EZ1, PWM output connected |
![]() |
PWM output, 9.8ms @ 2 meters |
![]() |
Data captured varying distance between 2 meters and 10cm |
Labels:
arduino,
diy,
electronics,
excel,
hack,
maxbotix,
MEGA328P,
oscilloscope,
programming,
prototype,
sensor,
TQFP32,
ultrasonic
Tuesday, July 30, 2013
soundTrigger rising
Playing with an electret microphone and a simple circuit.
A Mega328 samples the noise generated by the circuit and triggers a camera on the output via an opto-isolator.
Performance looks promising. Measuring a triggering delay of 35uS (microseconds).
Arduino sketch to follow...
A Mega328 samples the noise generated by the circuit and triggers a camera on the output via an opto-isolator.
![]() |
Schematic in Eagle |
![]() |
Bread boarded Prototype |
![]() |
Measuring I/O performance |
Arduino sketch to follow...
Labels:
arduino,
automatic,
bootloader,
canon,
coincell,
diy,
electronics,
enclosure,
MEGA328P,
n3,
nature,
photograph,
programming,
prototype,
sensor,
TQFP32,
trigger
Tuesday, July 23, 2013
Program TQFP32 MEGA328P (Arduino)
A quick look on the web reveals a lack of ways to get a bootloader onto an MEGA328P AU in TQFP32 SMD package.
Atmel have a board available for their STK600 development kit (Atmel.com). With some modification the board can fit to an Arduino on the standard headers, and have bootloaders burned easily.
A good alternative is available on ebay (here). However you will need to add a PCB to adapt to Arduino headers.
Oscillator circuit (crystal, capacitors and resistor) connected to xtal1, xtal2 and GND.
Atmel have a board available for their STK600 development kit (Atmel.com). With some modification the board can fit to an Arduino on the standard headers, and have bootloaders burned easily.
A good alternative is available on ebay (here). However you will need to add a PCB to adapt to Arduino headers.
Oscillator circuit (crystal, capacitors and resistor) connected to xtal1, xtal2 and GND.
Birdsnest of interconnecting cables from the Arduino headers.
Closeup of MEGA328P in place for programming
Remove the MEGA328P from the Arduino
Mount the AVR board to the Arduino
Hook up the set via USB to your PC then use the following to program the TQFP32 MEGA328P
That gets the bootloader onto the chip.
You will need to include a header on your PCB to access TX, RX, RESET, 5V and GND to program the MEGA328P from the Arduino environment, using an Uno to pass-through the signals, or a standard ICSP header for programming via Atmel Studio and an AVRISPII.
Sunday, May 20, 2012
Version 2 arrives...
The V2 PCB arrived from Silver Circuits last week. I am quite satisfied with performance after preliminary tests using Canon 5D MK3, 7D and Nikon D3100.
This circuit is a much more efficient board layout and dimensions come in at 8cm x 6cm. The LCD is an 8x2 type which is sufficient for display and settings.
This circuit is a much more efficient board layout and dimensions come in at 8cm x 6cm. The LCD is an 8x2 type which is sufficient for display and settings.
![]() |
Version 2 PCB with V0.96a software |
I have added a second 3.5mm input to the PCB (center jack socket on the left) for expansion purposes I will go into later.
Contact me if you have any questions: phase1consult@gmail.com
Labels:
arduino,
bootloader,
canon,
diy,
electronics,
hack,
input,
interface,
lcd,
lightning,
MEGA328P,
n3,
photograph,
programming,
prototype,
TQFP32
Saturday, May 5, 2012
Input & Output
Still in September 2011...
Input specifications:
The A/D input range of the Arduino Uno (Atmega328P) A/D is 0-5V with a range of 0-1023 representing fully dark (0) to fully bright (1023).
Light measurement to allow for ambient light from fully dark up to full sunlight, plus sufficient sensitivity to detect lightning pulses.
Types of light sensor played with were LDR (Light Dependent Resistor) and Photo Transistor.
Output specifications:
While triggering a camera (Canon DSLR to be specific) I do not want any circuit voltages or power of any kind to be passed to the camera external trigger port. In order to prevent this an optically isolated Solid State Relay was reviewed. Two devices were looked at (ASSR1219 and ASSR1228) as they are dual channel devices with low power requirements and with the control current set properly, they are very fast acting.
Circuit testing to be done.
Full information of the awesome Arduno microcontrollers can be found by following the link below:
http://arduino.cc/en/
Input specifications:
The A/D input range of the Arduino Uno (Atmega328P) A/D is 0-5V with a range of 0-1023 representing fully dark (0) to fully bright (1023).
Light measurement to allow for ambient light from fully dark up to full sunlight, plus sufficient sensitivity to detect lightning pulses.
Types of light sensor played with were LDR (Light Dependent Resistor) and Photo Transistor.
Output specifications:
While triggering a camera (Canon DSLR to be specific) I do not want any circuit voltages or power of any kind to be passed to the camera external trigger port. In order to prevent this an optically isolated Solid State Relay was reviewed. Two devices were looked at (ASSR1219 and ASSR1228) as they are dual channel devices with low power requirements and with the control current set properly, they are very fast acting.
Circuit testing to be done.
Full information of the awesome Arduno microcontrollers can be found by following the link below:
http://arduino.cc/en/
Labels:
a/d,
arduino,
input,
interface,
lcd,
lightning,
MEGA328P,
n3,
photograph,
programming,
prototype,
sensor,
TQFP32,
trigger
The stormTrigger
Back to September 2011.
A quality camera triggering device is expensive.
The need for a lightning trigger was highlighted to me while staying in Hat Yai for a few days. Setting up a tripod on a balcony then setting the camera to long exposure mode, and continuously pressing the shutter, hoping to capture a lightning strike proved to be very hit & miss.
I have been playing with Atmega microcontrollers for a few months now, developing my understanding of programming and interfacing with sensors.
I set about deciding upon the specifications.
A quality camera triggering device is expensive.
The need for a lightning trigger was highlighted to me while staying in Hat Yai for a few days. Setting up a tripod on a balcony then setting the camera to long exposure mode, and continuously pressing the shutter, hoping to capture a lightning strike proved to be very hit & miss.
I have been playing with Atmega microcontrollers for a few months now, developing my understanding of programming and interfacing with sensors.
I set about deciding upon the specifications.
Labels:
arduino,
bootloader,
canon,
diy,
electronics,
enclosure,
hack,
lightning,
MEGA328P,
n3,
nature,
photograph,
programming,
prototype,
sensor,
TQFP32,
trigger
Subscribe to:
Posts (Atom)