Use Arduino UNO Wifi with LabView

Hello, I want to use UNO wifi board for LabVIEW application. For that I downloaded LabVIEW Interface for Arduino toolkit.
When I running LabVIEW code I getting error.
I also getting error when I am uploading LIVA_Base Arduino code to wifi Uno.
Please help me how can I resolve this.
I am doing one LabVIEW project with Arduino Uno wifi.

Error:
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x49

Hi @amitshishodia. You have described your board as "UNO wifi". This is an ambiguous description as there are multiple Arduino boards with a similar name, such as:

So please provide a detailed description of the exact board you have. It will be helpful if you post a link to the product page on the online store you purchased the board from.

You say you have a R4 WiFi, but you'd get this output drom having the R3 UNO selected in the IDE. Make sure you have the correct board selected.

Hello,
I have Arduino Uno Wifi R2 Board

Thanks for the clarification. The "R2" part of your description is still slightly ambiguous, but I'll interpret it as meaning that you have the UNO WiFi Rev2 board:

📷

ABX00021_03.front_1000x750.jpg by Arduino - CC BY-SA 4.0 (cropped, scaled)

If so, this error is caused by having the wrong board selected from the Arduino IDE menus. Despite the similar names, there are significant technical differences between these boards and so it is essential to configure Arduino IDE for the exact board you have.

I'll provide instructions you can follow to do that:

A. Install Support for UNO WiFi Rev2

Support for the UNO WiFi Rev2 board is added to Arduino IDE by installing the "Arduino megaAVR Boards" platform. If you haven't already done that, follow these instructions:

  1. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  2. Scroll down through the list of boards platforms until you see the "Arduino megaAVR Boards" entry.
  3. Click the "INSTALL" button at the bottom of the entry.
  4. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully installed platform ...

B. Configure Arduino IDE for Use With UNO WiFi Rev2

Select Tools > Board > Arduino megaAVR Boards > Arduino Uno WiFi Rev2 from the Arduino IDE menus.

You now have Arduino IDE set up for use with the UNO WiFi Rev2. Now try uploading the sketch to your board once again. Hopefully this time it will be successful.

1 Like

Thank You for the support.
I want to use this board to acquire 2 sensor(Temp& Accelrometer) data and control some relay for the my project.
I am using LabVIEW 2020 for this. i also downloaded labview toolkit but getting some error.
in below image I selected Arduno Uno

It looks like LabView MakerHub doesn't have support for the UNO WiFi Rev2 board.

So you have two options for how to proceed:

  • Obtain one of the boards that is supported by LabView MakerHub

- OR -

  • Use the UNO WiFi Rev2 board with some alternative approach that doesn't involve LabView MakerHub

If you have a board using either a CH340 or SI Labs CP21xx serial adaptor, try selecting Sparkfun under Device Family and RedBoard under Device Type.

I hope this helps

@2112 why?

Hello,
i am working on one project where I need to acquire sensor data and control some relay. I am using Ardunino Uno wifi R2 board.
I want to use LabVIEW for this project. i have LabVIEW 2020 and I installed NI LabVIEW Linx toolkit.
But I am getting error on using this toolkit.
is any one worked on this board using LabVIEW?
I need help how can I use LabVIEW on Arduino Uno wifi R2 board?

Thank You

I wonder whether you would be better off asking on the LabVIEW forum.

And what might that error be?

Can the below possibly be the cause of the problem?

  1. The Arduino WiFi Rev2 identifies itself with a different VID/PID than the normal Uno.
  2. The reset mechanism works different.

I have merged your topics due to them having too much overlap on the same subject matter @amitshishodia .

In the future, please only create one topic for each distinct subject matter and be careful not to cause them to converge into parallel discussions.

The reason is that generating multiple threads on the same subject matter can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Thanks in advance for your cooperation.

1 Like

I haven't used Linx in several years. However, I do recall needing to identify the target as a Sparkfun when using the wizard to program the Linx firmware onto a Uno or Nano clone that has either a CH340 or SI Labs serial chip. I'm guessing it wouldn't use the proper driver otherwise.

I'm not saying that will solve OP's issue, but it's worth a try.

@2112 it will not solve the issue because it is a different MCU and the USB chip is a SAMD11 with Arduino's firmware

@Juraj
Well there you go.

OP will need to create a custom sketch and use Labview VISA functions to communicate to his UNO. I recall VISA being slow and unreliable. But I may be wrong there as well.

What's your opinion of communicating via VISA?

I may have to dust off my NI and give it a go.

1 Like

Hello,
Now i am geeting data using NI VISA.
I uploaded code in board using IDE and with the help of NI VISA I am getting data in LabVIEW.
But still facing issue in LINX toolkit.

Thank You for the support.

As stated by others, Linx does not support your UNO WIFI. Linx is unable to upload the needed firmware.

1 Like