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 ... 17 18 19 20 21 ... 30
271
TinyTV & Tiny Video Player / Re: open source TSV converter?
« on: March 30, 2021, 11:22:41 AM »
The error could come up for many reasons. You can try to post your reply in an incognito browser, or perhaps there was a symbol or other banned behavior that was included in the discussion post.

272
TinyTV & Tiny Video Player / Re: open source TSV converter?
« on: March 29, 2021, 02:31:08 PM »
Hello,

There is a source python file for the TSV Converter. It is attached. It was not previously posted on GitHub since the Windows and Mac apps are all that most people need, but I will make sure it gets added. All of our software is open-source of course, we just missed getting this posted somewhere. 

You should be able to run the python file (dependent on python 2), but do not use the system theme, and you will need to have a copy of FFmpeg to get it working properly. The TSVConverter is mostly a UI wrapper for FFmpeg.

A .tsv file can be an mp4, gif, or converted image

Hope that helps!

Réna

273
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 19, 2021, 10:29:35 AM »
If you wanted the fade effect to move faster, you can decrease the delay. It looks like you have it at 50ms in your program.

274
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 18, 2021, 07:15:42 PM »
Can you verify you are using the exact Arduino example for pin 9 that I included above?

The program you included before differed from the Arduino example so I am unable to help you further without knowing what complete code you are using.

To clarify, the loop() in the Arduino program loops over and over on the TinyDuino, so the first line of the code snippet you included " int brightness = 0; " initializes and sets the brightness variable to zero on every loop iteration. This is likely the problem. The brightness variable, as shown in the Arduino example I included, needs to be a global variable outside of the loop() function in order to be usable between loop iterations.

275
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 18, 2021, 06:57:25 PM »
The messy wiring on the ground pin could be shorting the gnd to a voltage pin right next to it. What LED are you using?

Quote
ALL of the LED's work independently,

Are you saying all of your LEDs have been tested and work with the pins you are programming?

Quote
I tried pins 3, 5, 6, and 9 - and none had any effect.

Does this mean that you edited and uploaded the program for each pin as you changed your hardware configuration? Are you uploading to the correct TinyDuino pin? Do you get a "Done uploading." message each time you upload the program?

276
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 18, 2021, 06:14:41 PM »
Send a picture of your hardware layout to verify the correct pin connections. I tested the example from Arduino and was able to get the fading behavior, picture attached of pin connections using jumper cables and pin 9.

277
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 18, 2021, 05:17:13 PM »
You said that pins IO3, IO5, IO6, IO9, SS (IO10), MOSI (IO11) are PWM; I'm assuming you're referring to the pins marked 3, 5, 6, 9, SS  and MOSI; I have the LED connected to pin 9, but it does NOT do anything at all.

You typed pin 9 in your recent comment.

Is your LED facing the correct direction? I recommend trying the exact program and pin layout from the Arduino tutorial before making any edits or trying other pins so that you can make sure you are using a working program and working layout.

278
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 18, 2021, 05:03:08 PM »
You're not showing all of your program, so I can't be sure, but it looks like you are programming pin 6 instead of the pin 9 with your LED.

I recommend trying the Fade example by Arduino:

Code: [Select]
/*
  Fade

  This example shows how to fade an LED on pin 9 using the analogWrite()
  function.

  The analogWrite() function uses PWM, so if you want to change the pin you're
  using, be sure to use another PWM capable pin. On most Arduino, the PWM pins
  are identified with a "~" sign, like ~3, ~5, ~6, ~9, ~10 and ~11.

  This example code is in the public domain.

  http://www.arduino.cc/en/Tutorial/Fade
*/

int led = 9;           // the PWM pin the LED is attached to
int brightness = 0;    // how bright the LED is
int fadeAmount = 5;    // how many points to fade the LED by

// the setup routine runs once when you press reset:
void setup() {
  // declare pin 9 to be an output:
  pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  // set the brightness of pin 9:
  analogWrite(led, brightness);

  // change the brightness for next time through the loop:
  brightness = brightness + fadeAmount;

  // reverse the direction of the fading at the ends of the fade:
  if (brightness <= 0 || brightness >= 255) {
    fadeAmount = -fadeAmount;
  }
  // wait for 30 milliseconds to see the dimming effect
  delay(30);
}

