Edzelf / HDMI-simulator

Simulation of a HDMI monitor to be used on a "headless" mini PC.
13 stars 5 forks source link

testing at an arduino nano #1

Open maurimerel opened 4 months ago

maurimerel commented 4 months ago

hi there , sorry to bother you , Im trying to use your sketch with an arduino nano and I cant get it working . I saw at the ports declarations for i2c comm are 3 and 4 . Im really new at this so i was wondering if its not 4 and 5 pins . Anyways y tested both options with same result , when I connect it to my laptop i should see a new monitor detected i guess but no. Can you help me a little? thanks so much!!!!

Edzelf commented 4 months ago

It is a very old project. I will check it, give me some time and I report back to you.

Edzelf commented 4 months ago

I used an Arduino -pro-mini like this: image The pins used are 3, 4 and 5. Pins 3 (scl) and 4 (sda) are both pulled up by resistors of 4.7 k. Maybe you have forgotten to add these. I also included a c++ version of the code. I'm not sure if this has been tested.

maurimerel commented 4 months ago

Ok , ill double check but Im confused because wherever I check arduino pinouts I find references like this . arduino pro mini

A4 and A5 are the standard I2C pins but i guess you are using D3 D4 and D5 . Is that ok?? that I didn`t test.

Edzelf commented 4 months ago

Yes, that's right pin 5 is the "hotplug"-pin. The I2C hardware is not used. It is software bit-banging.