Recent Posts

91
Thumby / Re: Thumby Code Editor Issues
« Last post by Jason on April 25, 2022, 10:12:15 AM »
These are issues that we are working on addressing. In the meantime,

  • Use Utilities -> Widgets -> + Editor (this should be a simple + icon in the future)
  • Make sure to check the white emulation box on the sprite data file and that it's path is where you expect (hover over the file tab)
  • Bitmap Builder and the sprite importer will likely be combined at some point
  • You can write to a file in the emulator but it will not be there the next time it starts. You can print to the shell from hardware or the emulator using print() (a standard Python function)
92
Thumby / Re: Beta release: Silicon8, a CHIP-8 interpreter
« Last post by Timendus on April 25, 2022, 05:10:02 AM »
Like I posted in Discord yesterday evening: I finally received my Thumbies, and managed to fix the bug in my CHIP-8 interpreter. It's spinning like a kitten now with all fifteen supplied games.

If you're feeling adventurous, instructions to install are here: https://github.com/Timendus/thumby-silicon8


93
Thumby / Thumby Code Editor Issues
« Last post by DarkGizmo on April 24, 2022, 11:26:54 PM »
Hello everyone,

I haven't yet received my thumby, but I am already starting a project in the Thumby Code Editor

It's a great tool but I  have some questions that I couldn't find any answer online
I'm still learning Python after years of using C++, so maybe some of these are related to my lack of Python knowledge

  • I want to create a new file in my project, but can't seem to be able to add a new file, when  I import a file from PC, it switches the current tab to the new file, so I lose this particular file. Am I missing something? I have a work-around, but it is clearly a weird and convoluted way to add a new file to the project. I have a feeling it might be due to the fact that I work Thumby-less
  • I rather like working with binary files for my sprite data, but for some reason sometime the editor seems to lose a reference to one of my .bin file. I get "OSError: [Errno 2] ENOENT" on a line where I load the file. I made sure the file was there with the emulated check and it was. If I remove the line loading the file everything works and then later I can bring it back and it works. Then sometime later it might stop working with no change around this particular line or file or logic... I tried refreshing the Code Editor, but it didn't fix it
  • The import sprite tool is great and that's mostly what I used to create my sprite binary files. The Bitmap Builder is a quick and easy tool to use, but it seems both can't be used together and that's a shame. It'd be great to be able to import binary files, modify the data and then re-export in binary. Is that something that's being considered?
  • I might be missing something, but I haven't seen anything about outputting in the shell in the Code Editor? Without a debugger outputting to shell would be great, I've seen somewhere that you can write to file, but without an actual Thumby that doesn't seem to be feasible?

Thank you
I'm already having a great time and haven't received my Thumby yet. Can't wait to see how small it actually is!
94
Hi Réna,

I am also trying to work with the onboard RTC on my TinyZero .
You mention here that "I attached a zip file of the program that you can use with the TinyZero to work with the onboard RTC" .
I don't see it here, can I get a copy?

Thank you!

Linda

"We have been meaning to publish a more general RTCZero library example tutorial with our products using the SAMD21 processor (TinyZero, TinyScreen+, RobotZero, WirelingZero), but the only current published tutorial is the extended TinyScreen+ one that includes more about sleep mode and interrupts (very popular topic): https://tinycircuits.com/blogs/learn/tinyscreen-external-interrupt-sleep-mode

On the bright side, we have the program ready to go for testing. I attached a zip file of the program that you can use with the TinyZero to work with the onboard RTC. You will just need to download that program and install the RTCZero library: https://www.arduino.cc/reference/en/libraries/rtczero/

Let me know how the program works for you!"
95
General Discussion / Re: TinyZero start-up
« Last post by lennevia on April 21, 2022, 11:48:20 AM »
No, it shouldn't have any other effects for reading the sensors. It's common to use this line for projects that include motors or moving parts since the length of time to upload the code can vary and it's not ideal to have a suddenly moving robot walking off your desk. For those cases, it's nice to have the requirement of opening the Serial Monitor before the rest of the code executes. It is used in a lot of our examples because of cases like that, but it's not always necessary.
96
General Discussion / Re: TinyZero start-up
« Last post by lpcard on April 20, 2022, 09:46:20 PM »
Hello,

This line does indeed appear:

  SerialMonitorInterface.begin(9600);
  while(!SerialMonitorInterface);

Can this line simply be removed? What is its purpose, and what additional effects will its removal have?

Thank you very much for your assistance. I am pretty new to Arduino in general and Tiny Circuits in particular but there seems to be a lot of potential in them.

EDIT: Removing the line "while(!SerialMonitorInterface);" does indeed allow the stack to boot up and show the display without being connected, thank you. Will it have any other effects?
97
General Discussion / Re: TinyZero start-up
« Last post by lennevia on April 20, 2022, 06:23:22 PM »
Hi there,

Some of our example programs have a line like this in the setup() loop:

Code: [Select]
while(!SerialMonitor);
This line, or similar lines that do the same thing, will block the program until the Serial Monitor is opened. This will make everything seem broken when disconnected or when the code is uploaded and the serial monitor isn't open since nothing will work.

I hope that points you in the right direction for a solution. Let me know! If not, can you attach your code file(s) to a message so I can take a look at what's going on?

Thanks!
Réna
98
General Discussion / Re: tinyscreen+ stuck in boot loader mode
« Last post by lennevia on April 20, 2022, 06:18:55 PM »
Hello,

When you reload the code, is the TinyScreen+ by itself or are all the components in the fitness tracker project attached? I would recommend trying to reprogram the board by itself. You can try the basic program mentioned in the getting started tutorial with this since I think the fitness program will fail to upload without all the right hardware: https://learn.tinycircuits.com/Processors/TinyScreen%2B_Setup_Tutorial/

Let me know if that works for you!

Cheers,
Réna
99
General Discussion / TinyZero start-up
« Last post by lpcard on April 20, 2022, 01:32:49 PM »
Hello all,

I have a project going using a TinyZero processor, combo sensor board, wireling connect board with temp/press/humidity/VOC wireling and a TinyScreen on top powered by a 290MA battery.  I have the code set up to read pressure, temperature and humidity on all three sensors (pressure and temp on the combo board, temp and humidity on the combo board, and temp, pressure and humidity on the wireling board). The display shows the internal (combo) board readings in metric units for 5 seconds, then in standard units for 5 seconds, then repeats for the external (wireling) sensor.

Everything works great, I can disconnect it from the computer and run it on the battery...until I power it off. When I turn it back on using the battery it won't boot up. Connecting it to the computer, pulling up the Arduino IDE (regardless of the sketch that appears, nothing gets downloaded) and opening the serial monitor boots it right up, and then I can disconnect it and it runs just fine on the battery.
100
General Discussion / tinyscreen+ stuck in boot loader mode
« Last post by hoguech on April 19, 2022, 05:23:40 PM »
Hi all,

I had the fitness tracker app working with the tinyscreen+ board but the last time i pulled it out, the screen said it was in bootloader mode. I've tried to reset using the instructions provided (hold button in + turn on) but nothing seems to fix it. I am able to connect to the board & successfully upload the fitness tracker program, but the screen display never changes from the bootloader mode message.

Is there some other way to reset it or debug the board to find out what the issues is?

Thx.
SMF spam blocked by CleanTalk