Using the WiFi and Bluetooth on the Uno Rev 2

I am near the end of my Capstone course for my BSEET program and have stumbled upon a major problem. I am using the Arduino to act as an energy meter, which is like done by the utility company. The requirement of the project is that the data compiled from the signals on the analog inputs must be transmitted wirelessly to a remote display. I am able to write programs to the board. But I can't seem to use the WiFi aspect of the board. I am using Arduino 1.8.16 software. I have the correct board listed in the Board Manager. Under Manage Libraries, I do notice a lot of sluggishness when listing the libraries. I have read the directions on the Arduino site. What are some other things I can do?

Perhaps you could begin by telling us which board you have... not just in the title too. Notwithstanding that I overlooked that, can you please supply links or details for the exact board that you have? Is it the "Arduino Uno Wifi"? Is it genuine or clone?

Also please tell us what you have tried so far. You are speaking very generally, "can't seem to use" and so on. What sketches did you write, or find to test it?

Your post was MOVED to its current location as it is more suitable.

aarg, Wow, that was quick. Board information below. In Boards Manager I have verified that I have installed 1.8.7 version of Arduino megaAVR. I have the Arduino Uno Wifi Rev2 board selected in the Arduino 1.8.16 version software. In Manage Libraries, I have verified that WiFiNINA_Generic 1.8.13 version is installed. I am connected via USB. On Com port 4. When I do the firmware updater in the software, I get an error message, "programmer not responding."

BN: Arduino Uno WiFi Rev2
VID: 03eb
PID: 2145
SN: 93646A41E52EF2D75B3B

Why are you updating the firmware? You left some questions unanswered...

Before you reply again, be aware that new users have a post limit on the first day. So if we continue in question and answer format, you will be locked out eventually. Best to think a bit and post as much information as you can, all at once.

A post limit? Not aware of that. I was checking to see what firmware version is installed. When I ran that sketch, the program gets locked in compile mode and last thing it says is "overriding baud rate :115200" That is really all I got. Happy Thanksgiving. I will check back in on a different day. Thanks.

What sketch? You didn't say. You do have some posts left today, though. What I can see, you find it hard to imagine what it's like to be on the other end of your communications, a world away maybe, with no idea what you've done except for what you have posted.

For example, it is perplexing that you would be checking firmware versions and get hung up on that. So there must be more you're not telling us. One would expect someone in your situation to be attempting to upload wifi example sketches, or something like that...

Please read the forum guidelines that are found in the first few forum topics. You would see advice there like, "don't paraphrase error messages, post them in their entirety".

You can also easily overcome the post limit by taking the minor required actions to attain the forum's "trust level 1":

So don't allow your progress to be slowed down because of a pending limit. But at the same time, it is a good idea to try to provide all the necessary information up front regardless of whether there is a limit in effect.

It doesn't matter as much at post #9 as it does at post #109. But I have seen and contemplated acquiring one, but studied them a bit in spite of never getting around to it. Basically, it's an AVR 328 style processor on the same board as an ESP, which is super easy due to the small size of the ESP module. There is usually a pin header to set the serial connections for programming and operating the AVR, the ESP, or both. In the last case, they communicate via serial over the jumper pins as mentioned. Then, different options for sketches come into play. You can have the AVR drive the ESP via AT commands, and perform network operations, or you can program the ESP to take over tasks like networking and data collection, and send that information to the AVR (aka UNO).

So one question I ask is, how have you configured the on board jumpers, if there are any?

Although, from reply #6, it sounds like some rudimentary communication between the PC and Arduino did succeed. So I don't know... a complete compiler error log would help.

aarg, Thanks for the advice. So, I may be over my head on the WiFi. The goal for my project was to use an Arduino micro controller as an energy meter for the home. I have successfully wired my voltage and current inputs to the analog inputs and I get good data from using Serial Plotter. The problem is that I need my laptop connected to see the data. The goal was to eliminate the wire. That was a key requirement for the project. The only thing WiFi related that worked for me so far was the use of the ScanNetworks example that is in the Arduino software. The Wick bar signal is what I want to use.

17:38:24.738 -> MAC: 84:CC:A8:30:4E:28
17:38:24.778 -> Scanning available networks...
17:38:24.816 -> ** Scan Networks **
17:38:29.198 -> number of available networks:6
17:38:29.238 -> 0) WICK-BAR-COMPANY2.4GHz Signal: -42 dBm Encryption: WPA2
17:38:29.318 -> 1) Corkatory Signal: -78 dBm Encryption: WPA2
17:38:29.358 -> 2) Davies Signal: -86 dBm Encryption: WPA2
17:38:29.398 -> 3) kinsey Signal: -86 dBm Encryption: WPA2
17:38:29.438 -> 4) FortPitt Signal: -87 dBm Encryption: WPA2
17:38:29.478 -> 5) Uniacke Home Signal: -88 dBm Encryption: WPA2

