home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Amblight project/guide - Hyperion - WS2801/ WS2812B / APA102
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lightning303" data-source="post: 1128314" data-attributes="member: 97876"><p>[USER=52265]@TheBatfink[/USER] what kind of arduino are you using?</p><p>I dont think that the stuff in USBAPI is the right stuff. As most arduinos dont even know usb, but uart. You can connect via usb because they have an extra chip on board that translates from usb to uart and vice versa.</p><p>So if you have an Leonardo or Micro Pro or any other arduino with an ATmega32u4 this <strong>might</strong> be the right code, but i still dont think so.</p><p>If you have an Arduino with an extra ftdi/ch430 chip, please read this <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p><a href="https://forum.team-mediaportal.com/threads/diy-in-progress-amblight-project-guide-hyperion-ws2801-ws2812b.128526/page-7#post-1119310" target="_blank">https://forum.team-mediaportal.com/threads/diy-in-progress-amblight-project-guide-hyperion-ws2801-ws2812b.128526/page-7#post-1119310</a></p><p></p><p>If you have an Uno or other Arduino that uses a dedicated ATmega8/16u4 for usb, check out </p><p>[code]#if !(defined(SERIAL_TX_BUFFER_SIZE) && defined(SERIAL_RX_BUFFER_SIZE))</p><p>#if (RAMEND < 1000)</p><p>#define SERIAL_TX_BUFFER_SIZE 16</p><p>#define SERIAL_RX_BUFFER_SIZE 16</p><p>#else</p><p>#define SERIAL_TX_BUFFER_SIZE 64</p><p>#define SERIAL_RX_BUFFER_SIZE 64</p><p>#endif</p><p>#endif[/code]</p><p></p><p>in C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.h with latest Arduino IDE (1.6.0).</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Lightning303, post: 1128314, member: 97876"] [USER=52265]@TheBatfink[/USER] what kind of arduino are you using? I dont think that the stuff in USBAPI is the right stuff. As most arduinos dont even know usb, but uart. You can connect via usb because they have an extra chip on board that translates from usb to uart and vice versa. So if you have an Leonardo or Micro Pro or any other arduino with an ATmega32u4 this [B]might[/B] be the right code, but i still dont think so. If you have an Arduino with an extra ftdi/ch430 chip, please read this :( [url]https://forum.team-mediaportal.com/threads/diy-in-progress-amblight-project-guide-hyperion-ws2801-ws2812b.128526/page-7#post-1119310[/url] If you have an Uno or other Arduino that uses a dedicated ATmega8/16u4 for usb, check out [code]#if !(defined(SERIAL_TX_BUFFER_SIZE) && defined(SERIAL_RX_BUFFER_SIZE)) #if (RAMEND < 1000) #define SERIAL_TX_BUFFER_SIZE 16 #define SERIAL_RX_BUFFER_SIZE 16 #else #define SERIAL_TX_BUFFER_SIZE 64 #define SERIAL_RX_BUFFER_SIZE 64 #endif #endif[/code] in C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.h with latest Arduino IDE (1.6.0). :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Amblight project/guide - Hyperion - WS2801/ WS2812B / APA102
Contact us
RSS
Top
Bottom