Recent Posts

1
TinyLily / Re: Programming the tinylily directly via avrdude
« Last post by jusp on April 22, 2021, 06:59:58 PM »
This issue is solved with help from @lennevia (thanks!).

The avrdude command that in the end worked for me on the Ubuntu machine that I am using is as follows:

         sudo avrdude -P /dev/ttyUSB0 -v -patmega328p -carduino  -b57600 -D -Uflash:w:a.hex:i

First, the baudrate is important, 115200 does not work.  Second, to get going I had soldered a programming header on the back pads of the tinylily so that I could program it with an SPI- based programmer. After success with that programmer I overwrote, as I usually do, the processor fuses with the settings that I need. This also reverted the prescaling of the system clock that is programmed into fuse settings by which the tinylilies are shipped. But changing the clock prescaling throws off the baudrate settings in the tinylily's bootloader. So be careful with changing the fuses.
Third, the linux port (/dev/ttyUSB0 in the command above) can be identified by the following shell command after plugging in the programmer cable: "dmesg | grep tty"

2
General Discussion / live broadcast on tiny tv?
« Last post by Ashleyg on April 21, 2021, 10:21:48 PM »
Hi I would like to do a live video broadcast from a camera to the tiny tv.  Is this possible? what could I use to do this?
3
General Discussion / Re: Tiny Video Player audio volume control
« Last post by lennevia on April 21, 2021, 08:00:20 PM »
Hello,

You should be able to get around 2-5x the sound by pressing and installing the speaker more firmly. To do this, take off the white sticker and adhere the speaker firmly against a flat surface. It may help to have the Video Player on with a video playing and testing the audio while pressing on the speaker.

Otherwise, there is some volume control and settings that you can play with. The settings menu tutorial is here: https://learn.tinycircuits.com/Kits/TinyTV-Tutorial/

You may also want to try converting videos with higher volume, as the volume level at the time of conversion is the volume level you end up with.

Let me know if that helps!

Thanks,
Réna
4
General Discussion / Tiny Video Player audio volume control
« Last post by Sci-Fi-Guy on April 21, 2021, 02:13:10 PM »
Hello!  I’m brand new to TinyCircuits.  Just got my first kit.  I apologize in advance for the nub questions.  The default volume level on the Tiny Video Player is super low.  You can barely hear things unless you put your ear right to the speaker.  Is volume control on the Tiny Video Player something that can be added?  Or is there a default volume setting in the code that can be set to a higher level?  Thanks.
6
Wirelings / Ambient Light Wireling Lux values are wrong
« Last post by mnrr on April 21, 2021, 01:34:01 AM »
The current code has a bug. The option GAIN_DIVIDE_6 is set to true however gain is set to 16x and those don't go together as already the comments says right at the GAIN_DIVIDE_6 code line.
So that option needs to be set to false.
Then the Lux values are correct. Before the fix they were a magnitude too low.
7
TinyLily / Re: Programming the tinylily directly via avrdude
« Last post by jusp on April 20, 2021, 11:32:12 PM »
Yes, that gets me further. I am running on ubuntu, so COM1 does not exist, so tried the following instead:

sudo avrdude -v -patmega328p -carduino   -b57600 -D -Uflash:w:a.hex:i

This gets into the error "avrdude: ser_open(): can't set attributes for device "/dev/ttyS1": Inappropriate ioctl for device", which seems to mean that I am connecting to the wrong device (/dev/ttyS0). At ;east, I get the same error when explicitly trying to connect to other /dev/ttySnn using option -P.

lsusb lists the miniusb board as follows:

Bus 001 Device 018: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)

How can I find out the proper -D option?





8
TinyLily / Re: Programming the tinylily directly via avrdude
« Last post by lennevia on April 20, 2021, 07:32:14 PM »
Hello,

This is the command that gets run by the Arduino IDE:
avrdude -v -patmega328p -carduino -PCOM1 -b57600 -D -Uflash:w:a.hex:i

You can test this by following this tutorial https://learn.tinycircuits.com/TinyLily/Processor_TinyLily_Tutorial/ and then going to File->Preferences in the Arduino IDE and checking the boxes for “Show verbose output during: compilation upload” in the window that pops up.

Hope that does the trick! Thanks!
9
TinyDuino / Re: How to attach external power switch?
« Last post by lennevia on April 20, 2021, 01:32:57 PM »
Best of luck! I would also recommend a magnifying component, like a helping hand like this one: https://www.amazon.com/Neiko-01902-Adjustable-Magnifying-Alligator/dp/B000P42O3C/ref=asc_df_B000P42O3C/?tag=hyprod-20&linkCode=df0&hvadid=312096335436&hvpos=&hvnetw=g&hvrand=8060824884059595120&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9060445&hvtargid=pla-448870101576&psc=1

They are sold everywhere and there are many versions, so the above link is just a suggestion with a picture.
10
TinyDuino / Re: A0 works as analog input, but why doesn't A5 seem to?
« Last post by lennevia on April 20, 2021, 12:29:45 PM »
Hello there,

A4 and A5 are also the pins used for I2C devices (A4-SDA, A5-SCL), which can normally be used as regular analog pins when no I2C devices are being interfaced, but the TinyZero has the option of an onboard accelerometer that relies on I2C. It is likely you have an accelerometer populated on your board that is interfering with your ability to use pin A5 for regular analog. You can check this with the pictures on the product page that show where the small black chip is: https://tinycircuits.com/collections/processors/products/tinyzero-processor?variant=21137366515796

If you click between the Not Present and Present options, it should be clear where the part is.

Let me know if that seems to be the case!

Thanks,
Réna
SMF spam blocked by CleanTalk