Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

R1909_Tiny85 and OLED

2 posters

Go down  Message [Page 1 of 1]

1R1909_Tiny85 and OLED Empty R1909_Tiny85 and OLED Sun Sep 17, 2023 8:48 pm

Defran

Defran

Testing Tiny85 with a OLED display, it does not work, I'm thinking the problem is in I2C. T1709 also fails. Testing with Tiny84 also fails.

I Attach all the documentation.

Tell me please.


R1909_Tiny85 and OLED Tiny8514
Attachments
R1909_Tiny85 and OLED AttachmentTINY_OLED_TEST.zip
You don't have permission to download attachments.
(29 Kb) Downloaded 3 times



Last edited by Defran on Mon Oct 16, 2023 12:14 am; edited 6 times in total

2R1909_Tiny85 and OLED Empty Re: R1909_Tiny85 and OLED Mon Sep 18, 2023 10:08 am

arcachofo

arcachofo

Seems that these libraries are using the USI interface which is not implemented yet.

3R1909_Tiny85 and OLED Empty Re: R1909_Tiny85 and OLED Mon Sep 18, 2023 2:13 pm

Defran

Defran

ok, thanks

4R1909_Tiny85 and OLED Empty Re: R1909_Tiny85 and OLED Mon Sep 18, 2023 10:30 pm

Defran

Defran

I'm thinking... Does this mean that I2C doesn't work on the Tiny84 and Tiny85?

5R1909_Tiny85 and OLED Empty Re: R1909_Tiny85 and OLED Mon Sep 18, 2023 11:07 pm

arcachofo

arcachofo

I'm thinking... Does this mean that I2C doesn't work on the Tiny84 and Tiny85?
These devices don't have a TWI module, they have an USI (Universal Serial Interface) which contains some hardware that can be used for several types of serial communications, but needs to be controlled by software.

In any case I2C can work in any MCU if generated completely by software.

6R1909_Tiny85 and OLED Empty Re: R1909_Tiny85 and OLED Tue Sep 26, 2023 11:39 am

Defran

Defran

I have tried all the libraries on the Internet to make IC2 OLED work for tiny84 and 85, but it does not work in any way in Simulide, but in reality they have worked for me. I think these tinys have some problem in the internal USI system, can you test it, please?

Tell me something please

7R1909_Tiny85 and OLED Empty Re: R1909_Tiny85 and OLED Tue Sep 26, 2023 11:56 am

arcachofo

arcachofo

Attiny USI is not implemented yet in simulide.

By now you can use some software I2C library, for example this one:
https://github.com/felias-fogg/SoftI2CMaster

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum