Recent Posts

Pages: [1] 2 3 ... 10
I am Mattis Eynard from France. I am still in high school. I like making project (most of them based on arduino), the french-boxing and I am also first-responder.

With three friends we are developping a resuscitation device, which can insufflate and do a heart massage. It as to be ready-to-use, user-friendly and portable.

Our first prototype was able to do the CPR (CardioPulmonary resuscitation), send SMS and draw ECG.

We are developping the next version of the device: this one will detect if someone as an heart attack or not, thanks an AD8232 and a algorithm, it will communicate all the data to the rescues.

We have developped our PCB. We are using an ESP32, programmed with the Arduino IDE.

Thank you for your reading! Don't hesitate to ask us your questions

Hello! This may be a bit off topic for this forum , however, I do not know where else to ask.

My setup is as follows:

I have two ESP32's communicating via UDP where one of the ESP's is hosting a SoftAP, with the WiFi library. The other ESP connects to the SoftAP, and they start exchaning packets via UDP.

Now I want to see this exchange in Wireshark, to confirm they actually do exchange packets properly.

I have Wireshark running in monitor mode, and I can see the DHCP exchange. However, I can then see EXACTLY six UDP packets, and then it completely cuts out, but still see beacon frames and everything else. Meanwhile, in the Serial monitor, the exchange is still going on, sending messages..

Do anyone know why this is happening?
Sensors / Re: Stabilizing Accelerometer ...
Last post by cloudurchin - Today at 10:26 am
THANK YOU SO SO SO MUCH everyone who's contributed to this forum and supported me!  :smiley:

It seems like, the verdict for my project is - to use the equation

srss = sqrt(x*x + y*y + z*z)   

to find a combined acceleration of the 3-axises - x, y and z - store that in a variable, subtract from that variable a new reading of the combined acceleration.

It was also good to find out that what I was experimenting at the beginning (original code I posted in #0) still has a use!

I haven't tested out the equation yet, but how the equation fits in this whole code/project makes so much sense now.

I might report back once I test and am confident enough to explain what exactly I'm doing my code.


Sensors / Re: Changing HMC5883L register...
Last post by MartinL - Today at 10:25 am
Hi Daniel,

It depends on which QMC5883L you're using.

After a somewhat torturous investigation, it turns out there's an A and B version of device, labelled DA5883 and DB5883 on the chip respectively.

The DA5883 is identical to the HMC5883L, except (and I kid you not) that the status register doesn't work. In this case it's possible to use a HMC5883L library, but it's necessary to comment out lines that poll the data ready (RDY) bit in the status register. Instead just read the data after a sample time delay of so many milliseconds in your sketch.

The DB5883 on the other hand is a completely different device and functions according the the QMC5883L datasheet. In this case, as jremington suggests just use a QMC5883L library instead.

It's rather frustrating, as these changes are completely undocumented and have caused a good deal of confusion for those of us using this device.
Hi, I have done a project with Atmega328. I have disabled the reset pin to use reset as IO, I need to change the firmware inside the chip now.

What is the way to unbrick it?

How can i unbrick my chip without removing it from the board? Because its soldered in the pcb.

Please help me
Hardware / Re: Problema con relè
Last post by fabpolli - Today at 10:24 am
Ma visto il tuo avatar direi che dovresti saperlo ;)

:smiley-mr-green:  :smiley-mr-green:  :smiley-mr-green:
Programming Questions / Re: ADS1232 data converting
Last post by hemanth232 - Today at 10:23 am
hi ,
      i am using the ads1231 24 bit ic for the weight measurement   i want get the values in the gram how to get that one and   one more thing is when the  weight is present on the load cell when is power off after thant when power is ON it give wegiht not the zero how to achevie this. for are the requied like libaries ,eeprom please give the good information about this
Software / Re: Errore nella creazione di ...
Last post by fabpolli - Today at 10:23 am
Ciao, l'errore sta nel fatto che non puoi accedere direttamente ai metodi della libreria in quanto tu dentro di essa definisci una classe e quindi devi istanziare un oggetto di tale classe ed utilizzarne i metodi, hai fatto praticamente tutto, ti manca un piccolo passaggio, guarda questo tutorial che è fatto abbastanza bene ed è pure conciso e si adatta perfettamente al tuo caso
Hardware / Re: Problema con relè
Last post by docdoc - Today at 10:22 am
Sono sicuro che non era questo che intendevi dire, ma sta di fatto che c'è chi acquista su aliex e magari gli va liscia, ma c'è a chi non va per niente liscia e 1, 100, 1000 pezzi non fa differenza (o quasi).
Eh, certo, infatti c'è sempre quel rischio. Ed infatti non ho mai acquistato nulla da  Aliexpress... ;)

Non è detto che questo sia il caso della ditta WavGat.
Ma visto il tuo avatar direi che dovresti saperlo ;)

Hi guys.

Can anyone help me with the code to read Serial1 on the serial monitor?
I am using an Adafruit Ultimate GPS to read the data on Serial1.
The GPS module can be used for direct computer wiring but it's using serial port digital 0 and 1 for RX and TX, but how can I use the code for direct computer wiring to read on the serial monitor?

void setup() {
  // put your setup code here, to run once:
  //initialize both serial ports

void loop() {
  // put your main code here, to run repeatedly:
  //read from port 1, send to port 0
  if (Serial1.available()){
    int inByte =;

  //read from port 0, send to port 1
  if (Serial.available()){
    int inByte =;
Pages: [1] 2 3 ... 10