Fórum témák

» Több friss téma
Fórum
Keresés
Lapozás: OK   10 / 197
(#) mikrodigit válasza Régi motoros hozzászólására (») Ápr 10, 2023
Ez nem fog menni, ha vissza tudnád telepíteni a régit, akkor sem.
Azt írja a bank:
"Amennyiben a készülék már nem támogatja a legalább 6.0 Android rendszer futtatását, sajnos azon a telefonon biztonsági okokból nem lesz elérhető a CIB Mobilalkalmazás."
(#) Régi motoros válasza Régi motoros hozzászólására (») Ápr 8, 2023
Közben az APKMirror oldalon megtaláltam az offline telepítőt.
De szemet szúrt, hogy ez a frissebb verzió android 6.0 rendszeren fut csak.
Na akkor kapok még agyf@szt, ha tényleg nem fog menni az 5.1-es androidon.

Ui.: Tényleg, azt hogy lehet megnézni a telefonon, hogy a telepített app verziója hanyas, ha nincs "About" lapja?
A hozzászólás módosítva: Ápr 8, 2023
(#) kameleon2 válasza bbb hozzászólására (») Ápr 7, 2023
Igaz. A bank alkalmazottjai udvariasabban húznak le.
(#) Kovács Tibor hozzászólása Ápr 6, 2023
Sziasztok!
18B20 érzékelővel szeretnék ESP8266 modemcu-nkeresztül webszerverre adatokat gyűjteni.
Már több programot próbáltam de mindegyik I/O problémát ír, mi lehet a baj?
A hibaüzenet:
A szoftver:
  1. /*************************************************
  2.  * Written by   : Usman Ali Butt                 *
  3.  * Property off : www.microcontroller-project.com*
  4.  * Dated        : 30 July 2018                   *
  5.  ************************************************/
  6. #include <OneWire.h>
  7. #include <DallasTemperature.h>
  8. #include <ESP8266WiFi.h>
  9.  
  10. // Data output of DS18B20 is connected to nodemcu GPIO 5 or D1
  11. #define ONE_WIRE_BUS 5
  12. // Setting a one wire instance
  13. OneWire oneWire(ONE_WIRE_BUS);
  14. // Passing onewire instance to Dallas Temperature sensor library
  15. DallasTemperature sensors(&oneWire);
  16.  
  17. const char* ssid = "Your SSID";              //Enter your WiFi SSID Here
  18. const char* password = "Your Wifi Password"; //Enter your WiFi Password Here
  19. int Celsius1=0, Fahrenheit1=0;     //Variables to store temperature readings from DS18B20 temperature sensors
  20. int Celsius2=0, Fahrenheit2=0;
  21. int Celsius3=0, Fahrenheit3=0;
  22.  
  23. WiFiServer server(80);             //Web server default port
  24.    
  25. void setup(){
  26.   Serial.begin(115200);           //initialize serial communication
  27.   delay(10);
  28.   sensors.begin();                        // Begin the DS18B20 initialization
  29.   delay(10);
  30.   Serial.println();
  31.   Serial.println();
  32.   Serial.print("Connecting to ");         // Connect to WiFi network
  33.   Serial.println(ssid);
  34.   WiFi.begin(ssid, password);
  35.  
  36.   while (WiFi.status() != WL_CONNECTED) {
  37.     delay(500);
  38.     Serial.print(".");
  39.   }
  40.   Serial.println("");
  41.   Serial.println("WiFi connected");
  42.  
  43.   // Start the server
  44.   server.begin();
  45.   Serial.println("Server started");
  46.  
  47.   // Print the IP address on serial monitor
  48.   Serial.print("Use this URL to connect: ");
  49.   Serial.print("http://");    //URL IP to be typed in mobile/desktop browser
  50.   Serial.print(WiFi.localIP());
  51.   Serial.println("/");
  52. }
  53.  
  54. void loop(){
  55. sensors.requestTemperatures(); //Call all sensors on one wire to start calculating the temperature readings
  56.  
  57. // Check if a client has connected
  58.   WiFiClient client = server.available();
  59.   if (!client) {
  60.     return;
  61.   }
  62.  
  63.   // Wait until the client sends some data
  64.   Serial.println("new client");
  65.   while(!client.available()){
  66.     delay(1);
  67.   }
  68.  
  69.   // Read the first line of the request
  70.   String request = client.readStringUntil('\r');
  71.   Serial.println(request);
  72.   client.flush();
  73.  
  74.   // Match the request
  75.   if (request.indexOf("/Tem=ON") != -1)  {
  76.   Celsius1=sensors.getTempCByIndex(0);   //Get temperature reading from sensor 0 in celsius scale
  77.   Fahrenheit1=sensors.getTempFByIndex(0);//Get temperature reading from sensor 0 in fahrenheit scale
  78.   Celsius2=sensors.getTempCByIndex(1);   //Get temperature reading from sensor 0 in celsius scale
  79.   Fahrenheit2=sensors.getTempFByIndex(1);//Get temperature reading from sensor 0 in fahrenheit scale
  80.   Celsius3=sensors.getTempCByIndex(2);   //Get temperature reading from sensor 0 in celsius scale
  81.   Fahrenheit3=sensors.getTempFByIndex(2);//Get temperature reading from sensor 0 in fahrenheit scale
  82.   }
  83.  
  84.   // Return the response
  85.   client.println("HTTP/1.1 200 OK");
  86.   client.println("Content-Type: text/html");
  87.   client.println(""); //  do not forget this one
  88.   client.println("<!DOCTYPE HTML>");
  89.   client.println("<html>");
  90.   client.println("<h1>Multiple Ds18b20 with Nodemcu</h1>");
  91.   client.println("<br><br>");
  92.   client.print("Sensor-1 Celcius Temperature =");
  93.   client.print(Celsius1);
  94.   client.println("<br>Sensor-1 Farenheight Temperature =");
  95.   client.print(Fahrenheit1);
  96.  
  97.   client.print("<br>Sensor-2 Celcius Temperature =");
  98.   client.print(Celsius2);
  99.   client.println("<br>Sensor-2 Farenheight Temperature =");
  100.   client.print(Fahrenheit2);
  101.  
  102.   client.print("<br>Sensor-3 Celcius Temperature =");
  103.   client.print(Celsius3);
  104.   client.println("<br>Sensor-3 Farenheight Temperature =");
  105.   client.print(Fahrenheit3);
  106.  
  107.   client.println("<br><br>");
  108.   client.println("<a href=\"/Tem=ON\"\"><button>Update Temperature</button></a><br />");  
  109.   client.println("</html>");
  110.   delay(1);
  111.   Serial.println("Client disonnected");
  112.   Serial.println("");
  113.      
  114. }

hiba.jpg
    
(#) szitko hozzászólása Ápr 3, 2023
Sziasztok.

MAX7219 és 1088AS párossal ügyeskedek.
Azt szeretném elérni, hogy ha a max Intensity register-ébe 0x00-át írok, akkor nem világítsanak a ledek. Tehát a fényerőt szoftverből szeretném állítani.
A max Rset ellenállás növelésével lehetséges ez?
(#) Pethical válasza Ódenka hozzászólására (») Márc 30, 2023
Köszönjük, hogy megosztottad velünk ezt az észrevételt!
Elég furán huncutkodnak, mert az MVM számlaszáma valóban a 10300002-20580731-49020047 és ahhoz valóban a gazszamla@mvm.hu másodlagos azonosító tartozik, az MVM Next appban meg valóban lehet (azt hiszem CIB bank VPOS-án kereszül, de lehet Simple) bankkártyával fizetni és menteni is a kártya adatokat, hogy ne kelljen mindig újra megadni. Nem látok ebben a levélben olyan hivatkozást amire kattintva kártya adatokat kellene megadni, nem kérnek, hogy most fizess bármit, nincs benne érzelmekre való hatás, félelemkeltés, semmi ami social engineringet sejtetne és a valóságot írják le benne.

Szóval szerény véleményem szerint ez nem átverés, ezt neked valóban az MVM küldte. A legkönnyebb megmonani, ha megnézed a feladót és az email fejléceit is a tartalom mellé.

De mindig résen kell lenni
(#) Ódenka hozzászólása Márc 30, 2023
...és most valami más:
Vigyázat!
MVM nevében új bank számlaszámot kaptak sokan.

Először úgy voltam vele, ha megjön a szokott időben és a számla pdf-je, majd figyelek.
Mások még szemfülesebbek voltak, mert kiszúrták, bankkártya adatokat is kérnek.
Aztán megnéztem egy régi feladó címet és részben olyan csak az új, valakik huncutkodnak egy kis apróért.
Ez azért nem tűnt fel, mert odáig el se olvastam, másrészt bankkártyát nem kívánok birtokolni, amíg el nem visz engem az ördög. Utána nem tudom, mi lesz...
Remélem igaz, hogy nem igaz.
A hozzászólás módosítva: Márc 30, 2023
(#) Gafly válasza granpa hozzászólására (») Márc 29, 2023
Igen, ez az egyik tipikus módja.
Ez egy jó cikk a LED hibákról.
Röviden arról szól a villogás, hogy a melegtől kitágul valami, és megszakad az áramkör. Amikor kihül, megint érintkezik...
Tettem fel egy képet, hogy szerintük hol szokott, és miért (már ugye ha az alulméretezést mint fő ok, nem számoljuk)...
(#) Gafly válasza ferci hozzászólására (») Márc 25, 2023
Ha a nagy áram miatt telítődik a vasmag, csökken az induktivitása, és pont amikor kellene, akkor nem "fojt".

Én mindig zavarszűrésnek gondoltam.

Van egy jó ST Application note, ahol többek között összehasonlítják a motor és lámpa fázishasítókat. Az hogy mikrokontrolleres, ebből a szempontból lényegtelen, ámbár ez a része is nagyon érdekes...
(#) moltam válasza tibike32 hozzászólására (») Márc 20, 2023
Aki ezt írta más könyvtárat használt azonos néven, azért problémázik. Bővebben: Link
(#) mnyugger válasza tibike32 hozzászólására (») Márc 20, 2023
Ez talán a megoldás:

Idézet:
„Look at the I2C LiquidCrystal folder in your Libraries folder and look at the spelling of the folder name.
If it is spelled "LiquidCrystal_I2C" it is the wrong library for the display code you are using.
You need fm's library from here :
https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads 4,2e
When you remove the old library (you can't just rename it) and install fm's library , the new library
folder name will be "LiquidCrystal" , not "LiquidCrystal_I2C".”
(#) mnyugger válasza mnyugger hozzászólására (») Márc 20, 2023
Referencia
Fórum
A hozzászólás módosítva: Márc 20, 2023
(#) tibike32 hozzászólása Márc 20, 2023
Sziasztok !

Nem vagyok otthon az Arduino programozásában. Van egy akvárium vezérlő Ardunióval, amihez meg van a program is, amit fel szeretnék tölteni egy Arduino Uno-ra, de ezt a hibát dobja fel : "Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Alaplap:"Arduino Uno"

aquarium:37:53: error: 'POSITIVE' was not declared in this scope

LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);

^~~~~~~~

exit status 1

'POSITIVE' was not declared in this scope "

Tudnátok segíteni ebben ?
A fájlt a csatolt fájlban találjátok.
Előre is köszi

Tibi

aquarium.zip
    
(#) wbt hozzászólása Márc 15, 2023
Sziasztok! Nem teljesen TV... Van USB-s DVB-T tuner, MSI DIGIVOX mini hybrid és egy ATI not ONLY TV hybrid USB HD. Semmit nem fog egyik sem. A hozzáadott antennával egyáltalán lehetséges a földfelszíni digitális adás vétele? (analóg módban a kábelTV-n megtalálja az analóg csatornákat).
(#) shany válasza Karesz 50 hozzászólására (») Márc 7, 2023
Az első ábrádon a hurokerősítés függvényeit ( frekvencia ás fázismenet ) látod.

A "fázistartalék" és "erősítéstartalék" definíció szerinti mértéke és kapcsolata a hurokerősítés függvényekkel:
"Phase Margin is defined as the phase difference between ∠βA(f0dB) and -180°, where f(0dB) is the frequency at which |βA|=1.

Gain Margin is defined as the difference between 0dB and |βA| where the loop gain phase is -180°. Gain and phase margins are used to determine if the amplifiers are stable or not. If the phase margin is less than 0° , it indicates instability and oscillation. if the phase margin is larger than 0°, it indicates the opposite, i.e. stability."
https://microchipdeveloper.com/asp0107:phase-gain-margins
A hozzászólás módosítva: Márc 7, 2023
(#) tbalint3 hozzászólása Feb 28, 2023
Úgy tűnik sajnos a Meteor M N2 is befejezte a pályafutását végleg : Bővebben: Link

Idézet:
„08.02.2023 Meteor-M2 is apparently completely lost for LRPT.
Only devices that do not require precise orientation are enabled to work.

Data/Information is only received when a ground station accidentally hears Meteor-M2 sporadically.
We hope to see you again on Meteor M-N2-3!”
(#) Gafly válasza VJ72 hozzászólására (») Feb 25, 2023
Nyers fordítás:

Idézet:
„$329.87 Shipping & Import Fees Deposit to Hungary Details”

Magyarok hülyék, de van pénzük.

Idézet:
„Factory add an Inductance transformer and Bipolar filter circuit to get the nicer sound for the MKIII.Come with a Tube Cage and VU meters.”

Hörcsög kidöglött, ketrec megmaradt...

Idézet:
„Power Transformers: new imported 0.35, stack thickness 60MM (114-60).”

Most hozták Kínából.

Idézet:
„Output amplifier core: core 0.35 new imported thick high silicon (86-50).”

Ezt is.

Idézet:
„Some of Senior audiophile optimization the electric circuit,it is better at arom,intermediate frequency and bass.”

Jó szaga van basszus, Békéscsabán saját termünk lészen...

Idézet:
note: Products with electrical plugs are designed for use in the US. Outlets and voltage differ internationally and this product may require an adapter or converter for use in your destination. Please check compatibility before purchasing.”

De konnektor legyen, azért...
(#) Kovács Tibor válasza kapu48 hozzászólására (») Feb 22, 2023
Tess..
  1. // IMPORTANT: Adafruit_TFTLCD LIBRARY MUST BE SPECIFICALLY
  2. // CONFIGURED FOR EITHER THE TFT SHIELD OR THE BREAKOUT BOARD.
  3. // SEE RELEVANT COMMENTS IN Adafruit_TFTLCD.h FOR SETUP.
  4.  
  5. #include <Adafruit_GFX.h>    // Core graphics library
  6. #include <Adafruit_TFTLCD.h> // Hardware-specific library
  7.  
  8. // The control pins for the LCD can be assigned to any digital or
  9. // analog pins...but we'll use the analog pins as this allows us to
  10. // double up the pins with the touch screen (see the TFT paint example).
  11. #define LCD_CS A3 // Chip Select goes to Analog 3
  12. #define LCD_CD A2 // Command/Data goes to Analog 2
  13. #define LCD_WR A1 // LCD Write goes to Analog 1
  14. #define LCD_RD A0 // LCD Read goes to Analog 0
  15.  
  16. #define LCD_RESET A4 // Can alternately just connect to Arduino's reset pin
  17.  
  18. // When using the BREAKOUT BOARD only, use these 8 data lines to the LCD:
  19. // For the Arduino Uno, Duemilanove, Diecimila, etc.:
  20. //   D0 connects to digital pin 8  (notice these are
  21. //   D1 connects to digital pin 9   not in order!)
  22. //   D2 connects to digital pin 2
  23. //   D3 connects to digital pin 3
  24. //   D4 connects to digital pin 4
  25. //   D5 connects to digital pin 5
  26. //   D6 connects to digital pin 6
  27. //   D7 connects to digital pin 7
  28. // For the Arduino Mega, use digital pins 22 through 29
  29. // (on the 2-row header at the end of the board).
  30.  
  31. // Assign human-readable names to some common 16-bit color values:
  32. #define BLACK   0x0000
  33. #define BLUE    0x001F
  34. #define RED     0xF800
  35. #define GREEN   0x07E0
  36. #define CYAN    0x07FF
  37. #define MAGENTA 0xF81F
  38. #define YELLOW  0xFFE0
  39. #define WHITE   0xFFFF
  40.  
  41. Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);
  42. // If using the shield, all control and data lines are fixed, and
  43. // a simpler declaration can optionally be used:
  44. // Adafruit_TFTLCD tft;
  45.  
  46. void setup(void) {
  47.   Serial.begin(9600);
  48.   Serial.println(F("TFT LCD test"));
  49.  
  50. #ifdef USE_ADAFRUIT_SHIELD_PINOUT
  51.   Serial.println(F("Using Adafruit 2.8\" TFT Arduino Shield Pinout"));
  52. #else
  53.   Serial.println(F("Using Adafruit 2.8\" TFT Breakout Board Pinout"));
  54. #endif
  55.  
  56.   Serial.print("TFT size is "); Serial.print(tft.width()); Serial.print("x"); Serial.println(tft.height());
  57.  
  58.   tft.reset();
  59.  
  60.   //uint16_t identifier = tft.readID();
  61. uint16_t identifier = 0x9328;
  62. //  if(identifier == 0x9325) {
  63. //    Serial.println(F("Found ILI9325 LCD driver"));
  64. //  } else if(identifier == 0x9328) {
  65. //    Serial.println(F("Found ILI9328 LCD driver"));
  66. //  } else if(identifier == 0x7575) {
  67. //    Serial.println(F("Found HX8347G LCD driver"));
  68. //  } else if(identifier == 0x9341) {
  69. //    Serial.println(F("Found ILI9341 LCD driver"));
  70. //  } else if(identifier == 0x8357) {
  71. //    Serial.println(F("Found HX8357D LCD driver"));
  72. //  } else {
  73. //    Serial.print(F("Unknown LCD driver chip: "));
  74. //    Serial.println(identifier, HEX);
  75. //    Serial.println(F("If using the Adafruit 2.8\" TFT Arduino shield, the line:"));
  76. //    Serial.println(F("  #define USE_ADAFRUIT_SHIELD_PINOUT"));
  77. //    Serial.println(F("should appear in the library header (Adafruit_TFT.h)."));
  78. //    Serial.println(F("If using the breakout board, it should not be #defined!"));
  79. //    Serial.println(F("Also if using the breakout, double-check that all wiring"));
  80. //    Serial.println(F("matches the tutorial."));
  81. //    return;
  82. //  }
  83.  
  84.   tft.begin(identifier);
  85.  
  86.   Serial.println(F("Benchmark                Time (microseconds)"));
  87.  
  88.   Serial.print(F("Screen fill              "));
  89.   Serial.println(testFillScreen());
  90.   delay(500);
  91.  
  92.   Serial.print(F("Text                     "));
  93.   Serial.println(testText());
  94.   delay(3000);
  95.  
  96.   Serial.print(F("Lines                    "));
  97.   Serial.println(testLines(CYAN));
  98.   delay(500);
  99.  
  100.   Serial.print(F("Horiz/Vert Lines         "));
  101.   Serial.println(testFastLines(RED, BLUE));
  102.   delay(500);
  103.  
  104.   Serial.print(F("Rectangles (outline)     "));
  105.   Serial.println(testRects(GREEN));
  106.   delay(500);
  107.  
  108.   Serial.print(F("Rectangles (filled)      "));
  109.   Serial.println(testFilledRects(YELLOW, MAGENTA));
  110.   delay(500);
  111.  
  112.   Serial.print(F("Circles (filled)         "));
  113.   Serial.println(testFilledCircles(10, MAGENTA));
  114.  
  115.   Serial.print(F("Circles (outline)        "));
  116.   Serial.println(testCircles(10, WHITE));
  117.   delay(500);
  118.  
  119.   Serial.print(F("Triangles (outline)      "));
  120.   Serial.println(testTriangles());
  121.   delay(500);
  122.  
  123.   Serial.print(F("Triangles (filled)       "));
  124.   Serial.println(testFilledTriangles());
  125.   delay(500);
  126.  
  127.   Serial.print(F("Rounded rects (outline)  "));
  128.   Serial.println(testRoundRects());
  129.   delay(500);
  130.  
  131.   Serial.print(F("Rounded rects (filled)   "));
  132.   Serial.println(testFilledRoundRects());
  133.   delay(500);
  134.  
  135.   Serial.println(F("Done!"));
  136. }
  137.  
  138. void loop(void) {
  139.   for(uint8_t rotation=0; rotation<4; rotation++) {
  140.     tft.setRotation(rotation);
  141.     testText();
  142.     delay(2000);
  143.   }
  144. }
  145.  
  146. unsigned long testFillScreen() {
  147.   unsigned long start = micros();
  148.   tft.fillScreen(BLACK);
  149.   tft.fillScreen(RED);
  150.   tft.fillScreen(GREEN);
  151.   tft.fillScreen(BLUE);
  152.   tft.fillScreen(BLACK);
  153.   return micros() - start;
  154. }
  155.  
  156. unsigned long testText() {
  157.   tft.fillScreen(BLACK);
  158.   unsigned long start = micros();
  159.   tft.setCursor(0, 0);
  160.   tft.setTextColor(WHITE);  tft.setTextSize(1);
  161.   tft.println("Hello World!");
  162.   tft.setTextColor(YELLOW); tft.setTextSize(2);
  163.   tft.println(1234.56);
  164.   tft.setTextColor(RED);    tft.setTextSize(3);
  165.   tft.println(0xDEADBEEF, HEX);
  166.   tft.println();
  167.   tft.setTextColor(GREEN);
  168.   tft.setTextSize(5);
  169.   tft.println("Groop");
  170.   tft.setTextSize(2);
  171.   tft.println("I implore thee,");
  172.   tft.setTextSize(1);
  173.   tft.println("my foonting turlingdromes.");
  174.   tft.println("And hooptiously drangle me");
  175.   tft.println("with crinkly bindlewurdles,");
  176.   tft.println("Or I will rend thee");
  177.   tft.println("in the gobberwarts");
  178.   tft.println("with my blurglecruncheon,");
  179.   tft.println("see if I don't!");
  180.   return micros() - start;
  181. }
  182.  
  183. unsigned long testLines(uint16_t color) {
  184.   unsigned long start, t;
  185.   int           x1, y1, x2, y2,
  186.                 w = tft.width(),
  187.                 h = tft.height();
  188.  
  189.   tft.fillScreen(BLACK);
  190.  
  191.   x1 = y1 = 0;
  192.   y2    = h - 1;
  193.   start = micros();
  194.   for(x2=0; x2<w; x2+=6) tft.drawLine(x1, y1, x2, y2, color);
  195.   x2    = w - 1;
  196.   for(y2=0; y2<h; y2+=6) tft.drawLine(x1, y1, x2, y2, color);
  197.   t     = micros() - start; // fillScreen doesn't count against timing
  198.  
  199.   tft.fillScreen(BLACK);
  200.  
  201.   x1    = w - 1;
  202.   y1    = 0;
  203.   y2    = h - 1;
  204.   start = micros();
  205.   for(x2=0; x2<w; x2+=6) tft.drawLine(x1, y1, x2, y2, color);
  206.   x2    = 0;
  207.   for(y2=0; y2<h; y2+=6) tft.drawLine(x1, y1, x2, y2, color);
  208.   t    += micros() - start;
  209.  
  210.   tft.fillScreen(BLACK);
  211.  
  212.   x1    = 0;
  213.   y1    = h - 1;
  214.   y2    = 0;
  215.   start = micros();
  216.   for(x2=0; x2<w; x2+=6) tft.drawLine(x1, y1, x2, y2, color);
  217.   x2    = w - 1;
  218.   for(y2=0; y2<h; y2+=6) tft.drawLine(x1, y1, x2, y2, color);
  219.   t    += micros() - start;
  220.  
  221.   tft.fillScreen(BLACK);
  222.  
  223.   x1    = w - 1;
  224.   y1    = h - 1;
  225.   y2    = 0;
  226.   start = micros();
  227.   for(x2=0; x2<w; x2+=6) tft.drawLine(x1, y1, x2, y2, color);
  228.   x2    = 0;
  229.   for(y2=0; y2<h; y2+=6) tft.drawLine(x1, y1, x2, y2, color);
  230.  
  231.   return micros() - start;
  232. }
  233.  
  234. unsigned long testFastLines(uint16_t color1, uint16_t color2) {
  235.   unsigned long start;
  236.   int           x, y, w = tft.width(), h = tft.height();
  237.  
  238.   tft.fillScreen(BLACK);
  239.   start = micros();
  240.   for(y=0; y<h; y+=5) tft.drawFastHLine(0, y, w, color1);
  241.   for(x=0; x<w; x+=5) tft.drawFastVLine(x, 0, h, color2);
  242.  
  243.   return micros() - start;
  244. }
  245.  
  246. unsigned long testRects(uint16_t color) {
  247.   unsigned long start;
  248.   int           n, i, i2,
  249.                 cx = tft.width()  / 2,
  250.                 cy = tft.height() / 2;
  251.  
  252.   tft.fillScreen(BLACK);
  253.   n     = min(tft.width(), tft.height());
  254.   start = micros();
  255.   for(i=2; i<n; i+=6) {
  256.     i2 = i / 2;
  257.     tft.drawRect(cx-i2, cy-i2, i, i, color);
  258.   }
  259.  
  260.   return micros() - start;
  261. }
  262.  
  263. unsigned long testFilledRects(uint16_t color1, uint16_t color2) {
  264.   unsigned long start, t = 0;
  265.   int           n, i, i2,
  266.                 cx = tft.width()  / 2 - 1,
  267.                 cy = tft.height() / 2 - 1;
  268.  
  269.   tft.fillScreen(BLACK);
  270.   n = min(tft.width(), tft.height());
  271.   for(i=n; i>0; i-=6) {
  272.     i2    = i / 2;
  273.     start = micros();
  274.     tft.fillRect(cx-i2, cy-i2, i, i, color1);
  275.     t    += micros() - start;
  276.     // Outlines are not included in timing results
  277.     tft.drawRect(cx-i2, cy-i2, i, i, color2);
  278.   }
  279.  
  280.   return t;
  281. }
  282.  
  283. unsigned long testFilledCircles(uint8_t radius, uint16_t color) {
  284.   unsigned long start;
  285.   int x, y, w = tft.width(), h = tft.height(), r2 = radius * 2;
  286.  
  287.   tft.fillScreen(BLACK);
  288.   start = micros();
  289.   for(x=radius; x<w; x+=r2) {
  290.     for(y=radius; y<h; y+=r2) {
  291.       tft.fillCircle(x, y, radius, color);
  292.     }
  293.   }
  294.  
  295.   return micros() - start;
  296. }
  297.  
  298. unsigned long testCircles(uint8_t radius, uint16_t color) {
  299.   unsigned long start;
  300.   int           x, y, r2 = radius * 2,
  301.                 w = tft.width()  + radius,
  302.                 h = tft.height() + radius;
  303.  
  304.   // Screen is not cleared for this one -- this is
  305.   // intentional and does not affect the reported time.
  306.   start = micros();
  307.   for(x=0; x<w; x+=r2) {
  308.     for(y=0; y<h; y+=r2) {
  309.       tft.drawCircle(x, y, radius, color);
  310.     }
  311.   }
  312.  
  313.   return micros() - start;
  314. }
  315.  
  316. unsigned long testTriangles() {
  317.   unsigned long start;
  318.   int           n, i, cx = tft.width()  / 2 - 1,
  319.                       cy = tft.height() / 2 - 1;
  320.  
  321.   tft.fillScreen(BLACK);
  322.   n     = min(cx, cy);
  323.   start = micros();
  324.   for(i=0; i<n; i+=5) {
  325.     tft.drawTriangle(
  326.       cx    , cy - i, // peak
  327.       cx - i, cy + i, // bottom left
  328.       cx + i, cy + i, // bottom right
  329.       tft.color565(0, 0, i));
  330.   }
  331.  
  332.   return micros() - start;
  333. }
  334.  
  335. unsigned long testFilledTriangles() {
  336.   unsigned long start, t = 0;
  337.   int           i, cx = tft.width()  / 2 - 1,
  338.                    cy = tft.height() / 2 - 1;
  339.  
  340.   tft.fillScreen(BLACK);
  341.   start = micros();
  342.   for(i=min(cx,cy); i>10; i-=5) {
  343.     start = micros();
  344.     tft.fillTriangle(cx, cy - i, cx - i, cy + i, cx + i, cy + i,
  345.       tft.color565(0, i, i));
  346.     t += micros() - start;
  347.     tft.drawTriangle(cx, cy - i, cx - i, cy + i, cx + i, cy + i,
  348.       tft.color565(i, i, 0));
  349.   }
  350.  
  351.   return t;
  352. }
  353.  
  354. unsigned long testRoundRects() {
  355.   unsigned long start;
  356.   int           w, i, i2,
  357.                 cx = tft.width()  / 2 - 1,
  358.                 cy = tft.height() / 2 - 1;
  359.  
  360.   tft.fillScreen(BLACK);
  361.   w     = min(tft.width(), tft.height());
  362.   start = micros();
  363.   for(i=0; i<w; i+=6) {
  364.     i2 = i / 2;
  365.     tft.drawRoundRect(cx-i2, cy-i2, i, i, i/8, tft.color565(i, 0, 0));
  366.   }
  367.  
  368.   return micros() - start;
  369. }
  370.  
  371. unsigned long testFilledRoundRects() {
  372.   unsigned long start;
  373.   int           i, i2,
  374.                 cx = tft.width()  / 2 - 1,
  375.                 cy = tft.height() / 2 - 1;
  376.  
  377.   tft.fillScreen(BLACK);
  378.   start = micros();
  379.   for(i=min(tft.width(), tft.height()); i>20; i-=6) {
  380.     i2 = i / 2;
  381.     tft.fillRoundRect(cx-i2, cy-i2, i, i, i/8, tft.color565(0, i, 0));
  382.   }
  383.  
  384.   return micros() - start;
  385. }
(#) Kovács Tibor válasza Kovács Tibor hozzászólására (») Feb 22, 2023
Kérlek szépen megnéztem a graphicstest vázlatot és szépen lefordítja hiba nélkül viszont feltöltéskor a mellékelt hibaüzenetet adja:

  1. C:\Users\Kliens\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp: In function 'setRotation.constprop':
  2.  
  3. C:\Users\Kliens\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp:809:5: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
  4.  
  5.      writeregister8(ILI9341_MADCTL, t ); // MADCTL
  6.  
  7.      ^
  8.  
  9. C:\Users\Kliens\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp:793:14: note: 't' was declared here
  10.  
  11.      uint16_t t;
  12.  
  13.               ^
  14.  
  15. C:\Users\Kliens\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp:786:4: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
  16.  
  17.     writeregister8(ILI9341_MADCTL, t ); // MADCTL
  18.  
  19.     ^
  20.  
  21. C:\Users\Kliens\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp:770:13: note: 't' was declared here
  22.  
  23.     uint16_t t;
  24.  
  25.              ^
  26.  
  27. Vázlat használ 24800 bájt (76%) -ot a program tárhelyből. A maximum 32256 bájt.
  28. A globális változók 487 bájt (23%)-ot használnak a dinamikus memóriából, 1561 bájtot hagyva a helyi változóknak. A maximum 2048 bájt.
  29. avrdude: ser_open(): can't open device "\\.\COM5": A rendszer nem tal�lja a megadott f�jlt.
A hozzászólás módosítva: Feb 22, 2023
(#) Kovács Tibor hozzászólása Feb 21, 2023
Sziasztok!
2,8" TFT LCD kijelzőt szeretnék meghajtani de a háttér világításon kívül semmi életjelet nem mutat. Típusa RM68090.
Ezekben különböző meghajtó IC dolgozik?
Találtam egy kódot amivel elvileg le lehetne kérni a meghajtó típusát de csak ezt a programrészt adja...Hogy kellene kiegészíteni hogy ezt futtatva kiderüljön a meghajtó?

A fellelt kód:
  1. /*uint16_t identifier = tft.readID();
  2.  
  3.   if(identifier == 0x9325) {
  4.     Serial.println(F("Found ILI9325 LCD driver"));
  5.   } else if(identifier == 0x9328) {
  6.     Serial.println(F("Found ILI9328 LCD driver"));
  7.   } else if(identifier == 0x7575) {
  8.     Serial.println(F("Found HX8347G LCD driver"));
  9.   } else if(identifier == 0x9341) {
  10.     Serial.println(F("Found ILI9341 LCD driver"));
  11.   } else if(identifier == 0x8357) {
  12.     Serial.println(F("Found HX8357D LCD driver"));
  13.   } else {
  14.     Serial.print(F("Unknown LCD driver chip: "));
  15.     Serial.println(identifier, HEX);
  16.     Serial.println(F("If using the Adafruit 2.8\" TFT Arduino shield, the line:"));
  17.     Serial.println(F("  #define USE_ADAFRUIT_SHIELD_PINOUT"));
  18.     Serial.println(F("should appear in the library header (Adafruit_TFT.h)."));
  19.     Serial.println(F("If using the breakout board, it should not be #defined!"));
  20.     Serial.println(F("Also if using the breakout, double-check that all wiring"));
  21.     Serial.println(F("matches the tutorial."));
  22.     return;
  23.   }
  24. */
(#) mixi4 hozzászólása Feb 16, 2023
Sziasztok.
Itt olvastam az ST-linkV2 klón hibákról.Nekem is van problémám vele.
Hiába frissítettem nem akar jól működni. Kicseréltem a CPU-t egy ST-64k-ra.
Több bit fájlal próbáltam és frissítés után ezt írta ki Updrate sucful.
Utána ha használni akarom ezt írta ki St-link is not in the DFU mode.Please restart.
Kérdésem valamit elbénáztam és inkább vegyek egy másik klónt hát ha az jól működik.
(#) kaqkk válasza niedziela hozzászólására (») Feb 15, 2023
Nem ! Bármeddig megy benne minden (mármint a 10 es verzióban) csak a hex re fordítást nem engedélyezi , ebben nincs próbaverzió csak ingyenes amiben az a korlátozás hogy csak játékra jó . Egyébként 101 fontra jön ki egy chip pack ha veszel rá licenszet .
Idézet:

There is no trial version for v10. It is just "purchased" licenced or "free" licence, all the components are free now so we felt that a trial was not warranted.

Regards,

David”
Ezt a levelet kaptam a "gyártótól"
A hozzászólás módosítva: Feb 15, 2023
(#) gordonfreemN válasza zenebolond hozzászólására (») Feb 14, 2023
Néhány apró tanáccsal el tudlak látni.
kompatel 99% hamisat, bocsánat, kínait árul ezekből a régi típusokból.
Ebay stb. szintén bizonytalan. Én az angliai diotec.től (ha jól emékszem a nevére) rendeltem anno, megmértem az adatlapon megadott IC-UCE-t és közelében sem volt, konkrétan a felét tudta. Az a jó ezekben, hogy ha megemlíted nekik a gondodat, azonnal válasz nélkül visszautalják a pénzt, egyfajta beismerésként.
BD139 és 140 mehetne a nagyobbak helyére.
A bemenetre pedig BC546C/547C/550C típusokkal lehet próbálkozni, abból is válogatni a jobbakat.
Az ár és hogy hány helyről rendeled itt másodlagos kell legyen.
A legjobb lenne bontani, de az is nehéz ügy.

Hiraga pedig ezt írta 1980ban:
Idézet:
„These transistors, NEC 2SA634 and 2SC1096 allow, coupled with the output transistors 2SA649 and 2SD218, an optimum combination. The only regret is that this complementary pair of power transistors is not manufactured any more. Giving the 50W class-A Kanéda amplifiers (connection in parallel) the best results that one can have, these pairs are now replaced by the 2SC188 and 2SA627 which are fortunately of very similar quality.”


Idézet:
„A NEC 2SA634 és 2SC1096 optimális kombinációt alkotnak a 2SA649 és 2SD218 kimeneti tranzisztorokkal párosítva. Az egyetlen sajnálatos dolog, hogy ezt a komplementer teljesítménytranzisztor-párt már nem gyártják. Az 50 W-os A osztályú Kanéda erősítőknél (párhuzamosan kapcsolva) ezeket a párokat most a 2SC188 és 2SA627 váltotta fel, amelyek szerencsére nagyon hasonló minőségűek.”


szerk.: mcc tanácsát fogadd meg, azok a KSC1845/KSA992 párok elég jónak tűnnek.
A hozzászólás módosítva: Feb 14, 2023
(#) Karesz 50 válasza Pethical hozzászólására (») Feb 13, 2023
Szia!

Az első szó amit leírtam, hogy "érdekesség", nem pedig "segítség".
Ilyen levelet bárki kaphat és ilyen levelet bárki írhat.
A hitelesség miatt tettem ki a dokumentumokat, hogy nem én találtam ki és létezik ilyen (is).
Első kérdés, hogy vajon honnan tudta meg Sobri Jóska a számlaszámunkat?
Hány ilyen levelet küld szét naponta az országban és hová folyik be ez az összeg (ki teszi zsebre) ?
A bank milyen jogon utalja át - mindenféle velünk való egyeztetés nélkül - egy fizikailag nem létező személynek a pénzt?
Milyen világban élünk? Érdemes-e elgondolkodni ezen?
Befejeztem a témát. Köszönöm ha elolvastátok.
(#) Karesz 50 hozzászólása Feb 13, 2023
Érdekesség.
Lenyúlhatja-e a bank a pénzünket? Lenyúlhatja-e bárki - akinek úgy tartja kedve - a pénzünket? Mit tehet a "kisember" ? Semmit? Semmit.
Egyszer csengetett a postás, de két levet hozott. Írtunk egy harmadikat.
Lelövöm a poént az elején. A feleségemnek 2007-ben még egyáltalán nem volt mobiltelefonja, mégis keletkezett befizetetlen számlája a Pannon felé.
A Yettel-nél semmit nem találnak arról, hogy valaha tartozása lett volna.
A végrehajtót nem lehet elérni telefonon.
A bíróság még nem méltatott válaszra bennünket (igaz, van erre 30 napja, ami még nem telt le).
A 15 ezer forintos illeték bélyeget is mi fizettük.
A folyószámlát megszüntetjük. Nekem soha nem is volt.
A hozzászólás módosítva: Feb 13, 2023
(#) Jonni válasza asch hozzászólására (») Feb 7, 2023
Inkább maradok az IC-nél. Szerintem a MCP23S17 az SPI-t alapból tudja (de azt nem tudom hogy az MCP23017-E/SP ugyanazt tudja?) . Ezt találtam az adatlapján:

Features
ï 16-bit remote bidirectional I/O port
- I/O pins default to input
ï High-speed I2C™ interface (MCP23017)
- 100 kHz
- 400 kHz
- 1.7 MHz
ï High-speed SPI interface (MCP23S17)
- 10 MHz (max.)
ï Three hardware address pins to allow up to eight
devices on the bus
ï Configurable interrupt output pins
- Configurable as active-high, active-low or
open-drain
ï INTA and INTB can be configured to operate
independently or together
ï Configurable interrupt source
- Interrupt-on-change from configured register
defaults or pin changes
ï Polarity Inversion register to configure the polarity
of the input port data
ï External Reset input
ï Low standby current: 1 µA (max.)
ï Operating voltage:
- 1.8V to 5.5V @ -40°C to +85°C
- 2.7V to 5.5V @ -40°C to +85°C
- 4.5V to 5.5V @ -40°C to +125°C
(#) subwoofer220 hozzászólása Feb 3, 2023
Sziasztok!
Egy erősítő modult beszerelésébe kezdtem hozzá,de elakadtam. Aliexpress-en az van a leírásban,hogy össze kell kötni a "-" és a gnd-et. Esetleg tudnátok segíteni?
CS8683 Digital Power Amplifier Board



Idézet:
„The signal input mode can be ed the following two according to your needs:
1: Signal Balance Input (Differential): Signal+, Signal-,
2: Unbalanced input (single-ended): the - terminal is short-circuited with GND (ground), and the signal is input the + terminal.
note: When unbalanced input, be sure to short-circuit "-" with GND, otherwise the sound will not be normal,
Seriously may burn out the chip.”

Idézet:
„A jelbemeneti mód igény szerint a következő kettő közül választható:
1: Jelegyensúly bemenet (differenciál): Jel+, Jel-,
2: Kiegyensúlyozatlan bemenet (egyvégű): a - terminál rövidre van zárva a GND-vel (föld), és a jel a + kapocsról érkezik.
Megjegyzés: Kiegyensúlyozatlan bemenet esetén zárja rövidre a "-" jelet a GND-vel, különben a hang nem lesz normális,
Komolyan kiégetheti a chipet.”
(#) Hutty válasza asdasd. hozzászólására (») Feb 3, 2023
A leírásban volt, apróbetűs rész. Azt nem értem eddig hogy működött?
És nemrég találkoztam olyannal, két gép/ egy-egy frekiváltó 1 db 30mA-es ÉV-nek már sok volt.
Valószínűleg a bemeneti EMI-filter tud akkora áramot engedni a föld felé, lehet már jobban vezet valami...
"When using a general GFCI (Ground Fault Circuit Interrupter), select a current sensor
with sensitivity of 200mA or above, and not less than 0.1-second operation time to avoid
nuisance tripping. For the specific GFCI of the AC motor drive, please select a current
sensor with sensitivity of 30mA or above"
(#) Bakman válasza Vadász Csaba hozzászólására (») Jan 30, 2023
The page you requested was not found, and we have a fine guess why.

If you typed the URL directly, please make sure the spelling is correct.
If you clicked on a link to get here, the link may be wrong.
(#) icserny válasza szitko hozzászólására (») Jan 28, 2023
Én nem értek hozzá, de ebben a fórumban "live expression"-t emlegetnek.
Következő: »»   10 / 197
Bejelentkezés

Belépés

Hirdetés
XDT.hu
Az oldalon sütiket használunk a helyes működéshez. Bővebb információt az adatvédelmi szabályzatban olvashatsz. Megértettem