279
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 18, 2021, 03:36:18 PM »
On the TinyDuino Platform page, it lists: Pins IO3, IO5, IO6, IO9, SS (IO10), MOSI (IO11): These pins can provide an 8-bit PWM.

The page: https://tinycircuits.com/pages/tinyduino-overview

You can also use a traditional Arduino Uno pinout diagram, as seen here: https://content.arduino.cc/assets/Pinout-UNOrev3_latest.pdf (The PWM pins have the ~ symbol next to the pin numbers.)

280
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 18, 2021, 02:20:20 PM »
You will need to use a PWM pin.

The Arduino IDE comes with a Fade Example built-in. I included a screenshot of how to navigate to the example using the File menu. The Arduino standard libraries, examples, and forums are all great places to learn about programming with Arduino. Since the TinyDuino uses the same processor, the programming part is all the same for the Arduino Uno.

Fade example tutorial: https://www.arduino.cc/en/Tutorial/BuiltInExamples/Fade
Arduino forum: https://forum.arduino.cc/

281
TinyDuino Processors & TinyShields / Re: Unknown problem with sketch
« on: March 17, 2021, 04:23:26 PM »
Glad to hear you were able to get the board programmed.

Is it possible that when inserting wires into the Proto Terminal Block TinyShield that you didn't tighten the screw enough? This would be the likely culprit for erratic LED behavior.

It is also possible to misread the pin labels on the board since the silkscreen font is tiny. Pin 4 is a corner pin. This is also different from pin A4. Is it possible the LED wired up is in the wrong terminal input?

Best,
Réna

282
TinyDuino Processors & TinyShields / Re: USB port not detected
« on: March 17, 2021, 11:54:59 AM »
It is possible that the USB Cable is still not correct. A new COM# should show up when the TinyDuino power switch is ON (it may help to double-check this), and when the cable is working. You can check that the cable is working by opening the Device Manager and plugging and unplugging the device, as seen here: https://learn.tinycircuits.com/Help/Port_Trouble_Tutorial/

On Windows 10, you should not need to download any drivers - separate downloadable drivers are only noted for Windows 7 users in the TinyDuino tutorial.

You should not need to remove the device on COM3 if you have more USB ports to plug the TinyDuino into. From the Arduino IDE Tools menu, you will need to manually select the correct port to program the TinyDuino. If no other COM# is showing up, you can try unplugging the Prusa device and using that port instead.

To test that a Micro USB cable had all the data wire connections necessary to use with an Arduino device, you would need to verify that the cable can transfer data. So testing the cable with a phone or camera that is able to transfer data, like pictures, would be a good test.

Additionally, an LED should come on and blink green (I believe this is the code that TinyDuino's ship with), and that would not help determine if the cable is correct. You could also plug in a battery while the TinyDuino is plugged in and an amber LED would light up to show that the battery is charging.

I hope that helps!

Réna

283
TinyDuino Processors & TinyShields / Re: USB port not detected
« on: March 16, 2021, 04:26:48 PM »
Hello,

Are you able to see a COM# in your Device Manager when you plug in and unplug the device? If a new COM# port isn't showing up when you plug the unit in, either the cable does not include the necessary data wires for programming, or the TinyDuino power switch is not turned to ON.


As for the drivers, are you using Windows 7?

Let me know! Thanks.
Réna

284
TinyTV & Tiny Video Player / Re: TSV Video conversion issues
« on: March 11, 2021, 10:22:15 AM »
Sounds like a cool project!

We would love to see it when you are ready to show it off!

285
Hello,

That error would mean you are missing the file mentioned. The file in question is likely from this library: https://github.com/PaulStoffregen/RadioHead/tree/master/RHutil

It may help to select the correct processor (TinyDuino) in the tools menu for compilation.

Another thing worth mentioning - the Motor x4 board in that tutorial was discontinued in favor of the Dual Motor TinyShield: https://tinycircuits.com/products/dual-motor-tinyshield
The Joystick TinyShield was also discontinued due to difficulty manufacturing.

Let me know if that helps!
Réna


Pages: 1 ... 17 18 19 20 21 ... 30
SMF spam blocked by CleanTalk