Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - GrandPoohbah

Pages: 1
1
General Discussion / mDNS Library
« on: February 26, 2021, 06:56:21 PM »
Does anyone know of a good mDNS library that will work with the TinyZero?

I've written a sketch for bi-directional UDP communication between my iPhone and  my TinyZero with WiFi Shield. It works well, but the TinyZero has a default host name of "winc-42-f2". Catchy huh? I'd like to set a custom host name, but I can't find a mDNS library that will work. I've tried MDNS_Generic, but when I follow its guidelines, the resulting IP Address is 0.0.0.0.

2
I had a similar problem with the IoT Kit. Here's what worked for me:

1. Turn off the TZ Processor board;
2. Connect the USB cable;
3. Hold down the bootloader button on the TZ Processor board while doing the next step;
4. Turn on the TZ Processor board;
5. Release the bootloader button. and
6. Start the Arduino IDE.

4
TinyDuino Processors & TinyShields / TinyZero with NeoPixels
« on: June 14, 2019, 01:27:23 PM »
I am using a TinyZero with the Tiny WiFi Shield to create a web host on my local network. This lets one use any browser to query and control the TinyZero. For example, turn on a LED or a NeoPixel (a WS2812B). This works well when the TinyZero is connected to USB for power, but not when it's solely on fully-charged battery power (150mAh lithium-ion)  The LED will still turn on with battery power, but the NeoPixel will not turn on.

USB Power: LED and NeoPixel
Battery power: LED only

Why is this happening?
And how can I illuminate one or more NeoPixels without requiring a connection to USB power?

5
I got working and here's how:

I discovered that ESP8266 library is based on WiFi101, the library used for the Tiny WiFi Shield. The two libraries should blend together nicely. It's a matter of either adding WiFiClient, Pushsafer, and ArduinoJson to your Tiny Circuit sketch or adding Wire and WiFi101 to the Pushsafer sendEvent example sketch.

Before you start editing the sketch, go to the pushsafer.com web site and do the following:
Create a free account and get a Pushsafer key.
Download the client app to your device (I used the iOS client app).
Start up the client app and register your device.
These steps will allow you to receive notifications from the Tiny Circuits sketch.

Starting with the Pushsafer sendEvent.ino example sketch, make the following modifications:
Install the ArduinoJson library in your IDE library (used by Pushsafer)
Add <Wire.h> and <WiFi101.h>  // For Tiny Circuits WiFi Shield
Change all references to "Serial" to "SerialUSB". Do this in the example and the Pushsafer.cpp files.
Add your ssid, password, and Pushsafer key to the sketch.
Add Wire.begin(); // For Tiny Circuits WiFi Shield
Add WiFi.setPins(8, 2, A3, -1) // For Tiny Circuits WiFi Shield
Compile and run the example.
Your notification will appear in your client app almost immediately.

Have fun. This is a nice way to receive notifications from your Arduino no matter where you are.

6
I want to try out Pushsafer www.pushsafer.com using my Tiny WiFi Shield, but their SendEvent example uses the ESP8266WiFi.h library.

Has anyone adapted a sketch that uses the ESP8266WiFi.h library to use the WiFi101.h library instead?

7
TinyDuino Processors & TinyShields / TinyZero with LED
« on: April 23, 2019, 12:11:06 PM »
When I connect an LED to an Arduino digital pin, I usually put a 220-ohm resistor in series. However, since the TinyZero is 3.3v instead of 5v, is that still necessary?

Pages: 1
SMF spam blocked by CleanTalk