Recent Posts

Pages: [1] 2 3 ... 10
1
Deutsch / Re: Funktechnik für Wetterstai...
Last post by Rentner - Today at 01:23 am
Hallo,

das mit dem Batterie Betrieb ist so eine Sache.Ich habe da auch was in Planung und mal rumgerechnet.

ich hatte vor einen Wemos Nachbau einzusetzten der ein paar Daten mittels Wlan senden soll. Der Wemos benötigt im deep sleep 0,3mA, hab ich gemessen. Dazu muss man dann aber die Sensorik abschalten. z.B mit Transistor)  Wenn er je Stunde 2 mal senden soll und dazu etwa 30s mit 150mA benötigt ergibt sich in Etwa folgend Rechnung:

(0,3mA *59min + 150mA*1min)/60 = 2,79mAh

gute AA Batterien / Akus  haben etwa 1500mAh
es bieten sich an für 5V Technik 4X 1,2V Akus oder 3x1,5V Batterien.

damit 1500mAh/2,79mA=536 h = 22 Tage.

Ok er schafft es eventuell auch in 20s und man kann auch alle 2 Stunden mal Daten senden dann sieht das noch etwas besser aus.


wie das mit dem Energie Verbrauch eines 433Mhz Senders aussieht kann ich nicht sagen, wird aber ähnlich sein. Faktor 10 wird da nicht drin sein denke ich.

Kannst aber auch mal Googeln zu dem Thema ESP8266 Batteriebetrieb

Heinz



2
Audio / MOVED: transmisor de audio blu...
Last post by surbyte - Today at 01:22 am
3
It is  possible to ping. When I assign a default IP address in IPV4 but on serial monitor is the same . See attach
4
Programming Questions / Re: Parallel flash guidance
Last post by westfw - Today at 01:10 am
What part isn't clear?  If all you want to do is read the flash, most of the datasheet can be ignored.
5
Displays / Re: How to turn off an I2C LCD...
Last post by bperrybap - Today at 12:55 am
The I2C LCD backpack's I use have a little plastic "shunt" jumper on them that controls the backlight.  If you remove the jumper the backlight turns off.  It would be easy enough to hook this to a toggle switch.  I don't know if they support turning the backlight off with software or not.
Nearly all the i2c backpacks have the jumper. The Jumper functionality can vary between designs but the most common is that the jumper disables the backlight as off if removed and if installed it enables s/w control of the backlight.
But some designs use the jumper to force the backlight to always be on and if removed, backlight can be controlled by s/w.
So it depends on which backpack design you have.

For cool factor, you could use a RCWL-0516 Microwave Radar Sensor module (which are less than $1 off ebay) to detect motion.
If the Arduino doesn't see any "movement" signal from the 516 after a set timeout, it can turn off the backlight.
Similar to a PIR, as Paul mentioned, but uses microwaves.

--- bill
6
Français / Re: Serial avec un écran lcd
Last post by kamill - Today at 12:55 am
Lorsque j'écrit Arduino dans moniteur de série, il l'affiche sur l'écran lettre par lettre.
Bonjour,

C'est normal car dans ton programme tu as mis un delai d'une seconde entre chaque réception de caractère.
7
Really need more information.
What is the purpose of the control signal, ie what do you want to happen.
What is the charging source and what are you trying to charge?
8
Hardware / Re: Arduino brickato dopo tot ...
Last post by icio - Today at 12:48 am
Se il tuo nano compatibile monta un uA78M05 lo puoi alimentare fino a 30VDC, se monta un 1117 fino a 12VDC, in tal caso è auspicabile una preregolazione dell'alimentazione con filtro sull'alimentazione
9
Français / Re: Serial avec un écran lcd
Last post by hbachetti - Today at 12:47 am
Il faut stocker, et envoyer sur réception du retour chariot :

Code: [Select]

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
}

char buffer[32];
int index;

void loop() {
  // put your main code here, to run repeatedly:
  if(Serial.available() > 0) {
    char c = Serial.read();
    if (c == '\r') {
      Serial.print("buffer=");
      Serial.println(buffer);
      memset(buffer, 0, 32);
      index = 0;
    }
    else if (index < 32) {
      buffer[index++] = c;
    }
  }
}


Mais c'est un moyen parmi d'autres.

@+
10
That's a really good question...!

Libraries are only 'hidden' to the extent they won't affect *your* code unless you actually invoke or call them.
They are usually provided with sample code to demonstrate their basic function, so that really that shouldn't be a problem however there's no harm in 'trying' then posting your code - along with what you didn't understand.

The underlying concept you're looking for is writing & testing code in isolation, then stitching the pieces together.  A good starting point is to write your 'functional' code as *functions*.

These functions will generally stand alone, and can be put aside for use when needed, but managing libraries will still require some practice and understanding of what each library *needs*.
Pages: [1] 2 3 ... 10