Recent Posts

TinyDuino / Re: Calibrating ASD2612 9 Axis IMU
« Last post by lennevia on May 26, 2020, 12:23:35 PM »
Hello Andy,

Thanks for sharing your findings!

Hope it helps others.

Thank you!

TinyDuino / Re: Calibrating ASD2612 9 Axis IMU
« Last post by andy1989 on May 25, 2020, 02:57:46 PM »
Hello Réna,

I think I have solved the problem.  I found this link - which explains that a sketch called RTArduLinkIMU needs to be installed on the Arduino/TinyDuino.  The program that then needs to be built/run is not in the Linux folder but in the RTHost folder  and can be either RTHostIMU or RTHostIMUGL.  These programs ask for a COM port to be selected which, as soon as I selected the correct one, started reading and displaying data from the IMU ;D.  It is also worth noting that the aforementioned sketch should NOT be running in the Arduino Serial monitor at the same time.  It is also worth noting that there is another calibration program called ArduinoMagCal which, rather than storing the calibration data in a .ini file, actually stores it  within EEPROM on the device itself  which may prove to be more useful. 

Hope this info may help others.


TinyDuino / Re: Calibrating ASD2612 9 Axis IMU
« Last post by andy1989 on May 23, 2020, 08:30:06 PM »
Hello Réna

Many Thanks for your reply.  I downloaded the library in your link and followed the instructions in this link:  to compile the code.  I found I had to also do this :

sudo apt-get --reinstall install libqt4-opengl-dev 

to get a clean build.   The examples given (RTIMULibDemo & RTIMULibDemoGL) are GUI versions of  RTIMULibCal which I was running before and are an easier way of changing the options.  However, I am still getting the same messages with regard detecting the IMU.   It says it should support the MPU9150 (which I believe the ASD2612 contains) but just does not want to seem to recognise it.    It would appear that the problem is  related to the I2C but do not know enough about this to be sure.  Any help you could provide would be most appreciated.   Please let me know if you need any further info.

Many Thanks,

TinyDuino / Re: Need help identifying this tinyduino component/module
« Last post by lennevia on May 21, 2020, 06:02:13 PM »

The TinyShield in question is a semi-custom board that is meant for use with an AVR programmer.

For this reason, there is no documentation or example code on our website. You can look at this website for some general information:


TinyDuino / Re: Calibrating ASD2612 9 Axis IMU
« Last post by lennevia on May 21, 2020, 05:54:49 PM »
Hey there Andy,

I am not sure what setup you have for using the 9-Axis with Linux, but you may want to check the library on GitHub to see if it is supported:

If there's any more information you have, I can try my best to help!


New Product Ideas / Possible to send midi out thru usb in tinysaber?
« Last post by tefriot3d on May 21, 2020, 02:10:40 PM »
Think your cool toy would make a great midi controller.. found a USB midi library for the 841 here:

what do you think? possible? could it be made wireless by attaching your bluetooth board with a bit of hacking?

seems like all the pins are used in the schematic, not sure tho.

Thanks, Tefriot
TinyDuino / Need help identifying this tinyduino component/module
« Last post by josh on May 20, 2020, 11:09:06 PM »
Hello friends, I'm new to the forum.
...but not new to tinycircuits.

 I am using tinyduino currently with the following modules:
1) asm2001 rev9 (tinyduino power switch + battery connector)
2) asd2101 rev6 (micro usb connector)
3) asd2116 rev1 (BLE)
4) asd2431 rev5 (display)
5) asd2018 rev4 (unused)

the setup is working for my needs. however, i have noticed i have an unused module.

it has the writings "ICSP ASD2018 Rev4". it seems like  a PCB with 6 pins (MISO,VCC,SCK,MOSI,RST,GND).

i would like to integrate it to my project.

Compared to the other modules, i feel that the codes for this particular module cant be found online. For example, I have found several codes for the BLE module and thats how i integrated it into my project.

could any kind soul here point me to the right direction with a sample code or website link where i can refer to in order to utilise this "ICSP ASD2018 Rev4" module?

i just need a basic/simple tutorial on controlling an LED or something with the VCC and GND pins.

Thank you very much  ;D

(please see the attachment for a photo of the module in question)
TinyDuino / Calibrating ASD2612 9 Axis IMU
« Last post by andy1989 on May 20, 2020, 11:46:44 AM »

I am trying to run some calibration routines on my ASD2612 9 axis IMU as I understand this needs to be done to get reliable results.  I have got the supplied Arduino code to work and display readings but when I compile/run the linux calibration routines (which are supplied as part of the RTIMULIB2 library, I cannot get them the recognise the IMU. 

The program I am running is RTIMULibCal which generates a .ini file on first  run.   The messages I get on first run are as follows

Settings file not found.  Using defaults and creating settings file.
Failed to open I2C bus 1
Failed to open SPI bus 0, select 0
Failed to open SPI bus 0, select 1
No IMU detected
Using fusion algorithm RTQF
No IMU found

If I then change the IMUType within the Settings file to IMUType=2 (Invensense MPU9150)  it seem to jump into the program but with a message saying 'Failed to open I2C bus 1'.  If I then select one of the option to calibrate I get the follow message repeated over and over :

'Failed to open I2C bus 1
'Failed to open I2C port - Failed to read fifo count'

So basically my question is are there any settings I can maybe use to successfully connect to the IMU?  I don't want to just experiment through fear of doig some damage  :'(   I have attached the RTIMULib.ini file so you can see which settings can be changed. 

Many Thanks,

User Projects / Code Examples / Re: TinyTV double digits channel numbers
« Last post by lennevia on May 14, 2020, 03:26:50 PM »
Well done!

Thanks for updating with your findings!
User Projects / Code Examples / Re: TinyTV double digits channel numbers
« Last post by Manny on May 13, 2020, 07:52:47 PM »
I got it working. Woohoo. I figured iit out myself.

Heres the code

void showChannelNumber() {
  char channelString[] = "00";
     channelString[0]+= currentFileNum/10;
  channelString[1] += (currentFileNum % 10);
  int yOffset = 50;
  int xPosition = 80;
  int xWidth = display.getPrintWidth(channelString);

This fix was to use my previous changes and also uncomment the forward slashes /
SMF spam blocked by CleanTalk