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 ... 25 26 27 28 29 30
391
Hello Steve,

You will just need to comment out the line:

  while(!SerialMonitorInterface)//This will block until the Serial Monitor is opened on TinyScreen+/TinyZero platform

Then the example you have should work without the Serial Monitor (wirelessly)

Best,
Réna

392
Hello,

After some review, it does seem that there might be an issue with the example. We will be looking into this!

In the meantime, there is a simple example attached to this reply for using external interrupts to wake the processor from sleep mode.

Best of luck,

Réna

393
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

394
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

395
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

396
Tiny Arcade & Pocket 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

397
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

398
TinyDuino Processors & TinyShields / 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?

399
TinyDuino Processors & TinyShields / 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

400
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

401
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

402
TinyDuino Processors & TinyShields / 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

403
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




404
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

405
TinyDuino Processors & TinyShields / 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

Pages: 1 ... 25 26 27 28 29 30
SMF spam blocked by CleanTalk