Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Software / Re: Causara algun problema?
Last post by Facemaker - Today at 03:55 pm
Prueba lo que se sugiere en este sitio On Demand Portal SSID with ChipID?
Agradezco mucho tu respuesta, leí la fuente que haz colgado, y he visto que es prácticamente lo mismo que he hecho yo, con la diferencia que ha hecho un strings compuesta de una texto fijo (que no necesito) más el getchipid y luego utiliza esa string seguida de ".c_str()"
Causa alguna diferencia el utilizarla de esa forma?.
Llegando a Casa hago la prueba, solo quería agradecer y disipar dudas.
32
It all depends on what you want your system to do. The ESP8266 is a very powerful processor on its own. If it has enough pins to read/drive all sensors/actuators you need, just don't use the Arduino MEGA at all.

If you need more IO, there are two main options: use I²C or SPI IO expanders or shift registers connected to the ESP, or use the MEGA as an IO expander.
In both scenarios, the ESP8266 does all the heavy lifting, and the MEGA doesn't have to worry about anything MQTT or WiFi related: it just listens to commands given by the ESP8266. For example, if you have a temperature sensor, the ESP can request the temperature from the MEGA, the MEGA reads the sensor, and responds to the ESP with the measurement. Finally the ESP adds the measurement in a network packet as suited.

I think this is a clean solution, because the ESP only has to worry about networking stuff, not interfacing with sensors, and the MEGA only has to know how to read the sensors, it doesn't know anything about WiFi.

Using off-the-shelf IO expanders is easier, because then you only have to worry about a single program, and you don't have to handle the ESP-MEGA communication.

Communication between ESP and MEGA can happen any way you like (SPI, I²C, UART ...) just keep in mind that you need level shifters, because the ESP8266 is a 3.3V device, and you will damage it if you supply 5V to one of its pins.
33
Project Guidance / Re: Read RFID with arduino
Last post by gahbah - Today at 03:55 pm
No the Arduino does not sample fast enough to measure the faster baud rates.

Unless you can get a better data sheet than the one you posted you face an uphill task trying to reverse engineer what you have. Not only do you need test equipment you need the knowledge of how to use it.

Given the questions you are asking then I don't think you can do this with your present skill set.
https://www.elatec-rfid.com/fileadmin/Files/Data_Sheets/DS_TWN3_Multi125.pdf

Here is the datasheet. the baud rate is 9600
34
Français / Re: Shield moteur Nucleo et ar...
Last post by Dextow - Today at 03:51 pm
Ne serait-ce pas un peu normal ?
Merci pour les infos.

Oui mais alors pourquoi ils fournissent des informations sur la compatibilité avec le arduino uno, et la correspondance entre les broches arduino et x-nucleo ?

Ne peut-on pas envoyer un signal dans les portes logiques du L6208 intégré dans la carte x-nucleo (avec enable je pense) et haché ce signal avec la fonction clock pour effectuer les séquences du pas à pas ?

Et que pensez-vous du shield moteur arduino R3 pour ce type de moteur, est-il trop faible ? En sachant que ce n'est que 10 pas environ tous les 20 à 30 secondes...  est-il possible de travailler en micro pas avec ce shield, car je n'ai rien trouvé dans les librairies... ?

D'avance merci.
35
Français / horloge avec matrice led fc 16
Last post by FOGGY2 - Today at 03:47 pm
Bonjour debutant en arduino je souhaiterais faire une horloge avec une matrice led FC 16 et un module DS3231 et aprs avoir essayer ce code rien ne s affiche.

Code: [Select]
#include <RTClib.h>
#include <DS3231.h>
#include <Wire.h>
#include <MD_Parola.h>
#include <MD_MAX72xx.h>



// Parametrage matrice  ( Pin Arduino ou est branché la matrice )
#define MAX_DEVICES 4 // ( nombre de matrice )
#define CLK_PIN   13
#define DATA_PIN  11
#define CS_PIN    10

#define HARDWARE_TYPE MD_MAX72XX::FC16_HW

// initialisation de la matrice
//MD_MAX72XX MX = MD_MAX72XX(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);
MD_Parola P = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);


// parametrage horloge
DS3231 clock;
RTCDateTime dt;
// Commande a devalider pour reglage horloge premiere fois Manual (YYYY, MM, DD, HH, II, SS
//clock.setDateTime(2017, 10, 27, 16, 19, 00);

void setup() {
    //init affichage
  P.begin();
    // init horloge
  clock.begin();

}

void loop() {
  dt = clock.getDateTime();
  // Affichage d'un texte simple
 if (P.displayAnimate())
 {
  P.displayText(clock.dateFormat("H:i", dt), PA_CENTER,0,0, PA_PRINT, PA_NO_EFFECT);
 }

}
*
si vous avez des idée car la je ne sais plus quoi faire merci de vos réponse.
36
Pro Micro has 18 pins according to this page. So only 2 fewer than Leonardo.
37
IoT Cloud Beta / Re: Nano 33 IoT board not reco...
Last post by AniMoosiac - Today at 03:46 pm
Is there much I can do with it before that implementation is complete?  Don't mind being patient but if I can start on the sketch and at least test basic functionality that would be nice.
38
Sensors / Re: Problem using the Omron EE...
Last post by TrveAshwin - Today at 03:43 pm
So, I tried this new circuit and I still seem to be getting the same problem. The transistor end just heats up and the interrupter isn't doing what I want it to. Any other solutions I can try?
39
hoi Pieter,

Is there any other way around esp8266_lib?

Esp8266_lib is one from blynk examples ->boards wifi -> ESP8266 shield.

Thanks for the help
40
Project Guidance / Re: time delay
Last post by AWOL - Today at 03:42 pm
Quote
but if I enter 42000 seconds the thing freezes
Did you wait for a little over eleven and a half hours?
Pages: 1 2 3 [4] 5 6 ... 10