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

Pages: [1] 2 3
1
TinyDuino / Re: Analog read rate, TinyZero slower than TinyDuino ...??
« 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

2
TinyDuino / Re: Conflict between SD card and Accelerometer interface?
« on: October 31, 2019, 02:13:34 PM »
Hello,

I put together a little example using the Accelerometer TinyShield and the SD Card TinyShield. I am unsure what example you are using and put together, so I can't help you much further than writing something else. If you would like some more help, you can post the program you put together with comments detailing where the issue is you are encountering. Otherwise, the example I'm attaching compiles, uploads, and I am able to see Accelerometer output in the Serial Monitor.

Best,
Réna

3
TinyDuino / Re: Conflict between SD card and Accelerometer interface?
« on: October 31, 2019, 10:50:28 AM »
Hello,

I'm not sure what issue you're running into with compatibility! There is a helpful matrix that shows the usability of TinyShields with each other if that would be helpful for future projects: https://learn.tinycircuits.com/TinyDuino_Overview/#tinyshield-compatibility

As for the current issue of the SD Card TinyShild and Accelerometer TinyShield, there is a Fitness Tracker program that uses both of those boards successfully. It may help to review the code included in that tutorial: https://tinycircuits.com/blogs/learn/custom-fitness-tracker

The smaller accelerometer board in this tutorial uses the same pins as the larger one, so it should work the same way with what you have.

Let me know if that helps!

Best,
Réna

4
Tiny Arcade / Re: Radical Racing: Rivalry Refueled
« on: October 28, 2019, 01:12:54 PM »
Today's challenge: learning how to shift gears so I don't blow up my engine ;o

https://www.driving-test-success.com/gears/gearinfo.htm

5
TinyDuino / Re: Using TinyZero with MicroSD shield
« on: October 25, 2019, 01:00:08 PM »
Hello,

First off, the reason you're not seeing any Serial Monitor data from the TinyZero when using the program you attached is because you need to use the SerialUSB object rather than Serial to be compatible with the SAMD21 processor.

The MicroSD TinyShield examples on the Learn page (https://learn.tinycircuits.com/Memory/MicroSD_TinyShield_Tutorial/) make them usable for both the TinyZero and TinyDuino with the following code:

Code: [Select]
// Make program compatible for all TinyCircuits processor boards
#if defined(ARDUINO_ARCH_SAMD)
  #define SerialMonitor SerialUSB
#else
  #define SerialMonitor Serial
#endif

You can use the examples on that page which already work. If you want to adapt the code you attached, the SPI pins are listed on the Learn Page under Technical Details, as well as on the product page:

SPI Interface used:
10 - CS: This signal SPI chip select for the microSD card
11 - SCLK: This signal is the serial SPI clock out of the TinyDuino and into the microSD card.
12 - MISO: This signal is the serial SPI data out of the microSD card and into the TinyDuino.
13 - MOSI: This signal is the serial SPI data out of the TinyDuino and into the microSD card.

Hope that helps!

Best,

Réna

6
TinyDuino / Re: "Battery voltage
« on: October 24, 2019, 02:33:48 PM »
I didn't receive that error when using a Rev4 TinyScreen+. Is there any more information you can give on the error?

7
TinyDuino / Re: TinyScreen Shutdown
« on: October 24, 2019, 02:32:59 PM »
There is a great library to put boards using the SAMD21 into sleepmode that may assist you with the TinyScreen+. I would advise you to look at the SleepRTCAlarm example located within this library: https://github.com/arduino-libraries/RTCZero

8
TinyDuino / Re: Tinycircuits using the servo for wheels.
« on: October 24, 2019, 02:24:33 PM »
Hello ccaian,

I am sad to say that the Servo TinyShield is meant for Servo Motors that have 3-pin connectors rather than a 200:1 gear reduction motor that has a 2-pin connector. So you will not be able to control a gear reduction motor using the Servo TinyShield. For the Servo TinyShield, you would want Servo Motors like these 3 depending on your project needs:

If you want to use the 200:1 Gear Reduction motors, you can still buy the Dual Motor TinyShield online with the connectors attached as inconvenient as that may be, or you could potentially ask your local supplier to get new stock: https://tinycircuits.com/collections/motors/products/dual-motor-tinyshield?variant=4850373492777

So depending on what you want your robot to do, you should look into the capabilities of the servos, and motors separately to decide what you need. And make sure that once you have the correct hardware, you have a battery to plug into the Servo TinyShield or Dual Motor TinyShield since the motors require their own power source even when plugged in with micro USB.

**Small disclaimer: you could potentially plug the gear reduction motors into the Servo TinyShield and the motors would spin if inserted correctly to the two right-most pins, but you would not be able to control them, they would just simply be spin when plugged in.** 

Let me know if you have any other questions!

Best,

Réna

9
General Discussion / Re: How to determine the width of a float number
« on: October 17, 2019, 01:26:36 PM »
Hey John,

A simple workaround could be converting the floating number to a char: https://stackoverflow.com/questions/2988791/converting-float-to-char

So you can continue using the same function.

Hope that works for you!

-Réna

10
TinyDuino / Re: TinyScreen+ and GPS module
« on: October 17, 2019, 01:21:41 PM »
There is no direct example with the TinyScreen+ to display text, but the example on the Learn page should work with the TinyScreen+ just fine: https://learn.tinycircuits.com/Sensors/GPS_TinyShield_Tutorial/

Is there something specific you're trying to accomplish?

-Réna

11
Hi Rod,

When I removed the STBLE library, I got an error on "STBLE.h" not existing.

I went through the tutorial and added the library the same way it mentions and I didn't run into that error. I tried it with a TinyZero and a TinyDuino. Are you sure the library was downloaded correctly, and that you are programming the board correctly?

If you are still running into this issue, please send more information including what hardware you're using!

Thank you,

Réna




12
Hello jgavlik,

TinyScreen+'s should most definitely work with the SerialUSB command. It's likely that you need to download a board package in order to properly interface with your TinyScreen+. So that under the Tools tab you should be able to select your "Board:" as "TinyScreen+" and your "Port: " as "COMXX (TinyScreen+)"

Double-check the getting started tutorial here to make sure you have all the necessary software: https://learn.tinycircuits.com/Processors/TinyScreen+_Setup_Tutorial/

I hope that helps!

-Réna

13
TinyDuino / Re: Video player title
« on: September 09, 2019, 12:44:08 PM »
Hey Manfred!

Yes there is a program you can upload to loop the videos without seeing the titles of each video. The way it works, it will play all the videos in the order they're on the SD Card as soon as the processor switch is flipped to ON.

We'll be putting this program in a more permanent spot on our website in the future, but for now I attached it to this comment!

Cheers,

Laveréna

14
No problem! Good luck with your project!

15
Hello Kyle,
 
You should be able to use a Proto Board TinyShield and apply +5V and GND in order to charge the TinyZero or TinyScreen+. The pins you'll need to solder are well documented in the reel of pictures on the product page: https://tinycircuits.com/collections/proto-boards/products/proto-board-tinyshield?variant=14984618823

Thank you,

Laveréna

Pages: [1] 2 3