bitluni / ESP32Lib

http://bitluni.net/esp32-vga/
441 stars 78 forks source link

[Question] How to connect a composite video connector in parallel output mode ? #42

Closed erenard closed 3 years ago

erenard commented 4 years ago

Hi, it seems you most recently committed some composite stuff but when I look at Composite.cpp you still use the parallel output mode.

How to connect all the pins used in parallel mode to a composite video connector ?

Thanks a lot for the lib.

Unrelated: maybe adding labels to issue, like [Question] would be useful.

bitluni commented 4 years ago

That commit was experimental, I tried to get it running with an external resistor ladder as DAC. Similar to my VGA stuff

Eric RENARD notifications@github.com schrieb am So., 19. Apr. 2020, 16:31:

Hi, it seems you most recently committed some composite stuff https://github.com/bitluni/ESP32Lib/commit/222d95318fc5c61033dbdbd92c56f8a7d3a60129 but when I look at Composite.cpp you still use the parallel output mode https://github.com/bitluni/ESP32Lib/blob/master/src/Composite/Composite.cpp#L51 .

How to connect all the pins used in parallel mode to a composite video connector ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitluni/ESP32Lib/issues/42, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCGI26QTHTG2MIT44NUNOLRNMDLZANCNFSM4MLZ5OIA .

bitluni commented 4 years ago

The color refused to work though...

Matthias B. bitluni@gmail.com schrieb am Mo., 20. Apr. 2020, 04:10:

That commit was experimental, I tried to get it running with an external resistor ladder as DAC. Similar to my VGA stuff

Eric RENARD notifications@github.com schrieb am So., 19. Apr. 2020, 16:31:

Hi, it seems you most recently committed some composite stuff https://github.com/bitluni/ESP32Lib/commit/222d95318fc5c61033dbdbd92c56f8a7d3a60129 but when I look at Composite.cpp you still use the parallel output mode https://github.com/bitluni/ESP32Lib/blob/master/src/Composite/Composite.cpp#L51 .

How to connect all the pins used in parallel mode to a composite video connector ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitluni/ESP32Lib/issues/42, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCGI26QTHTG2MIT44NUNOLRNMDLZANCNFSM4MLZ5OIA .

erenard commented 4 years ago

I'm trying to make your other repo ESP32CompositeVideo's code work with a composite screen I recently bought (it works with an USB video aquiring dongle) but no luck so far. That's why I want to give this lib a try, especially with all the video modes you add. So really, even if it's only in grayscale, I would still like to try the resistor ladder.

Martin-Laclaustra commented 4 years ago

I just finished some code to use this library with the DAC (only one connection, from pin 25 or 26). Grayscale. PAL or NTSC, fake progressive low res or interlaced high res. I will be preparing a pull request in a couple of days if you can wait. Also, until bitluni can review, discuss, and approve my code, I will have a branch in my fork with the code ready for download and install.

Martin-Laclaustra commented 4 years ago

@erenard I pushed my changes. I created pull-request #47 . Until bitluni reviews and comments on them you can download the branch from my repository: git clone -b CompositeDACandLadder https://github.com/Martin-Laclaustra/martin-laclaustra_ESP32Lib.git I would be glad to hear your feedback.

Martin-Laclaustra commented 3 years ago

This is included in the "development" branch here and eventually it will be merged into "master".