Sign In

Need Help With Hex File

jagjit singh MAHIBANQUETS@GMAIL.COM India

Hardware: Atmega8 With 16mhz Crystal Software: Arduino Intigrated Development Environment

the hex file generated by thed arduino ide is 20kb with bootloader, i have compiled it for ng board with atmega 8 chip, I wish to use the extreme avr burner that I have purchased from you to burn my atmega 8 chip.

I need your valued guidance to know whether this hex file generated by the arduino ide fit the atmega 8 chip also whether I can use your extreme avr burner for this purpose.

Thanks & regards

Jagjit Singh

Images

Program

#include <LiquidCrystal.h>
#include <DHT.h>
#include "DHT.h"
#define DHTPIN A0
#define DHTTYPE DHT11
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
DHT dht(DHTPIN, DHTTYPE);

void setup()
{
  Serial.begin(9600);
  for (int DigitalPin = 7; DigitalPin <= 9; DigitalPin++) 
 {
  pinMode(DigitalPin, OUTPUT);
 }
  lcd.begin(16,2);  
dht.begin();
}
 
void loop()
{
  delay(1000);
  
  float h = dht.readHumidity();
    float t = dht.readTemperature();

  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("Temp: ");
  lcd.print(t);
  lcd.print("'C");
  
  lcd.setCursor(0,1);
  lcd.print("Humid: ");
  lcd.print(h);
  lcd.print("%");

  delay(2000);

  lcd.clear();
  lcd.setCursor(0,3);
  lcd.print("Jagga Jatt");
  
delay(1500);
  
  if (t<=15)
  {
  digitalWrite(7, HIGH);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
  }
  else if (t>29)
  {
  digitalWrite(8, HIGH);
  digitalWrite(7, LOW);
  digitalWrite(9, LOW);
  }
  else if (t>=37)
  {
  digitalWrite(9, HIGH);
  digitalWrite(7, LOW);
  digitalWrite(8, LOW);
  } 
  
}

Replies

R Avinash
2016-05-29 11:26:24
Try to load it in extreme burner, if the data size is more than 8KB then it will show error message.

Post a reply to jagjit singh

Think you can help jagjit singh ? Then post your thoughts that might help jagjit singh. You will earn a lot of reputation in the technical community.

If your program is in multiple files, then ZIP the entire folder and attach below

Images and Screenshots

These helps other better understand your suggestion.