Arduino Uno R4 wifi wireless comunication

Hi everyone! Hope you are well.

I'm currently working on a werable project that uses a pulse sensor and an Arduino R4 Wifi to interact with a projection. The code on the arduino is the basic AnalogReadSerial exemple and the comunication is done via P5.serialcontrol. Everything is working fine so far but, since this is a werable, I would like to get rid of the usb cable so people can move a bit more freely in the room the projection is in. The problem is I have no ideia how to do this :sweat_smile:

What I think I need to do is to connect the arduino to the computer via a bluetooth port (or wifi? I really don't know what would be easier) instead of the usb port, so I can send the analogRead the same way im doing now, just no cable. Anyone know the most newbie friendly way to do that?

TIA!

What is "AnalogReadSerial? Not heard anything like that.
You use "a pulse sensor"... Please post its datasheet.
You have an UNO R4. Why not use the wireless communication option it has?

Good tips before posting are found in the topic "How to get the best out of this forum". Please read and use it.

Hi! "AnalogReadSerial" is the firs exemple in "1.Basics" that comes with the IDE. It reads like this:

/*
  AnalogReadSerial

  Reads an analog input on pin 0, prints the result to the Serial Monitor.
  Graphical representation is available using Serial Plotter (Tools > Serial Plotter menu).
  Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.

  This example code is in the public domain.

  https://www.arduino.cc/en/Tutorial/BuiltInExamples/AnalogReadSerial
*/

// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}

// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // print out the value you read:
  Serial.println(sensorValue);
  delay(1);  // delay in between reads for stability
}

Sorry for not including detais about it, but since it's the basic exemple I assume people would know. And I have no ideia what is a sensor datasheet, sorry. But also, my problem is not with the sensor, this one is working fine.

About this, because I don't know how to do this. That's exactly what I ment to ask on my post. As I said, I'm a newbie, still trying to figure things out. I tried looking for tutorials before posting here, but they all only made me even more confused so I thought a bit of human interation would be more usefull then trying to understand everything by mylself. Sorry if I was wrong.

Okey. Not noticed that mistyped or misleading text. AnalogRead and Serial print had been much better. Sorry.
The UNO R4 is very new and I don't know yet what kind of wireless it's capable of. Anyway, usin that wireless, in a room, additional boards will not be needed.
Okey, the unknown sensor is working. That's good. To suggest the powering the technical data are important.
Other helpers know more about the UNO wireless possibilities. Just wait a little.

I'm very confused :sweat: but thank you! I'll wait for further help

Anyone? :sweat_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.