WiFi101 | Wifi library for the Arduino WiFi 101 Shield | Wifi library
kandi X-RAY | WiFi101 Summary
kandi X-RAY | WiFi101 Summary
This library implements a network driver for devices based on the ATMEL WINC1500 WiFi module. For more information about this library please visit us at
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WiFi101
WiFi101 Key Features
WiFi101 Examples and Code Snippets
Community Discussions
Trending Discussions on WiFi101
QUESTION
I'm working on a project that includes working with arduino hardware remotely. I would like to learn how to create a simple script that allows me to turn on and off the Led builtin to my MKR1000 wirelessly. I could then use this knowledge in more complicated projects. After doing some research and looking at the arduino library's sample webserver program, I came up with this Frankenstein of code. After working for hours I just keep on making it worse, I could really use some guidance on what I'm doing wrong, why and how to fix it.
My Frankenstein code:
...ANSWER
Answered 2019-Oct-13 at 12:53Never mind, I found a video online that explain clearly how to write the code I'm looking for. It is extremely helpful : https://www.youtube.com/watch?v=H0p7GVPdlyU
It also link to a page with all the code for it.
QUESTION
I'm trying to create a REST server on an arduino mkr1000. upon searching google i came upon the aRest library which handles most of the stuff i need.
So i created a sample sketch based on the guides. Here is the code:
...ANSWER
Answered 2019-May-23 at 08:41You have to send the request to /test?params=0
, not /clapMode
.
Furthermore, you can modify the ID and name with
QUESTION
I got a system where I would send a command from my host computer using Python Socket (the computer is the server) and the MKR1000 (client) would send back information depends on the command sent.
Unfortunately, the bidirectional communication is unstable. I can guarantee the MKR1000 received the command and (maybe) sending information back, but for some reason, my host computer would not receive the command.
Anyway, this is my first time trying out socket, so I would like some guru to review my code and maybe spot the mistake in here? Thanks a lot.
Python:
...ANSWER
Answered 2019-Apr-14 at 04:29Ok so for some reason if I added a delay right after the MKR connecting to WiFi, before connecting to the server, then everything just works.
QUESTION
I have recently started working with arduino and coding in C and have stumbled upon an issue.
Everything is working as it should be :
Read NFC tag > send POST to Laravel API > Recieve body response to display on LCD
However the program is very inconsistent meaning that after an unknown period of time (this is a random period of time) the program returns a connection failed as shown in the monitor returns.
After this connection failed the program will not return back to it's connection and will keep returning connection failed until you restart the program.
I myself am not able to solve this after hours of googling, and therefor I am asking assistance from you guys.
(Do not give me plain code as an answer, but give me explanation on the side as I am learning and want to learn from this.)
Hardware:
Arduino MKR1000
Adafruit PN532 NFC/RFID Controller Shield (SPI)
Monitor returns:
...ANSWER
Answered 2018-Nov-10 at 12:41Don't use the String class. It fragments the memory heap, which leads to crash. Use C strings (zero terminated char array). If you are not experienced with strcat
and sprintf
functions, you can use CStringBuilder from my StreamLib library. The library is available in Library Manager in Arduino IDE.
QUESTION
This is the simple code where i'll use me Android phone to send the password to the ArduinoMKR1000 over a network which will in turn check your password and unlock the gift. I use UDP sockets. The Arduino code is:
...ANSWER
Answered 2018-Jan-15 at 15:00i have Resolved replace //Send the reply with a brodcast ip: Udp.remoteIP() change in IPAddress ip(255, 255, 255, 255);
QUESTION
I'm developing a system that consists of an arduino mkr1000 that I want to send data via wifi to a java server program running in my local network.
Everything works except the main part: data sent by the arduino is sometimes not received by the server...
I'm using the arduino Wifi101 library to connect to my wifi, get a WiFiClient
and send data.
The following code is just a example to demonstrate the problem:
ANSWER
Answered 2017-Jul-27 at 15:21In the meantime I send messages to acknowledge receiving another message. If the acknowledgement is not received the message is sent again.
For anyone with the same problem:
While testing something different I updated the wifi firmware of the board to the latest version 19.5.2
. Since then I haven't noticed any lost data. Maybe this was the problem.
See Check WiFi101 Firmware Version and Firmware and certificates Updater.
Note: I couldn't get the sketches to run with the Arduino IDE but with PlatformIO.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WiFi101
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page