Hot answers tagged

3 votes
Accepted

Wireless programming of Arduino

My ArduinoOTA library, which is based on Arduino's WiFi101OTA library, was created for upload from IDE. But in some scenarios as for example deployed sleeping battery powered devices it is better to ...
user avatar
  • 16.2k
2 votes

How can I make std::cout write to Serial?

The ARM gcc libraries offer a simple way to redirect standard outputs. It is enough to implement function _write(int fd, char *ptr, int len) and it will replace the default implementation used in ...
user avatar
  • 16.2k
2 votes

Condition in a while loop not updated on my mkr1010

while (buttonState != LOW){ // turn LED on: digitalWrite(ledPin, HIGH); WiFiDrv::digitalWrite(25, 255); // for full brightness Serial.println(buttonState); } You never update the ...
user avatar
  • 2,616
2 votes

Sending arduino sensor data via WiFi to a MySQL server

So I don't quite know why, but I started from scratch and it works now. I've put the new code below in case it helps someone in my situation. // Arduino Low Power - Version: Latest //#include <...
user avatar
1 vote

Does the MKR WIFI 1010 support the arduino mouse and keyboard controller?

Yes, the Arduino SAMD boards are supported by the Arduino Keyboard and Mouse library. Nano 33 IoT is a smaler alternative to MKR 1010. But the MKR1010 or the Nano33 IoT with original NINA firmware ...
user avatar
  • 16.2k
1 vote

What is the correct way to externally power a MKR 1010 WiFi

What is the correct pin for supplying external power, and VIN What is the correct voltage to apply The bq24195 can accept between 3.9V and 17V according to the datasheet. However the power LED on ...
user avatar
  • 102k
1 vote

MKR 1010 disconnects COM-port on each upload

This was due to using a virtual machine (VMware) which apparently doesn't handle the MKR board COM-port so well. Moving the development environment to the host solved the problem. It still disconnects ...
user avatar
  • 141
1 vote

I can't turn on the motor by Arduino IoT Cloud

The following code is an example. As I don't know the Arduino Cloud Thing configuration, and I don't have access to the cloud and the Hardware, the programm is just a guess making some commented ...
user avatar
1 vote
Accepted

How do I connect an MPU6050 sensor to an Arduino MKR WIFI 1010?

The sensor was indeed broken, and I had no problems after ordering a new one.
user avatar
  • 33
1 vote

No Websockets Server for Arduino mkr1010?

Most websocket libraries work over a Client. Client is base class for all EthernetClient and WiFiClient classes. But why do you want to use a Websocket for communication of two MCU in the same LAN? ...
user avatar
  • 16.2k
1 vote

Arduino MKR 10100 control DC Motor

The TIP120 is a poor choice because of the approximate 10% - 14% voltage drop across it. Try the circuit with a logic level, low Rds MOSFET. For a more in-depth answer, please see this answer: https:/...
user avatar
  • 2,469
1 vote
Accepted

MKR GPS Shield Sampling Frequency

It seems that the problem with the GPS was caused by my usage of the arduino delay(...) method in my loop. I'm assuming that by using delay, the connection to the GPS module was being severed, and in ...
user avatar
1 vote
Accepted

Arduino MKR 1010 WiFi as BLE central/client

In case this thread turns up in a search, the ArduinoBLE library now includes central and peripheral support.
user avatar
  • 36

Only top scored, non community-wiki answers of a minimum length are eligible