aarg, Ok, so I used the example called ConnectWithWPA. I entered in my SSID and password where required and now I am connected. So, now I need to figure out how to transmit data. Big start in the right direction.

1 Like

aarg, my Wifi is definitely connected to my Wifi signal in my home, but now I have to somehow get data to transmit to the Internet. When I purchased the Uno Rev 2, I mistakenly thought the board would connect to my computer wirelessly. What I guess I really need is a Bluetooth connection but I don’t think that is an option. I looked through all the examples and not found anything that may for my application. Any thoughts? Thanks.

but now I have to somehow get data to transmit to the Internet


What I guess I really need is a Bluetooth connection

are contradictory. Because BT can not connect to the internet. It sounds like you're confused about how data is communicated over wifi and the internet. There are protocols, such as TCP-IP for that. Keep looking at the examples, you will find many different ways of communicating with either your PC or the internet (through your router).

Connecting via wifi, is like establishing a phone call. Protocols are like talking on the phone. It sounds like you've made a call but don't understand how to talk.

That is a huge subject, there are hundreds of ways to do it. Look at a few IOT projects and take hints from those.

aarg, to clarify, I gave up on using WiFi. I am now attempting to use Bluetooth as I think this medium will allow Serial Monitor information to display on my Arduino software on my computer without the use of a USB cable. I have have tried various examples that are in the software but was unsuccessful. Thanks.

Does your board have an ESP8266 or ESP32? ESP8266 has no Bluetooth capability.

I think neither. The radio module is a NINA which should handle WiFi and Bluetooth. The datasheet talks about it.

I have have tried various examples that are in the software but was unsuccessful.

Two huge things missing here. What examples, and what exactly happened. Unless you don't need any more help...

In the Arduino software under File, Examples, Arduino BLE, Central, there is an example called Scan. However, I don't think any of these examples will do what I am looking to have done, which is display Serial Monitor information on my computer without the hard USB wire. Serial monitor definitely sees some peripherals but this is not exactly what I am trying to accomplish. I also checked my Bluetooth on my computer and that is turned on and I don't see any Bluetooth device from the Arduino.

17:31:31.081 -> BLE Central scan
17:31:31.201 -> Discovered a peripheral
17:31:31.201 -> -----------------------
17:31:31.241 -> Address: 04:ed:45:23:94:92
17:31:31.281 -> RSSI: -49
17:31:31.281 ->
17:31:31.281 -> Discovered a peripheral
17:31:31.321 -> -----------------------
17:31:31.321 -> Address: 4e:55:67:ff:21:44
17:31:31.361 -> RSSI: -77
17:31:31.361 ->
17:31:31.401 -> Discovered a peripheral
17:31:31.401 -> -----------------------
17:31:31.441 -> Address: 2a:91:3a:f7:b5:2a
17:31:31.481 -> RSSI: -63
17:31:31.481 ->
17:31:31.481 -> Discovered a peripheral
17:31:31.521 -> -----------------------
17:31:31.521 -> Address: ca:eb:0a:60:e6:96
17:31:31.558 -> Local Name: Amazfit T-Rex
17:31:31.601 -> Service UUIDs: fee0
17:31:31.601 -> RSSI: -95
17:31:31.635 ->
17:31:31.635 -> Discovered a peripheral
17:31:31.635 -> -----------------------
17:31:31.676 -> Address: 4e:ea:38:77:e3:9c
17:31:31.725 -> Local Name: LE-The Doctor
17:31:31.725 -> Service UUIDs: febe
17:31:31.766 -> RSSI: -75
17:31:31.766 ->
17:31:32.166 -> Discovered a peripheral
17:31:32.216 -> -----------------------
17:31:32.216 -> Address: 73:28:e5:3d:43:2c
17:31:32.256 -> Local Name: LE-Bose Color II SoundLink
17:31:32.296 -> Service UUIDs: febe
17:31:32.336 -> RSSI: -76
17:31:32.336 ->
17:31:32.336 -> Discovered a peripheral
17:31:32.378 -> -----------------------
17:31:32.378 -> Address: c3:d8:ec:13:91:1c
17:31:32.417 -> RSSI: -79
17:31:32.417 ->

I doubt very much that there can be no serial Bluetooth example. It is the main use of it in this environment.

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