TinyCircuits

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
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
42
TinyDuino / Re: Taking and saving video to SDCard
« Last post by EliteNeeded22KB on May 21, 2019, 01:04:51 PM »
Hi Nefariis.  That sounds like an interesting project, especially considering that there is 32KB of total SRAM available to the processor of the TinyScreen+ or TinyZero.  A single 16-bit 160x120 QQVGA camera frame will use 38,400 bytes of RAM (160x120x2 bytes).
This won't fit in whatever is left of your 32KB of RAM with the app loaded.  So recording video with this board will require writing partial frames.

Thus you will be working with frame blocks.  Maybe these blocks could be compressed slightly with a very lightweight compression function to use less bandwidth, e.g chroma sub-sampling.  At 48Mhz you will have ~3.2 million CPU cycles per frame to play with (ignoring any waits for I/O, etc).
Alternatively there are cameras that can do various types of compression for you, chroma sub-sampling, M-JPEG, h.264, etc.

The data rate for uncompressed 16-bit 15fps QQVGA will be 562.5 KB/s.
Overall the SPI-interfaced microSD card will have to be able to maintain the block write rate otherwise you will lose frames.

This reference design might help with some of the work: http://www.ti.com/tool/tidm-tm4c129camera
43
TinyDuino / How to check that components are really connected to the TinyDuino
« Last post by uwestoehr on May 19, 2019, 04:21:36 PM »
I use the TinyDuino in combination with the DC motor shields to control 3.3V motors. This works fine but now I got the task to check if
- there is really a motor connected to the dual motor shield
- in case there is a motor, that it is really running and not broken

At the moment I only send input commands to the TinyDuino that are transferred to the dual motor board. I don't read anything.
I think to fully fulfill the task I need to measure if there is actually a current through the motor shield. I think I can use a 1 ohm resistor on a proto board and measure the voltage over it to see if there is really a current through the motor driver board (so motor is connected and it is not broken).

The problem is that I am quite new in the TinyDuino world and cannot find a documentation hot to read out a voltage signal from the proto board and how to include a resistor on the proto board into the voltage circuit between the motor board and the motor.
Therefore I appreciate any hints how to start or a link to documentation, a forum etc.
44
TinyDuino / Re: TINYDUINO GPS TRACKER + DATA LOGGER TUTORIAL Problem
« Last post by PSch on May 10, 2019, 10:51:42 AM »
Hi,
This sounds like a battery problem!
It reminds me of a similar problem I had when using a Lipoly battery sourced via amazon and not from Tinycircuits. The battery initially looked exactly the same and the plug fitted as well, but the polarity of the wires going into the plug was swapped around (took me about a week of on and off trial and error, charging with different chargers etc. to figure this out :-( ....!)
The proper orientation for the Tinyduino when the pug is pointing away from you (cable towards you) and the metal contacts are visible, is  red(plus) left and black (minus) right (as seem on the images of the batteries in the shop section of this page!)

Hope this helps!
45
Tiny Arcade / Re: Rayne the Rogue 2 - a Neo Retro Game (available now)
« Last post by Shdwwzrd on May 09, 2019, 10:02:16 AM »
Rayne the Rogue 2 version 1.1 now available for download at neoretro.games
46
Tiny Arcade / Re: Rayne the Rogue 2 - a Neo Retro Game (available now)
« Last post by Shdwwzrd on May 03, 2019, 11:02:00 AM »
For those who played the game. Anyone beat the game and got a ranking? What ranking did you get?

We are currently working on the 1.1 update with a new unlockable mode.
47
TinyDuino / TinyZero with LED
« Last post by GrandPoohbah 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?
48
TinyDuino / TINYDUINO GPS TRACKER + DATA LOGGER TUTORIAL Problem
« Last post by shwndfrnkln on April 19, 2019, 11:22:50 AM »
Hi All,
This is my first Tiny project.  I cannot seem to get past the following point.  I have built the boards and uploaded the sketch properly.  Here is what I see in the serial monitor....

Initializing Flash Memory...

Determining write/read start point...
Done.

Send 'y' to start read mode. Write mode will begin in 10 seconds...

Now initiating write mode.

Attempting to wake GPS module.. done.

So now what is the process for unplugging this device and going remote with it? 

I have a 500mAh battery plugged in. 
I turn the power switch off.
I unplug the USB cable. 
Then I switch the power switch back on. (P13 blinks once)
Now I wait for the P13 light to give me some indication of life.  Nothing happens.

What am I doing wrong?

I have a Tinyscreen+ also.  I have tried to complete the BATTERY VOLTAGE READING USING THE TINYSCREEN+ tutorial. I can upload the TinyScreenBasicExample and it works great.  When I upload the battery sketch then unplug the USB and switch the device on, nothing comes on the screen. 

What am I doing wrong?

All sketches are downloaded from the Tiny Circuits website tutorials. 

Seems I am missing something here....

49
TinyDuino / Taking and saving video to SDCard
« Last post by Nefariis on April 17, 2019, 08:33:37 PM »
Are there any cameras that are capable of taking video that would work the the TinyDuino?

I would like to take a few minutes of video, saving the file to the SD Card.

So would something like VC0706, VC7670, or cc1563 work?

Thank you
50
Tiny Arcade / Rayne the Rogue 2 - a Neo Retro Game (available now)
« Last post by Shdwwzrd on April 16, 2019, 12:00:13 AM »


After barely escaping the dragon’s lairs Rayne traveled the world in search for the next big adventure. Rayne came across a rumor of a magic lamp hidden within a castle. The lamp is guarded by vicious creatures hunting down any interlopers. Help Rayne navigate the castle and avoid the beasts to get the lamp.

All games available at  neoretro.games, donations accepted.

Follow us on twitter

Support us on Patreon
Pages: 1 ... 3 4 [5] 6 7 ... 10