Jump to content
ELFORUM - Forumul Electronistilor

gpmarian2005

Membri
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

2 Neutral

About gpmarian2005

  • Rank
    Nou venit
  • Birthday 07/20/1967

Profile Information

  • Locatie
    Constanta

Contact Methods

  • Skype
    gpmarian20051

Recent Profile Visitors

46 profile views
  1. gpmarian2005

    Vand regulator de turație (pentru motor de mașină de spălat)

    Multumesc pentru aprecieri si felicitari pentru proiect.
  2. gpmarian2005

    Statie de aer cald cu arduino.

    Buna ziua, doresc sa fac o statie de aer cald pentru lipit/dezlipit SMPD-uri. Am gasit un proiect bazat pe MAX 6675 insa intampin urmatoarea problema: cand vreau sa incarc programul in arduino, imi da o eroare, pe care nu am cunostinte sa o remediez. Ma poate ajuta cineva, care are cunostinte de programare? Proiectul este AICI Programul: #include <max6675.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #include <MAX6675.h> // Initialize the MAX6675 Library for our chip LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display int chauffe; int vent; int plus; int moins; int led; int temperature; int etatboutonplus; int etatboutonmoins; int reed; int CS = 5; // CS pin on MAX6675 int SO = 4; // SO pin of MAX6675 int aSCK = 6; // SCK pin of MAX6675 int units = 1; // Units to readout temp (0 = raw, 1 = ˚C, 2 = ˚F) float temperaturemesure = 0.0; // Temperature output variable //MAX6675 thermocouple(thermoCLK, thermoCS, thermoSO); units MAX6675 temp(CS, SO, aSCK); void setup() { temperature=200; chauffe= 13; vent=12; plus=11; moins=7; led=3; reed=2; pinMode(chauffe, OUTPUT); pinMode(vent, OUTPUT); pinMode(plus, INPUT_PULLUP); pinMode(moins, INPUT_PULLUP); pinMode(led, OUTPUT); pinMode(reed, INPUT_PULLUP); lcd.init(); // initialize the lcd lcd.backlight(); lcd.setCursor(3,0); lcd.print("Station a "); lcd.setCursor(3,1); lcd.print("air chaud "); delay(1500); lcd.clear(); lcd.setCursor(1,0); lcd.print("Marmotte 2017"); lcd.setCursor(3,1); lcd.print("Version 1 "); delay(1500); } void loop() { temperaturemesure = temp.read_temp(); lcd.clear(); lcd.setCursor(0,0); lcd.print("Reglage: "); lcd.print(temperature); lcd.print(" C"); lcd.setCursor(0,1); lcd.print(temperaturemesure); if (digitalRead (5) == LOW) { digitalWrite(led, LOW); lcd.setCursor(0,1); lcd.print("Station en pause"); } else { if (temperaturemesure <= temperature) { digitalWrite(chauffe, HIGH); digitalWrite(led, HIGH); digitalWrite(vent, HIGH); } else { digitalWrite(chauffe, LOW); digitalWrite(led, LOW); digitalWrite(vent, HIGH); } } if (digitalRead (11) == LOW) { temperature=temperature+10; } else { } if (digitalRead (7) == LOW) { temperature=temperature-10; } else { } delay(100); } Eroarea: In file included from D:\Hot air station\pistolet_a_air_chaud\pistolet_a_air_chaud.ino:5:0: C:\Users\CNC\Documents\Arduino\libraries\MAX6675-library-master/MAX6675.h:10:7: error: redefinition of 'class MAX6675' class MAX6675 { ^ In file included from D:\Hot air station\pistolet_a_air_chaud\pistolet_a_air_chaud.ino:1:0: C:\Users\CNC\Documents\Arduino\libraries\MAX6675-library-master/max6675.h:10:7: error: previous definition of 'class MAX6675' class MAX6675 { ^ pistolet_a_air_chaud:30: error: conflicting declaration 'MAX6675 temperaturemesure' MAX6675 temperaturemesure(CS,SO,aSCK,units); ^ D:\Hot air station\pistolet_a_air_chaud\pistolet_a_air_chaud.ino:27:7: note: previous declaration as 'float temperaturemesure' float temperaturemesure = 0.0; // Temperature output variable ^ D:\Hot air station\pistolet_a_air_chaud\pistolet_a_air_chaud.ino: In function 'void loop()': pistolet_a_air_chaud:66: error: 'temp' was not declared in this scope temperaturemesure = temp.read_temp(); ^ Using library MAX6675-library-master at version 1.0.0 in folder: C:\Users\CNC\Documents\Arduino\libraries\MAX6675-library-master Using library Wire at version 1.0 in folder: C:\Users\CNC\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\Wire Using library LiquidCrystal_I2C at version 1.1.2 in folder: C:\Users\CNC\Documents\Arduino\libraries\LiquidCrystal_I2C exit status 1 conflicting declaration 'MAX6675 temperaturemesure'
  3. Va salut . As dori destul de urgent daca se poate , un regulator de turatie construit de dvs. Imi trebuie pt  urmatoarea ,,inventie '' de mai jos. Adresa mea este : Vranceanu Cristi , sat Stolniceni Prajescu , jud IASI , CP 707 460 , Tel 0742534815 sau 0232/764640 . Se pare ca e ceea ce imi trebuie . Urmariti topicul si o sa vedeti ca momentan incerc folosirea unui variator de aspirator in care insa nu am incredere ca va functiona bine in sarcina . 

     

     

     

     

  4. gpmarian2005

    Vand regulator de turație (pentru motor de mașină de spălat)

    In film fac compararea celor doua controlere pentru cei neinitiati. Eu personal stiu ca parametri sun diferiti, dar am intalnit persoane care nu fac diferenta.
  5. Vand regulator de viteza pentru motoare cu tahogenerator(motoare de masina de spalat} Montajul se bazeaza pe circuitul integrat TDA1085. Acest regulator de viteza asigura o putere mare chiar si la viteza mica a motorului. In general aceste motoare au putere mare la viteze foarte mari 17000 rotatii/minut, insa cu acest regulator are aceiasi putere ridicata chiar si la viteze de 1000 rotatii/minut asfel motorul fiind protejat. Pentru a vedea performantele in sarcina si comparatia cu un alt reductor de viteza priviti acest video: APASA AICI Pretul este de 99 lei plus transport.
  6. gpmarian2005

    vand Fludor / Cositor cu plumb sau fara plumb

    Am primit marfa! Marfa ieftina si de calitate!
  7. gpmarian2005

    vand Fludor / Cositor cu plumb sau fara plumb

    Cu plumb.
  8. gpmarian2005

    vand Fludor / Cositor cu plumb sau fara plumb

    Salut, vreau si eu 2 role de COSITOR FLUITIN 1532 , Sn60 Pb38 Cu 2 diam 0.75 mm. PM-ul meu nu functioneaza, iti las adresa de e-mail. gpmarian2005@gmail.com.
  9. gpmarian2005

    esp8266 unsigned int ce valoare maxima are ?

    Buna ziua, de curand am cumparat o placa ESP8266 NODEMCU V3 si neavand eperienta am inceput sa ma joc cu ea, si sa instalez diferite coduri. Dupa instalarea urmatorului cod #include <ESP8266WiFi.h> ////////////////////// // WiFi Definitions // ////////////////////// const char WiFiAPPSK[] = "sparkfun"; ///////////////////// // Pin Definitions // ///////////////////// const int LED_PIN = 5; // Thing's onboard, green LED const int ANALOG_PIN = A0; // The only analog pin on the Thing const int DIGITAL_PIN = 12; // Digital pin to be read WiFiServer server(80); void setup() { initHardware(); setupWiFi(); server.begin(); } void loop() { // Check if a client has connected WiFiClient client = server.available(); if (!client) { return; } // Read the first line of the request String req = client.readStringUntil('\r'); Serial.println(req); client.flush(); // Match the request int val = -1; // We'll use 'val' to keep track of both the // request type (read/set) and value if set. if (req.indexOf("/led/0") != -1) val = 0; // Will write LED low else if (req.indexOf("/led/1") != -1) val = 1; // Will write LED high else if (req.indexOf("/read") != -1) val = -2; // Will print pin reads // Otherwise request will be invalid. We'll say as much in HTML // Set GPIO5 according to the request if (val >= 0) digitalWrite(LED_PIN, val); client.flush(); // Prepare the response. Start with the common header: String s = "HTTP/1.1 200 OK\r\n"; s += "Content-Type: text/html\r\n\r\n"; s += "<!DOCTYPE HTML>\r\n<html>\r\n"; // If we're setting the LED, print out a message saying we did if (val >= 0) { s += "LED is now "; s += (val)?"on":"off"; } else if (val == -2) { // If we're reading pins, print out those values: s += "Analog Pin = "; s += String(analogRead(ANALOG_PIN)); s += "<br>"; // Go to the next line. s += "Digital Pin 12 = "; s += String(digitalRead(DIGITAL_PIN)); } else { s += "Invalid Request.<br> Try /led/1, /led/0, or /read."; } s += "</html>\n"; // Send the response to the client client.print(s); delay(1); Serial.println("Client disonnected"); // The client will actually be disconnected // when the function returns and 'client' object is detroyed } void setupWiFi() { WiFi.mode(WIFI_AP); // Do a little work to get a unique-ish name. Append the // last two bytes of the MAC (HEX'd) to "Thing-": uint8_t mac[WL_MAC_ADDR_LENGTH]; WiFi.softAPmacAddress(mac); String macID = String(mac[WL_MAC_ADDR_LENGTH - 2], HEX) + String(mac[WL_MAC_ADDR_LENGTH - 1], HEX); macID.toUpperCase(); String AP_NameString = "ESP8266 Thing " + macID; char AP_NameChar[AP_NameString.length() + 1]; memset(AP_NameChar, 0, AP_NameString.length() + 1); for (int i=0; i<AP_NameString.length(); i++) AP_NameChar[i] = AP_NameString.charAt(i); WiFi.softAP(AP_NameChar, WiFiAPPSK); } void initHardware() { Serial.begin(115200); pinMode(DIGITAL_PIN, INPUT_PULLUP); pinMode(LED_PIN, OUTPUT); digitalWrite(LED_PIN, LOW); // Don't need to set ANALOG_PIN as input, // that's all it can be. } placa mea a primit un nume de SSID si o parola fixa indiferent ce cod de accesspoint incarc. Ma poate ajuta cineva sa scap de numele si parola fixa? Mentionez ca am rescris inclusiv firmware-ul placi, dar tot asa merge. Banuiesc ca portiunea de cod care a generat problema este aceasta: // Do a little work to get a unique-ish name. Append the // last two bytes of the MAC (HEX'd) to "Thing-": uint8_t mac[WL_MAC_ADDR_LENGTH]; WiFi.softAPmacAddress(mac); String macID = String(mac[WL_MAC_ADDR_LENGTH - 2], HEX) + String(mac[WL_MAC_ADDR_LENGTH - 1], HEX); macID.toUpperCase(); String AP_NameString = "ESP8266 Thing " + macID; Va muultumesc.
  10. gpmarian2005

    desktop CNC - pcb-uri si carcase - pCarve 2.0

    Imi poate spune cineva cum pot sa il contactez pe klayus ? Vreau sa stiu care este pretul CNC-ului.
×