Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
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.
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.
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.

Here is the datasheet. the baud rate is 9600
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.
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


// initialisation de la matrice

// 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
    // init horloge


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.
Pro Micro has 18 pins according to this page. So only 2 fewer than Leonardo.
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.
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?
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
Project Guidance / Re: time delay
Last post by AWOL - Today at 03:42 pm
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