Editor Version ×
recommended

Pro Edition

free

Brand new interactions and interfaces

Smooth support for design sizes of over 3W

devices or 10W pads

More rigorous design constraints, more

standardized processes

For enterprises, more professional users

Std Edition

Easy to use and quick to get started

The process supports design scales of 300

devices or 1000 pads

Supports simple circuit simulation

For students, teachers, creators

Ongoing

STD Arduino Soldering Station

Arduino Soldering Station

Project tags

License

LGPL

License: LGPL

Mode:

Mode

Editors' pick

Editors' pick

  • 1.6k
  • 1
  • 3
Update time: 2022-07-22 11:43:14
Creation time: 2021-03-05 07:25:30
Description

Description

#include \ #include \ LiquidCrystal_I2C lcd(0x27,20,4); #define tempSensor A0 #define knob A7 #define iron 10 #define LED 3 int minTemp = 27,       //Minimum aquired iron tip temp during testing (°C) maxTemp = 525,      //Maximum aquired iron tip temp during testing (°C) minADC  = 234,      //Minimum aquired ADC value during minTemp testing maxADC  = 733,      //Maximum aquired ADC value during minTemp testing maxPWM    = 255,    //Maximum PWM Power avgCounts = 5,     //Number of avg samples lcdInterval = 80,   //LCD refresh rate (miliseconds) pwm = 0,            //System Variable tempRAW = 0,        //System Variable knobRAW = 0,        //System Variable counter = 0,        //System Variable setTemp = 0,        //System Variable setTempAVG = 0,     //System Variable currentTempAVG = 0, //System Variable previousMillis = 0; //System Variable float currentTemp = 0.0,  //System Variable store = 0.0,        //System Variable knobStore = 0.0;    //System Variable void setup(){   pinMode(tempSensor,INPUT); //Set Temp Sensor pin as INPUT   pinMode(knob,INPUT);       //Set Potentiometer Knob as INPUT   pinMode(iron,OUTPUT);      //Set MOSFET PWM pin as OUTPUT   pinMode(LED,OUTPUT);       //Set LED Status pin as OUTPUT   pinMode(A6,INPUT);       //Passthru Pin   lcd.backlight();   lcd.init();   lcd.clear();   lcd.setCursor(0,1);lcd.print("PRESET T: ");   lcd.setCursor(0,0);lcd.print("ACTUAL T:"); } void loop(){   //--------Gather Sensor Data--------//   knobRAW = analogRead(knob); //Get analog value of Potentiometer   setTemp = map(knobRAW,0,1023,minTemp,maxTemp);  //Scale pot analog value into temp unit   tempRAW = analogRead(tempSensor);  //Get analog value of temp sensor   currentTemp = map(analogRead(tempSensor),minADC,maxADC,minTemp,maxTemp);  //Sacle raw analog temp values as actual temp units   //--------Get Average of Temp Sensor and Knob--------//   if(counter
Design Drawing

Design Drawing

schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
Project Attachments

Project Attachments

Empty
Project Members

Project Members

Target complaint
Related Projects
Change a batch
Loading...

Comment

Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn