Recent posts

#21
General Discussion / Re: Issue with TinyCircuit Ard...
Last post by ardenthop - September 23, 2025, 03:55:07 AM
Quote from: smcdouall on August 29, 2025, 04:12:04 PMHi, I'm getting an error with the code here when using the code in this tutorial https://tinycircuits.com/blogs/learn/arduino-speedometer-hall-sensor-magnet. unblocked games

The result from hall.readMag() in the TinyCircuits_A1454.cpp is always -1. This is because the x and y values in the function are also -1. This is regardless of the magnets position to the sensor. I have tried swapping out various sensors/cables/Arduinos and even tried it on other computers and it still doesn't work. Around two weeks ago this code did work as intended. I am wondering if there has been an update to one of the libraries that has caused something to no longer work?

I tried ChatGPT a little and it found that running the following:

byte err = Wire.endTransmission();
Serial.print("I2C error: ");
Serial.println(err);

Resulted in err = 2 which apparently means "2: Received NACK on transmit of address".

This apparently means the board sent the sensor's I²C address, but the sensor didn't acknowledge it (NACKed it)

It also suggested trying an I²C scan to see what devices it could find. The only one it could find was 0x70 which I believe is the TinyCircuits Wireling TinyShield.

Any help would be greatly appreciated. This code was working before and now doesn't when I've tried to upload it to other Arduinos/the same original one.
It looks like the hall sensor isn't being seen on the I²C bus. The err=2 means it's not acknowledging. Make sure you're using Wireling.begin() and Wireling.selectPort(port) before talking to it, since only the mux (0x70) shows up until a port is enabled. If it still doesn't show after that, either the library changed recently or the sensor module itself has failed.
#22
Thumby / Thumby won’t turn on
Last post by LouisHollll - September 20, 2025, 06:10:31 PM
I have had my thumby for about 9 months but I don't use it for a while and now it won't turn on. I charged it overnight and the furthest I have got is the logo appears but I can no longer have it show up in the code editor, the furthest I can get is have it make a noise when connecting to windows. 99% of the time it will just light up orange on the bottom and have nothing on the screen.
#23
TinyTV & Tiny Video Player / Re: more detailed instructions...
Last post by ZexMarquies01 - September 17, 2025, 03:12:11 PM
Ok, So I got it reading the libraries,  But when I click Verify/compile,  I get an error saying that SPI_DIVER_SELECT in SdFatConfig.h must be set to 3.   

But it is.  I found that line, and it IS set to 3. 

I'm totally stumped on this. 
#24
General Discussion / Re: Issue with TinyCircuit Ard...
Last post by DorothyJames - September 17, 2025, 04:37:39 AM
Quote from: smcdouall on September 01, 2025, 08:30:17 AMSolved it. Looks like the issue was I was using the digital hall sensors instead of the analogue ones. Looking on this https://learn.tinycircuits.com/Wirelings/Hall-Effect_Wireling_Tutorial/ you can see the two sensors do vary slightly (the analogue one has a larger chip). Pacman 30th Anniversary

Just posting my reply here in case this helps anyone else out in the future.

Seeing "Received NACK on transmit of address" is frustrating! Have you tried shortening your I²C wires? I had a similar issue once, and simply using shorter, higher-quality wires solved the problem, seemingly addressing some signal degradation.

Could signal degradation be the issue?
#25
General Discussion / Re: Lipo battery
Last post by DorothyJames - September 17, 2025, 04:35:50 AM
Having trouble finding the right battery too? I ordered some online that claimed to be compatible, but the connector was totally wrong! I ended up going to a local electronics repair shop and they hooked me up with the perfect one. Might be worth a try!
#26
TinyDuino Processors & TinyShields / Re: How to Measure TinyZero Ba...
Last post by rafaelakutch - September 17, 2025, 02:01:32 AM
Quote from: bibletech55 on April 07, 2025, 08:02:17 PMHi there!

I have a TinyZero connected to a small LiPo battery. I would like to read the current capacity of the battery to the Serial Monitor. Since the board is based off of the Arduino Zero (and by extension, the MKR Zero), I sought to read the value of ADC_BATTERY and convert this value to my voltage reading. The following tutorial shows how to measure battery voltage using an MKR Zero. (https://projecthub.arduino.cc/Arduino_Genuino/mkr-zero-read-battery-voltage-e31f42)
Sprunki Game
When verifying the code for the TinyZero, I receive an error that tells me that ADC_BATTERY is not defined in this scope. However, if I verify the exact same code for an MKR Zero, I receive no compilation errors. Since they use the same processor (SAMD21), wouldn't both boards have an ADC_BATTERY pin, and potentially be able to use ADC_BATTERY the same way?

Thank you for any help!
ADC_BATTERY is not a SAMD21 hardware feature but a board variant alias. MKR boards define ADC_BATTERY in their variant so analogRead(ADC_BATTERY) works. TinyZero's variant does not expose ADC_BATTERY so the symbol is undefined. Fix it by checking the TinyZero schematic to find the ADC pin used for battery sense and then use analogRead(thatPin) or add a simple resistor divider to a free analog pin and read that. See MKR variant examples and TinyZero docs for the pin/schematic references.
#27
General Discussion / Re: Lipo battery
Last post by jonesnatelye - September 16, 2025, 11:40:39 PM
Quote from: Bonk83 on July 18, 2025, 10:43:28 PMI'm having trouble finding a battery like this I ordered some from Amazon and they were too big the connecter is flat on top where can I find one that will work
Geometry Dash

Measure the battery dimensions and note the voltage and polarity, then identify the connector type: a small rectangular plug is usually JST or Molex, a flat metal on top is likely a solder tab cell. Search by device model or use keywords like 'replacement battery JST connector', 'battery with solder tabs' or 'flat top cell'. Check specialist sellers such as Adafruit, SparkFun, BatteryJunction, BatterySpace, DigiKey or Mouser and compare photos and specs before ordering.
#28
Thumby / Re: Original Thumby... In Colo...
Last post by terada - September 14, 2025, 01:47:20 AM
Wow, this looks awesome.
Is the colored Doom source code available somewhere?

Oh, it was on your github already :-)
https://github.com/AncientJames/rp2040-doom
#29
Thumby / Re: New Thumb color out of the...
Last post by terada - September 14, 2025, 01:45:52 AM
Mine had 12 games preloaded.
#30
Thumby / Original Thumby... In Color
Last post by AncientJames - September 12, 2025, 12:36:04 AM
I spotted these little colour screens on AliExpress and thought they looked suspiciously similar to the mono screen in the original Thumby. So I ordered a few...

SMF spam blocked by CleanTalk