TinyCircuits

Recent Posts

Pages: [1] 2 3 ... 10
1
TinyDuino / Analog read rate, TinyZero slower than TinyDuino ...??
« Last post by jlastofka on November 14, 2019, 10:18:59 AM »
I'm doing some testing with a simple loop that reads an input and stores to an integer array. I use micros() before and after the loop of say 10 readings, then after the timing loop I print out the time and the readings for inspection.
I'm getting MUCH faster reading time on the TinyDuino than on the TinyZero, which seems odd because it seems the TinyZero would be faster if anything, or the same if it's just the Analog input speed limit.

I get about 120 microseconds per reading on the TinyDuino
I get about 420 microseconds per reading on the TinyZero
I suppose it could be something different in the analog hardware, but the clock speed should be 8x on the Zero. I'm using default clock speeds and haven't changed any other settings if there are any.

I've tried different loop counts with about the same result. It shouldn't be anything about the serial port because I don't print anything until after the reading loop.
Anyone else know anything about different Analog Input rates for these processors?
What kind of reading speed do you see?
2
TinyDuino / Re: TinyScreen+ interrupts and sleeping.
« Last post by gregweber on November 11, 2019, 03:15:51 PM »
If I look at the schematic [1], it seems that the buttons are connected to pins 37, 38, 47, 48.
However, TinyScreen.h has the pin numbers as 19, 25, 30, 31 [2].
I am wondering if the TinyScreen library is outdated or if that is written for the shield instead of the +?

[1] https://github.com/TinyCircuits/TinyCircuits-TinyScreenPlus-ASM2022/raw/master/design_files/ASM2022_Rev4.pdf
[2] https://github.com/TinyCircuits/TinyCircuits-TinyScreen_Lib/blob/master/TinyScreen.h#L88
3
TinyDuino / Re: Temperature and Humidity Sensor TinyShield (No device found on com5)
« Last post by gregweber on November 11, 2019, 10:11:24 AM »
First make sure you are using a USB cable that actually transmits data. Many cables you have around the house now are only for charging devices.

One thing you can always try is giving your board a reset: this will load a bootloader that will connect to the computer. Otherwise it is easy enough for software initialization in your program to end up disrupting the USB communication.
4
TinyDuino / Re: Bluetooth problem, BLEsetup() and aci_loop() not declared in scope
« Last post by gregweber on November 11, 2019, 09:46:08 AM »
What .h files are you importing into the file?
5
TinyDuino / Temperature and Humidity Sensor TinyShield (No device found on com5)
« Last post by Benji007 on November 11, 2019, 12:10:33 AM »
Hi! i have recently started working on a Temperature and Humidity Sensor TinyShield (ASD2511-R-T) and faced the issue as shown in the attachment: No device found on com5.

I have followed the tutorial as shown in the TinyShield webpage and worked through the steps. 1) Installed the Arduino IDE, 2) Installed the Si7021 Arduino Library, 3)Download the .zip file of the example program and open it in the Arduino IDE.

However, when I proceed to upload the program, the following error had occurred. This is the first time i am working on a TinyShield product.

Any help is appreciated! Thanks!
6
TinyDuino / TinyScreen+ interrupts and sleeping.
« Last post by gregweber on November 10, 2019, 11:46:54 PM »
Is there any working example code for putting the TinyScreen+ device to sleep and waking it up on button press?

The existing example code for the watch project doesn't seem to work (I think it is not up to date for the latest board revisions). I had to delete all the Bluetooth references since I am not adding a Bluetooth shield. With a few minor changes the program then works fine as long as I have it avoid going to sleep.
7
TinyDuino / Bluetooth problem, BLEsetup() and aci_loop() not declared in scope
« Last post by ccaian on November 09, 2019, 12:05:27 PM »
i attached my ino file. its a simple program that accepts bluetooth chars from the nrf toolbox app to spin the motor. but the two functions BLEsetup() and aci_loop() are not declared.

im guessing this is a library issue? but i double checked my code and it looks like i imported all the libraries correctly. i downloaded stble.zip and added it to the library.

sorry am new to this. appreciate your help in advance!
8
TinyDuino / Multiple questions please help
« Last post by jerry19968 on November 05, 2019, 10:42:33 AM »
Hi,

1. Is it possible to flash another bootloader into the mircocontrollers ? (such as hoodloader2)

2. In the tutorial for tinycircuit smartwatch, there is a commented line stating the following:
"ST BLE module for compatiblity with Nordic's virtual UART connection".

May I know what is Nordic's virtual UART connection?? As I may try to use this virtual UART connection to use other libraries. (such as BLE SDK arduino)

3. Please tell me if emulation of HID is it possible on this tinydruino. As I am doing a project.

Please do answer, thank you very much! :D
9
TinyDuino / Re: Maximum IO pin input voltage
« Last post by jlastofka on November 05, 2019, 08:36:12 AM »
I found the Microchip (manufacturer) spec for the processor and it says the maximum input voltage on the input pins is Vdd + .6V, so since we're running the processor on 3.3V the absolute max allowed Vin on the I/O pins is 3.9V

I'm going with that.
10
TinyDuino / Maximum IO pin input voltage
« Last post by jlastofka on November 02, 2019, 12:14:37 PM »
I've been searching the forum and the processor documentation but I can't seem to find the spec for the allowable input voltage on the digital IO pins. I saw one spot showing the Logic 0 and 1 levels for a 5V supply and a 3.3V supply setup, but not the maximum allowable.
Is it 5.5V, same as the max battery supply voltage? Does it depend on whether you're powering it from 3.3V or 5V (I doubt that)?
Someone telling me the value is somewhat helpful, but I'd like to know where it's listed officially.
Thanks.
Pages: [1] 2 3 ... 10