TinyCircuits

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
TinyDuino / Re: TinyZero with NeoPixels
« Last post by HunterHykes on June 25, 2019, 12:12:40 PM »
This is simply because the NeoPixels require 5V to operate and the Li-Po battery only supplies 3.7V. USB power would supply 5V, but if you want to power this project from a battery, look into a higher voltage battery or battery pack.

Hope this helps.
22
TinyDuino / Re: 9-AXIS IMU TINYSHIELD & BLUETOOTH LOW ENERGY TINYSHIELD (ST)
« Last post by Andreas on June 22, 2019, 08:59:49 AM »
Hi Thomas!
I've just started on a project using the 9 Axis shield and bluetooth shield and i'm wondering if I could see your code or parts of it to learn on how to use them together?
23
TinyDuino / TinyZero with NeoPixels
« Last post by GrandPoohbah 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?
24
New Product Ideas / Re: MicroPython and or CircuitPython for the TinyZero
« Last post by dwighthubbard on June 10, 2019, 11:15:54 PM »
 I was able to follow the non-uf2 installation instructions at https://learn.adafruit.com/welcome-to-circuitpython/non-uf2-installation.  To install the adafruit-circuitpython-arduino_zero-en_US-4.0.1.bin image using bossac 1.7.0 on the tinyzero board.

The board shows up as a usb drive and has worked good so far.  The repl works as well.
Code: [Select]
Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 4.0.1 on 2019-05-22; Arduino Zero with samd21g18
>>> import board
>>> import digitalio
>>> 
>>> led = digitalio.DigitalInOut(board.D13)
>>> led.direction = digitalio.Direction.OUTPUT
>>> led.value = True
>>>
25
TinyDuino / Re: TinyZero with LED
« Last post by HunterHykes on June 10, 2019, 11:36:59 AM »
Almost every LED has about a 0.7V voltage drop across it. You should always use a current limiting resistor in series with any LED. There are specific resistances for each color LED as the current required for each is different. Typically a resistor from about 300 ohms to 1k ohm will do the trick.

Hope this helps.
26
TinyDuino / Re: Adapt WiFi Module ESP8266 code for use with Tiny WiFi Shield
« Last post by GrandPoohbah on June 05, 2019, 05:45:04 PM »
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.
27
TinyDuino / Adapt WiFi Module ESP8266 code for use with Tiny WiFi Shield
« Last post by GrandPoohbah on June 05, 2019, 01:58:21 PM »
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?
28
TinyDuino / Re: TinyZero with LED
« Last post by ZLee on May 24, 2019, 04:17:51 PM »
It depends on the voltage drop of your LED. Most likely, you will still need a small resistor.

However, if the voltage drop is very near 3.3v, which is quite possible with a white LED, then you will not need the resistor.
29
Tiny Arcade / Re: Visual Studio Code
« Last post by ZLee on May 24, 2019, 04:07:10 PM »
I would try using this extension by Microsoft.  https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino

Also, if you are ok using visual studio, I can confirm that debugging TinyCircuits products is fairly easy using the visual micro extension for visual studio.

https://www.visualmicro.com/

Let me know if you need any further help, I will be happy to post a guide.
30
TinyDuino / TinyDuino + BLE TINYSHIELD (ST) Sensor Beacons
« Last post by cptwinder on May 23, 2019, 12:15:27 PM »
I have the TinyDuino and the BLE TinyShield (ST) and I'm attempting to setup BLE advertisement beacons to send sensor readings to any other device scanning.

The problem I am running into is the STBLE library is organized significantly different from any of the code I have been able to find as examples, that I haven't been able to make it work.

Has anyone created a beacon with the TinyDuino and this shield and would be willing to share their code so I can learn from it?

Thank you in advance!

Jeremy
Pages: 1 2 [3] 4 5 ... 10