Support TLV56x8 in the Arduino device adapter#739
Support TLV56x8 in the Arduino device adapter#739asincerity wants to merge 3 commits intomicro-manager:mainfrom
Conversation
This is a modified Arduino adapter designed to connect with the TLV56X8 chip for four-channel analog output. Corresponding adjustments to the code in the Arduino board are also required. The wiring method is as follows: arduino TLV56X8 5V VDD GND GND DIGITAL 3 SDI DIGITAL 4 SCK DIGITAL 5 CS1 DIGITAL 6 CS2 The link to the Arduino board code is as follows: https://github.com/asincerity/arduino_TLV56X8
|
This is great! Could you also include the firmware code in your PR? Ideally, we could leave it to the user to set in the firmware code which (if any) DA chip they are using, then have the device adapter query how many DAs are present (can we go up to the 8 that can be used in the TLV5608/TLV5610?). Cann you remove the chinese characters from the source code? Sorry, it will not pass our UTF-8 checks. I found the board on Amazon and ordered one each of the TLV5610 and TLV5610, likely for much more money than I could have ordered them from AliExpress.. |
|
"Thank you for your response. I have submitted the updated code and firmware in the PR, removing any Chinese characters. I think your idea of letting the code determine the number of DAs automatically is very cool. Here's a cost-effective 8-channel DAC board I found on AliExpress." |
|
I believe this is all addressed in #834 (should appear in tonight's build). You should be able to use the latest version of the firmware code in the repository, un-comment the define for TLV56x8, and your configuration should work. Let me know of problems as it is very difficult to test every possible configuration. |
This is a modified Arduino adapter designed to connect with the TLV56X8 chip for four-channel analog output. Corresponding adjustments to the code in the Arduino board are also required. The wiring method is as follows:
arduino TLV56X8
5V VDD
GND GND
DIGITAL 3 SDI
DIGITAL 4 SCK
DIGITAL 5 CS1
DIGITAL 6 CS2
The link to the Arduino board code is as follows: https://github.com/asincerity/arduino_TLV56X8