TinyCircuits

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
User Projects / Code Examples / Re: Simple implementation of TinySNAKE & TinySimon
« Last post by mjculross on November 20, 2018, 08:52:18 PM »
Updated versions are now available at the link described earlier.  The new versions include Ben Rose's recommendation for fixing the inconsistent volume when calling tone().
(see http://forum.tinycircuits.com/index.php?topic=1960.msg3972#msg3972 for discussion of the original problem)

Mark J Culross
KD5RXT
12
General Discussion / Re: volume not consistent when using tone()
« Last post by mjculross on November 20, 2018, 08:46:59 PM »
Ben:

I added the recommended DAC disable command & audio is consistently loud, even after restart.

Thanks again !!

Mark J Culross
KD5RXT
13
General Discussion / Re: volume not consistent when using tone()
« Last post by mjculross on November 20, 2018, 04:26:49 PM »
Ben:

Thanks for the reply.  I will try your recommended fix(es) this evening & let you know how it goes.

This definitely falls in the "woulda never guessed that" category !!  If I had used an analog read from an unconnected pin to seed my random number generator (instead of using the random amount of time before the user presses start like I do now), I likely would never have experienced this.  Funny how technology goes sometimes !!

Thanks again !!

Mark J Culross
KD5RXT

P.S. is there still an interest in including additional games into the SDcard collection ZIPfile ??
14
TinyDuino / Re: WiFi TinyShield, ATWINC1500-MR210B, Firmware Updater
« Last post by tom on November 20, 2018, 03:34:21 PM »
Hi Ben,

This worked perfectly. I could update the firmware to the latest version. Further more, the issue for HTTP communication is also solved!! I am really happy to see my Tinyduino is communicating with my server well. Thank you for your help!

Best regards,
Tom
15
TinyDuino / Re: Video Player with Tinyscreen & MicroSD TinyShield
« Last post by Ben Rose on November 20, 2018, 03:31:00 PM »
We were able to determine a couple things through email about this issue:

1. The TSV converter had an error with 8 bit output! This should be corrected now along with handling GIFs better.
2. The 8 bit/no audio setting needs to be used with TinyDuino example code.

Hopefully anybody else using TinyDuino/TinyScreen can mention if this is working correctly or has issues, then we can update the older tutorials to point to the new one.
16
TinyDuino / Re: WiFi TinyShield, ATWINC1500-MR210B, Firmware Updater
« Last post by Ben Rose on November 20, 2018, 02:56:25 PM »
Hi Tom,

We're hearing about some issues with the firmware updater on TinyDuino. This is due to the 115200 baud rate chosen for the IDE tool. This rate is fairly inaccurate on 8MHz Arduino boards, and will often work for sending text(ASCII characters) but can result in errors when sending lots of binary data. I was able to modify the firmware updater tool and change the baud to 250000 which does not have the large error rate. You can add this version by creating a ‘tools’ folder inside your Arduino sketch folder(similar to the ‘libraries’ folder) and unzipping this file inside it:
 
https://cdn.shopify.com/s/files/1/1125/2198/files/WiFi101.zip?11858682129905299368
 
Then, in the ‘FirmwareUpdater.ino’ example, replace:
 
Serial.begin(115200);
 
With:
 
WiFi.setPins(8,2,A3,-1);
Serial.begin(250000);
 
Under ‘Tools’ in the IDE, you should see two different ‘WiFi101 Firmware Updater’ tools, the new one should be the second one, and you should be able to get a positive result when testing the connection. Let me know what you see.

Hopefully the update fixes your other problem- there are some bugfixes that could be relevant.

Thanks,
Ben
17
TinyDuino / Re: GPS Tracker
« Last post by Ben Rose on November 20, 2018, 02:45:48 PM »
Hi- sorry about the problem! Can you test with the latest GPS code example at: https://cdn.shopify.com/s/files/1/1125/2198/files/GPSLogger.zip?8357215698240317466 and let me know if it initializes properly?

Thanks,
Ben
18
General Discussion / Re: volume not consistent when using tone()
« Last post by Ben Rose on November 20, 2018, 02:35:43 PM »
Sorry about the long delay! I did figure out what's going on though- the DAC is still running! So the digital pin driver is fighting the analog output and you get 'something' in between. You should be able to use:

DAC->CTRLA.bit.ENABLE = 0x00; // Disable DAC

To ensure the DAC is off. Alternatively, it looks like you can use the Arduino analogRead(A0) which will turn the DAC off as well. Let me know if you still have issues.
19
Tiny Arcade / Re: Send voltage to expansion shield pin?
« Last post by Ben Rose on November 20, 2018, 02:09:44 PM »
Hi- VCC is the best way to power external sensor boards. On TinyScreen+ it will output 3.3V when TinyScreen+ is switched on. You should be able to connect this to either the VIN or 3VO(bypassing the boards 3.3V regulator) on the Adafruit board, along with ground and necessary IO pins.
20
General Discussion / Re: GPS shield
« Last post by Mottyhan on November 19, 2018, 04:53:21 PM »
Hi,

I am trying to do it myself also and I am curious to know if this has been resolved or if there is a solution to obtaining the 5Hz update rate on the GPS shield?

Thanks
Pages: 1 [2] 3 4 ... 10