Recent Posts

91
TinyDuino / Re: Temperature and Humidity Sensor TinyShield (No device found on com5)
« Last post by Benji007 on November 16, 2019, 02:48:44 AM »
Thanks for the help! testing the cables, different boards and the sensors. I had replaced the board and use the following board and processor. Its working and sending the data that i need now!
92
TinyDuino / Re: Analog read rate, TinyZero slower than TinyDuino ...??
« Last post by lennevia on November 15, 2019, 04:40:01 PM »
Hello,

The results you're getting are definitely aligned with the accurate speed settings. If you're looking to get faster readings from the SAMD21 (TinyZero) or the ATmega328P (TinyDuino) then you can try using the libraries mentioned in this blog: https://www.avdweb.nl/arduino/adc-dac/fast-10-bit-adc

I hope that helps with whatever you're building!

Best,

Réna
93
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?
94
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
95
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.
96
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?
97
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!
98
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.
99
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!
100
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