Recent Posts

Pages: [1] 2 3 ... 10
1
Deutsch / Re: Frag zum Stepdown
Last post by amithlon - Today at 07:05 pm
Hallo,

Du bist doch Elektriker, Eingangsleistung, Ausgangsleistung und Wirkungsgrad sollte Du also kennen.
Ein StepDown ist erstmal auch nur eine Blackbox wie ein Trafo.
Du hast 12V und 10A, also 120W maximal rein.
Der StepDown hat einen Wirkungsgrad von 85%.
Also 120 * 0,85 = 102 Watt maximal raus, dabei würde er also 120 - 102 = 8 W als Wärme abführen können müssen.
Du hast 5V am Ausgang, also 102/5 = 20,4A maximal raus.

Die realen Grenzen verrät Dir dann das Datenblatt des StepDown: tatsächlicher Wirkungsgrad, maximal zulässiger Ausgangsstrom, maximal zulässiger Eingangsstrom, mögliche Verlustleistung.
Einen StepDown/StepUp könnte man grundsätzlich durchaus mit einem "Trafo für Gleichspannung" vergleichen.

Gruß aus Berlin
Michael
2
为进一步加强我院医疗卫生人才队伍建设,荆州体检代检十堰体检代检【Q/微 168786248】十堰入职体检代检荆州入职体检代检优化人才队伍结构,为我县助推转型发展提供有力的人才支撑和智力保障。经县主管部门和人力社保部门审核,拟面向社会公开引进人才和招聘紧缺急需岗位专业人才到我院工作。

中心医院苏菲菲主任作《肺结核诊断技术及临床应用》专题报告并着重讲解了气管镜在肺结核的临床应用和耐药肺结核治疗药物的新进展。她指出,中国为全球结核病高负担国家之一,新发病例数重新回到世界第二位,结核病的防控工作任重而道远。

会上,通过对三个病例的分析讨论,在三位点评专家的点评分析后,参会人员对院内感染防控的重要性有了更充分的认识。


此次沙龙的举办,为临床、感染、影像、检验和药学等多学科之间架起沟通的桥梁,让抗菌药物的使用更加科学、规范、合理。细菌耐药在蔓延,每一个人都难以逃避,作为县级龙头医院,我们有义务有责任做好,而且我们能够做好!
3
Software / consiglio gestione joystik
Last post by albepancio - Today at 07:03 pm
salve
leggendo il mio manuale arduinoi :)
stao cercando di realizzare un piccolo progetto usando un joystick e gli ingressi analagici.
vi spiego cosa vorrei realizzare.
io vorrei trasformare un joystick analagico in uno digitale, cioè nei vecchi video giochi avevamo joystik digitalii
quindi per esempio per far girare a destra una macchinina ,bisognava spostare a destra a colpetti ( non so se riesco a spiegarmi)
quello che vorrei fare e variare il lampeggio di un led( che simula il contatto) e variare il tempo muovando il joystick analogico. per la gestione degli ingressi analogici ho scritto questo piccolo codice
Code: [Select]
#define asseX A0
#define asseY A1
const int ledPin =  13;      // the number of the LED pin

// Variables will change:
int ledState = LOW;             // ledState used to set the LED
long previousMillis = 0;        // will store last time LED was updated

// the follow variables is a long because the time, measured in miliseconds,
// will quickly become a bigger number than can be stored in an int.
long interval = 0; 
 
void setup() {
  pinMode( asseX,INPUT );
  pinMode( asseY,INPUT );
  pinMode(ledPin, OUTPUT); 
 
  Serial.begin( 9600 );
}
 
