TinyCircuits

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 - Ben Rose

Pages: [1] 2 3 ... 23
1
TinyDuino / Re: TinyZero BLE Codebender
« on: January 28, 2019, 01:48:21 PM »
Sorry- this is confusing. It's the code itself that should support TinyZero, codebender is still AVR based boards only(TinyDuino). For TinyZero you will have to download the code and use the Arduino IDE. We're starting to removed codebender links from tutorials etc to help avoid this issue- it doesn't seem like codebender or Arduino Create will support third party ARM boards.

Thanks,
Ben

2
User Projects / Code Examples / Re: Virtual Pet
« on: January 28, 2019, 01:44:11 PM »
Just to clarify, getting started would just require TinyScreen+, no TinyDuino needed since TinyScreen+ has a built in processor/USB :)

3
Hi- yes, ignoring U2, operation is safe with 5V on the battery input, including R8(1M resistor will pull up to the internal protection diode on AD4). With U2 in place, you should not have problems(it's above 4.2V, so it will not try to charge, but below 6V so it shouldn't cause damage), but the datasheet does not specify operation for this condition(5v on VBAT) so it would be safest to remove it.

Thanks,
Ben

4
Tiny Arcade / Re: Cabinet Art Template
« on: January 28, 2019, 01:04:33 PM »
Sorry! Missed this. Attached the latest cut and graphics outline files. The first file is offset 0.1mm for laser cutting(assuming 0.2mm beam), the second is not. The graphics file can be imported to most vinyl cutter design software etc.

5
TinyDuino / Re: Bluetooth BLE ST shield sketch loop locks up
« on: January 10, 2019, 01:32:08 PM »
Looking through the code, I do see a delay being used in 'moveAllServos'- hard to say exactly how long the delay is(it looks like it's 0 if the servos don't change position but may be 10s or 100s of ms on large changes), but any blocking delay like that should be avoided to keep the main loop running frequently, especially variable delays. Let us know if removing that changes what you are seeing.

Thanks,
Ben

6
General Discussion / Re: volume not consistent when using tone()
« on: November 28, 2018, 11:20:25 AM »
Yep- this was an unusual one.

We are definitely interested in adding your games! I need to go post in one of the Tiny Arcade section topics where you have mentioned the updates.

7
TinyLily / Re: What are the two PWM pins on the Tinilily?
« on: November 28, 2018, 11:16:05 AM »
Sorry this sat so long! Yes, pin 3 is the only easily accessible PWM pin, MOSI/11 is one as well and seems to be labeled correctly in the image!

8
TinyDuino / Re: WiFi TinyShield, ATWINC1500-MR210B, Firmware Updater
« on: November 28, 2018, 11:05:07 AM »
Glad to hear it fixes the HTTP issue as well! We are now updating the firmware here as part of the test procedure.

9
TinyDuino / Re: Serial.read baud-rate issues...
« on: November 28, 2018, 11:00:19 AM »
Just saw this one- For future reference, this is effectively a hardware limitation for the processor. The 8MHz ATmega(any that I've used) have a significant error in the baud rate generation when trying to do 115200. Why does it work one way? The FTDI chipset is 'smarter' and allows for receiving the significant error, but does not apply it back to what it sends to the TinyDuino.

There's another thread referencing the Arduino WiFi firmware updater tool not working. Same issue. I was able to modify the tool to run at 250K baud- much faster, but a rate that the 8MHz processor can generate exactly, so it works fine.

Unfortunately a lot of our older example code used 115200 since it was output only and worked fine. I'm switching things to 9600 as they need updates(when I remember!).

10
TinyDuino / Re: Video Player with Tinyscreen & MicroSD TinyShield
« 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.

11
TinyDuino / Re: WiFi TinyShield, ATWINC1500-MR210B, Firmware Updater
« 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

12
TinyDuino / Re: GPS Tracker
« 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

13
General Discussion / Re: volume not consistent when using tone()
« 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.

14
Tiny Arcade / Re: Send voltage to expansion shield pin?
« 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.

15
General Discussion / Re: volume not consistent when using tone()
« on: October 31, 2018, 11:21:23 AM »
Can you post a really basic test case that results in this behavior? I think I remember seeing this when using tone, but don't remember the cause so I'll have to reinvestigate.

Thanks,
Ben

Pages: [1] 2 3 ... 23