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 - PSch

Pages: [1]
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!

TinyDuino / Initial serial output is lost on new TinyZero
« on: March 14, 2019, 01:33:07 PM »
I just started to play with my new Tinyzero (with the accelerometer) board (impressive to get 3 or even 4 (with the RTC) boards in one now!!!).
After updating the Board manager (to get the tinyzero board option) I got my code to work. However, I noticed that with my code (written for the old t board system) as well as with the linked example code from Github (https://github.com/TinyCircuits/TinyCircuits-TinyZero-ASM2021/tree/master/examples/TinyZero_BMA250), I do never get the initial serial output from the setup section (i.e. all the initialisation messages e.g. "Initializing BMA..." in the example code). (I changed the Serial.print to SerialUSB.print, but still no success...).
The output from the main section of the code is then displayed OK.


PS: Could you also add an example on how to use the RTC on the new Tinyzero board? Does this work with the same libraries as for the previous RTC shield?

TinyDuino / Re: Problems writing on Flash Memory TinyShield
« on: May 24, 2018, 04:15:34 AM »

Just updated to the new SPIMemory library and all works brilliantly now!!

TinyDuino / Re: Problems writing on Flash Memory TinyShield
« on: May 18, 2018, 05:06:01 AM »
Does anyone have an example of a simple sketch that is definitely working for writing data on the flash shield so I can further investigate my problems?

TinyDuino / Re: Model Rocket Acceleration Project
« on: May 18, 2018, 05:02:27 AM »
Why not use the millis() function?

This gives you (at least) a timestamp in milliseconds (and then buffer in an array of datapoints before writing on the SD card).

TinyDuino / Problems writing on Flash Memory TinyShield
« on: May 14, 2018, 11:21:00 AM »
I have problems writing on the Flash Memory TinyShield using the example code TinyShield_FlashMem_Example.ino or any other example code I found (I tried to modify the GPS tracker example).
For testing I just run the ASM2001 Rev9, ASD2101 Rev6 and ASD2202 Rev3 (flash) shields.
I updated the SPIFlash library but still no success.

Can anyone help?

I get the following output:
                              Important Notice
               This version of the library - v3.1.0 will be the last version to ship under the name SPIFlash.
            Starting early May - when v3.2.0 is due - this library will be renamed 'SPIMemory' on the Arduino library manager.
                     Please refer to the Readme file for further details.
Chip Diagnostics initiated.

No Chip size defined by user. Automated identification initiated.

Using writeByte...
Error code: 0x07
Write failed!
Using readByte...
The byte on page 427 at position 19 is: 0

Pages: [1]