void loop() {
long interval = asseX
 
  Serial.print( "Asse X: " );
  Serial.print( analogRead( asseX ) );
  Serial.print( " Asse Y: " );
  Serial.print( analogRead( asseY ) );
  Serial.print( "\n" );
 unsigned long currentMillis = millis();
 
  if(currentMillis - previousMillis > interval) {
    // save the last time you blinked the LED
    previousMillis = currentMillis;   

    // if the LED is off turn it on and vice-versa:
    if (ledState == LOW)
      ledState = HIGH;
    else
      ledState = LOW;

    // set the LED with the ledState of the variable:
    digitalWrite(ledPin, ledState);
 
  delay( 300 );

}

partendo da questo codice la strada piu semplice e quella di usare un mills e variare il valore dell intervallo usando il valore restituito dall ingresso anaklagico?
una cosa simile?????
non ho tutti i componenti oper  montare un circuito di prova , quindi chiedevo se la strada e quella giusta.
praticamente devo cambiare duty cycle  da sempre acceso a sempre spento .
grazie per l aiuto
4
Try losing the D so it's


  Wire.begin(3, 4);
5
Hello. I bought an Arduino like 10 days ago and I now have problems with uploading the code. Compilation only doesn't output an error, but when I upload, i get this:
Code: [Select]
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x0c


My code is very simple - it's just a blink sketch copy-catted from the blink guide. While uploading, I also saw the RX LED flashed a couple of times for like 50 ms. Then it started to blink constantly. The TX LED didn't flash anytime.
6
you'll never know til you try... but the target going down flat is has a good effect... it knocks down!
7
Deutsch / Re: Frag zum Stepdown
Last post by Schuppeste - Today at 07:02 pm
Also ich muss mit 25 Jahren Elektriker und Elektronikerfahrung sagen das man keinen Step-Down oder andere mehr oder weniger Aufwendige integrierten Schaltkreise als echter Elektriker kennen muss.

Sogar ich habe noch meine "Aha,achso" Erfahrungen. Naja ob man da jetzt nicht googlen sollte/könnte ist die andere Frage. Ihr habt aber gleich 2 Sachen halb durcheinandergeworfen!

An den TO, schau hier mal rein:
https://rn-wissen.de/wiki/index.php/Spannungsregler


8
Sensors / Re: Detection of flying tiny O...
Last post by pylon - Today at 07:00 pm
Quote
Dear , thanks for your reply but I have to use Sensor for this purpose ....  let me know any type of sensor which can detect such objects...
A camera is a sensor, an optical sensor, it's even a multi-sensor as it has many sensors (thousands to millions) in one case.

A laser beam sensor might help if you build a case around your plant and open only a small hole. You can install the laser beam there and detect the insects that are lucky or intelligent enough to find the hole.

You may also try a lidar sensor (also laser based) but a lidar with such a resolution is quite expensive. As you didn't mention your budget I don't know if this is an option.

In any case: the solution is probably not Arduino based as you need much more processing capabilities and memory than the Arduino is able to offer.
9
Code: [Select]
Arduino: 1.8.4 (Windows 10), Board: "Arduino/Genuino Zero (Native USB Port)"

Build options changed, rebuilding all
WARNING: library NeoSWSerial claims to run on (avr) architecture(s) and may be incompatible with your current board which runs on (samd) architecture(s).
C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:511:6: error: #error MCU not supported by NeoSWSerial!

     #error MCU not supported by NeoSWSerial!

      ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp: In member function 'void NeoSWSerial::listen()':

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:140:13: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment

   rxPort    = portInputRegister( digitalPinToPort( rxPin ) );

             ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:143:13: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment

   txPort    = portOutputRegister( digitalPinToPort( txPin ) );

             ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:155:7: error: 'TCCR2A' was not declared in this scope

       TCCR2A = 0x00;

       ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:156:7: error: 'TCCR2B' was not declared in this scope

       TCCR2B = 0x03;  // divide by 32

       ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:160:52: error: 'digitalPinToPCMSK' was not declared in this scope

   volatile uint8_t *pcmsk = digitalPinToPCMSK(rxPin);

                                                    ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:197:24: error: 'SREG' was not declared in this scope

     uint8_t prevSREG = SREG;

                        ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:198:9: error: 'cli' was not declared in this scope

     cli();

         ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:200:66: error: 'digitalPinToPCMSKbit' was not declared in this scope

       *pcmsk                    |= _BV(digitalPinToPCMSKbit(rxPin));

                                                                  ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:200:67: error: '_BV' was not declared in this scope

       *pcmsk                    |= _BV(digitalPinToPCMSKbit(rxPin));

                                                                   ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:201:31: error: 'digitalPinToPCICR' was not declared in this scope

       *digitalPinToPCICR(rxPin) |= _BV(digitalPinToPCICRbit(rxPin));

                               ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:201:66: error: 'digitalPinToPCICRbit' was not declared in this scope

       *digitalPinToPCICR(rxPin) |= _BV(digitalPinToPCICRbit(rxPin));

                                                                  ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp: In member function 'void NeoSWSerial::ignore()':

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:214:54: error: 'digitalPinToPCMSK' was not declared in this scope

     volatile uint8_t *pcmsk = digitalPinToPCMSK(rxPin);

                                                      ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:216:24: error: 'SREG' was not declared in this scope

     uint8_t prevSREG = SREG;

                        ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:217:9: error: 'cli' was not declared in this scope

     cli();

         ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:221:33: error: 'digitalPinToPCICR' was not declared in this scope

         *digitalPinToPCICR(rxPin) &= ~_BV(digitalPinToPCICRbit(rxPin));

                                 ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:221:69: error: 'digitalPinToPCICRbit' was not declared in this scope

         *digitalPinToPCICR(rxPin) &= ~_BV(digitalPinToPCICRbit(rxPin));

                                                                     ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:221:70: error: '_BV' was not declared in this scope

         *digitalPinToPCICR(rxPin) &= ~_BV(digitalPinToPCICRbit(rxPin));

                                                                      ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:222:50: error: 'digitalPinToPCMSKbit' was not declared in this scope

         *pcmsk &= ~_BV(digitalPinToPCMSKbit(rxPin));

                                                  ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp: In member function 'virtual int NeoSWSerial::available()':

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:257:9: error: 'cli' was not declared in this scope

     cli();

         ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:262:9: error: 'sei' was not declared in this scope

     sei();

         ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp: In member function 'void NeoSWSerial::attachInterrupt(NeoSWSerial::isr_t)':

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:285:21: error: 'SREG' was not declared in this scope

   uint8_t oldSREG = SREG;

                     ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:286:7: error: 'cli' was not declared in this scope

   cli();

       ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp: In static member function 'static void NeoSWSerial::rxISR(uint8_t)':

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:308:16: error: 'TCNTX' was not declared in this scope

   uint8_t t0 = TCNTX;            // time of data transition (plus ISR latency)

                ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp: In member function 'bool NeoSWSerial::checkRxTime()':

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:383:28: error: 'TCNTX' was not declared in this scope

       uint8_t  t0        = TCNTX; // now

                            ^

In file included from C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src/NeoSWSerial.h:4:0,

                 from C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:32:

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp: In member function 'virtual size_t NeoSWSerial::write(uint8_t)':

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:531:50: error: 'digitalPinToPCICRbit' was not declared in this scope

   uint8_t PCIbit = bit(digitalPinToPCICRbit(rxPin));

                                                  ^

C:\Users\Java\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.20\cores\arduino/Arduino.h:120:25: note: in definition of macro 'bit'

 #define bit(b) (1UL << (b))

                         ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:533:22: error: 'SREG' was not declared in this scope

   uint8_t prevSREG = SREG;

                      ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:534:7: error: 'cli' was not declared in this scope

   cli();        // send the character with interrupts disabled

       ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:536:18: error: 'TCNTX' was not declared in this scope

     uint8_t t0 = TCNTX; // start time

                  ^

C:\Users\Java\Documents\Arduino\libraries\NeoSWSerial\src\NeoSWSerial.cpp:561:13: error: 'PCI_FLAG_REGISTER' was not declared in this scope

         if (PCI_FLAG_REGISTER & PCIbit) {

             ^

exit status 1
Error compiling for board Arduino/Genuino Zero (Native USB Port).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


are you a coder or a copy/paster? that sketch is for AVR, but it needs only small changes. you have hardware Serial1. remove the software serial part
10
Sensors / Re: Temperature Sensor
Last post by Svx - Today at 07:00 pm
I have a similar issue. First of all, the baseline appears to be around 26.5, while the thermometer shows 24.4. I've observed that this termometer adds about 1 degree, so the actual room temperature should be around 23 degrees. The second issue is that when I put my fingers around the sensor, it jumps to 60-80, even the reading from tmp36 jumps to 200-250 and pretty much never comes back again until arduino is restarted.

EDIT: After moving 5v and ground wires to other pins on the breadboard the project now works as expected - except for the rather high baseline. Some issue with some of the first power pins on the breadboard.
Pages: [1] 2 3 ... 10