Recent Posts

1
Please put some sort of information on how you made or created the tiny robot from your YouTube channel to let others who may have a interest in recreation there own version some sort of starting point. Many people would favor remaking it and customizing it to become something marvelous.
2
Hi,

Can I get a list of the hardware you are using?

So far I can gather/guess that you have
  • Tinyscreen OLED Tinyshield
  • Adapter Wireling Tinyshield
  • Moisture Sensor Wireling

What processor board are using? You mention "Arduino Pro or Pro Mini" which I assume means you are using the TinyDuino. If that is the case, this will take more investigation.

Anyway, make sure to follow your processor board's tutorial: https://learn.tinycircuits.com/Processors/TinyDuino_Setup_Tutorial/ (use the left panel to find your processor board) so that all relevant libraries and board files get installed.

If you want, follow the tutorial here https://tinycircuits.com/blogs/learn/soil-moisture-sensor-animation (should be a copy from the link you provided) using this example https://github.com/TinyCircuits/TinyCircuits-Main-Site/raw/master/Soil-Moisture-Monitor/program/Soil-Moisture-Monitoring_example.zip project.

Let me know what processor board you have,

Thanks
3
Hello,

I'm working on my first project: Soil Moisture Animation https://tinycircuits.hackster.io/kburns/moisture-sensor-wireling-animation-147dbc

I can't compile and upload any code cause Arduino 1.8.16 is not configured to support TinyScreen.  The only board available is TinyScreen+.  I don't have that one. I have the other board.

Here's the error:
Set binary mode

No device found on COM2

Send auto-baud

Set binary mode

An error occurred while uploading the sketch




Arduino: 1.8.16 (Windows 10), Board:TinyScreen+, Default


I've seen another forum indicate to use "Arduino Pro or Pro Mini."

But I get the following error:
arduino_build_400532\libraries\Soil-Moisture-Monitoring_example\TinyAnimation.cpp.o (symbol from plugin): In function `PercentBarHorizontal::tick(float)':
(.text+0x0): multiple definition of `FallDownSprite::tick()'
\arduino_build_400532\sketch\TinyAnimation.cpp.o (symbol from plugin): (.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status


status 1
Error compiling for board Arduino Pro or Pro Mini.



Any and all help would truly be appreciated. Thank you!
4
TinyDuino Processors & TinyShields / Re: Serial String Input
« Last post by lennevia on September 16, 2021, 03:10:30 PM »
Bullwinkle,

I am glad you were able to solve the problem! Sorry for missing the update!
5
TinyDuino Processors & TinyShields / Re: Serial String Input
« Last post by Bullwinkle on September 16, 2021, 10:23:47 AM »
Hi Rena,
   Please "refresh" this topic/post - I updated it 20 mins before you replied :)
readStringUntil('\n') works just fine.
Thanks for the reply!
Jim
6
TinyDuino Processors & TinyShields / Re: Serial String Input
« Last post by lennevia on September 16, 2021, 10:09:54 AM »
Hello Bullwinkle,

Could you attach your program's file? Should be faster to help you debug that way!

Did you try Serial.readString before trying the Until version? https://www.arduino.cc/reference/en/language/functions/communication/serial/readstring/

My last quick tip is to check that your baud rate in the code matches your baud rate in the serial monitor. Let me know if that helps!

Best,
Réna
7
TinyDuino Processors & TinyShields / Serial String Input
« Last post by Bullwinkle on September 16, 2021, 08:37:41 AM »
UPDATE! Now I *am* embarassed!  I myself had posted a solution / workaround to this problem 3 Years ago! LOL!!   See the post, "Serial.read baud-rate issues..." in this forum.  In a nutshell, as Ben Rose pointed out, the processor just can't accurately do high baud rates (at least on Input).
So, the workaround is: USE 9600 Baud!   I just tested it, and it's working!
-------------
Hi y'all!  This question is embarassingly simple, but I'm stumped!  I'm talking to TinyDuino via USB Serial connection 115200 baud.  I send single-character "commands" from a Windows program to the tiny, pull them off the wire in the main loop() with:
  if (Serial.available() > 0)
      processIncomingByte(Serial.read());
 and all is well.  Works great, no issues.   I've decided to expand my "protocol" a bit, to consist of multi-character "strings", e.g. - "DELAY 500", etc.  So I have tried this:
String str; // module declaration
in loop():
   if (Serial.available() > 0)
   {
     str = Serial.readStringUntil('\n');
     Serial.print("str = "); Serial.println(str);
     // also tried:  Serial.print("str = "); Serial.println(str.c_str());
   }
An example of the result (from the input, "M1234") is:
str = L⸮⸮
   I've also tried using char buffer[32], and appending single chars to that buffer, with a check for the '\n'.  Similar result.
What the heck am I missing here?  This ought to be falling-off-a-rock simple!
This doesn't work even with the Arduino serial monitor either; tho single-char inputs are fine, and all println outputs from the tiny.
  Any thoughts?
8
General Discussion / Re: How to expand program storage space?
« Last post by lennevia on August 12, 2021, 04:03:57 PM »
Bertie,

Would you mind posting or direct messaging the program you're using? Or at least the error log?

It will help me help you debug if I can see what you're seeing. What hardware are you using?

Best,
Réna
9
General Discussion / Re: How many Shields can you install?
« Last post by lennevia on August 12, 2021, 03:59:03 PM »
Hello,

There shouldn't be an issue as long as all the shields don't have any conflicting pins. You can check this with the compatibility matrix: https://learn.tinycircuits.com/TinyDuino_Overview/#tinyshield-compatibility

Physically, if you're going to be moving this stack around at all it might help to have a mounting kit between some of the boards: https://tinycircuits.com/collections/components/products/tinyduino-mounting-kit
You could use one mounting kit and space out the components as I have poorly portrayed in the attached image.

Additionally, depending on what boards you plan on using and project goals, it might help to use the Wireling board format instead of TinyShield: https://tinycircuits.com/collections/wirelings

If you want to share more on what boards you want for your project or what the end goal is, I would be happy to recommend any hardware setups that might work better / be cheaper.

Let me know if you run into any questions on compatibility.

Thanks,
Laveréna
10
General Discussion / How many Shields can you install?
« Last post by Biskitman on August 11, 2021, 02:22:34 PM »
Hi,

I was wondering if there is a maximum number of shields that you can install before there are issues? I was planning on installing 7 on a TinyZero, including the GPS shield, the Combined Sensor Shield and the 433MHz Shield.

If there would be an issue with that many, please let me know, as you would be saving me quite a bit of money!

Thanks
SMF spam blocked by CleanTalk