View Single Post
  #177  
Old 15-08-2016, 06:37 PM
wasyoungonce's Avatar
wasyoungonce (Brendan)
Certified Village Idiot

wasyoungonce is offline
 
Join Date: Jul 2006
Location: Mexico city (Melb), Australia
Posts: 2,336
Hi Luka..yes thats' a possibility

Just got an answer regarding ATMega328 from Sergiy on CN....it's supposed to be an ATMega328P. The reason is the 328P is more modern and code compiled for 328 can run on 328P but not backwards.

I'm changing schematic now and looking at pin differences. I already had 328P in schematic...probably didn't have footprint of 328!

Sergiy said he didn't know if the sensor could withstand vacuum but they had a sensor cover glass fail moisture got in a destroyed the sensor. They are having issues with dew on the sensors.

edit:
further to this..while I have the correct package there is an issue with the difference between packages pin changes:

Pin ATMega328 ATMega328P
Pin 3 GND PEO/ACO......... A problem with schematic
Pin 6 Vcc PE1................A problem with schematic
Pin 19 ADC6 ADC6/PE2
Pin 22 ADC7 ADC7/PE3

Pin 3 on our schematic/PCB is GND, "0V"
Pin 6 on our Schematic/PCB is VCC, "3.3V".

Yet the ATMega328P data sheets list these pins on the "P" as GND and VCC respectively. TQFP32 package...sigh!

Last edited by wasyoungonce; 15-08-2016 at 06:55 PM.
Reply With Quote