У нас вы можете посмотреть бесплатно Arduino Freetronics Cube4 - nRF24L01+ throughput and data streaming или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Improved the problem of significant flashes caused by suspending the cube's SPI communication for long periods of time. I took advantage of the nRF24L01+ interrupt pin rather than continually asking it for status, so when the nRF receives data the interrupt occurs and the code will quickly suspend the cube's SPI communication, read data from the nRF using SPI, then resume the cube's SPI communication. But even with this improvement and tweaks to the library to make reading the nRF as quick as possible, it is still visibly affecting the cube. Maybe the best solution is to simply not use the Atmega's hardware SPI bus with the nRF and instead use a software-based SPI bus for integration with SPI devices. I got the reading time down to 40 microseconds but in my testing I found even a 10 microsecond delay was noticeable on the cube. During all the nRF library testing I ended up wondering if I could stream the data to show on the cube rather than having the cube have pre-programmed effects. This video shows some of the speeds that are achievable. Both the Mirf and RF24 libraries do not account for the 3 rx and tx FIFO buffers completely and one trick is waiting for an empty space in the tx FIFO during data transmissions and likewise ensuring the rx FIFO is fully drained when reading data (don't just read one packet and assume it is now empty, there may be more packets left).