Giter Club home page Giter Club logo

awawa-dev / hyperserialpico Goto Github PK

View Code? Open in Web Editor NEW
51.0 51.0 85.0 48 KB

High-speed Adalight USB serial LED driver implementation for Raspberry Pi Pico RP2040. Support for sk6812/ws2812b/apa102 and others using Rpi multi-core, DMA, PIO, SPI and parallel output.

License: MIT License

CMake 15.09% C++ 62.83% C 22.08%
adalight ambilight hyperhdr hyperserial led led-controller led-controlling led-strips leds neopixel pico pio raspberrypipico rp2040 serialport sk6812 ws2812b

hyperserialpico's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hyperserialpico's Issues

Pico detected by TV, but HyperHDR logs doesnt show it

WebOS 4.5 - v5.30.40
HyperHDR installed onto tv directly

Log from HyperHDR:
1

dmesg log on TV:

[  278.271523] usb 7-1: USB disconnect, device number 2
[  281.040496] usb 7-1: new full-speed USB device number 3 using ohci-platform
[  281.269488] usb 7-1: New USB device found, idVendor=2e8a, idProduct=000a
[  281.269503] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  281.269509] usb 7-1: Product: Pico
[  281.269514] usb 7-1: Manufacturer: Raspberry Pi
[  281.269520] usb 7-1: SerialNumber: E6614C311B4FC726
[  281.273810] cdc_acm 7-1:1.0: ttyACM0: USB ACM device

lsusb:

Bus 005 Device 002: ID 043e:3109
Bus 007 Device 003: ID 2e8a:000a
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0002
Bus 005 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0001
Bus 007 Device 001: ID 1d6b:0001
Bus 008 Device 001: ID 1d6b:0001

Tried two different RP2040s with no change (one is an RP2040W original, the other is a Pimoroni Plasma 2040W).
Using the latest HyperHDR v20beta and HyperSerialPico

HyperHDR set with rp2040 handshake, and to ttyACM0.

The only thing I can see is that ttyACM0 is linked to cdc_acm 7-1:1.0. But based on lsusb, it should be 7-1:1.2?

Raspberry Pi Pico "Reset" in Device Manager appears after flash

hey,

just flashed the "HyperSerialPico_sk6812Cold.uf2" onto a Raspberry Pi Pico,

a "Reset" Device appeared after the Flash in the Device Manager under "other"

grafik

Device itself gets Recognized in HyperHDR v20beta

2023-05-09T13:08:18.388Z [LEDDEVICE_ADALIGHT] Opening UART: COM9 2023-05-09T13:08:18.388Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:216) _rs232Port.open(QIODevice::ReadWrite): COM9, Baud rate [2000000]bps 2023-05-09T13:08:18.390Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:221) portName: COM9 2023-05-09T13:08:18.390Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:222) systemLocation: \\.\COM9 2023-05-09T13:08:18.390Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:223) description: Serielles USB-Ger�t 2023-05-09T13:08:18.390Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:224) manufacturer: Microsoft 2023-05-09T13:08:18.390Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:225) productIdentifier: 0xa 2023-05-09T13:08:18.390Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:226) vendorIdentifier: 0x2e8a 2023-05-09T13:08:18.390Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:227) serialNumber: E66138935F287729 2023-05-09T13:08:18.415Z [LEDDEVICE_ADALIGHT] Detected Rp2040 type board. HyperHDR skips the reset. State: 0, 0 2023-05-09T13:08:18.496Z [LEDDEVICE_ADALIGHT] ESP sent: 'HyperHDR frames: 0 (FPS), receiv.: 0, good: 0, incompl.: 0, mem1: 0, mem2: 206, heap: 124256' 2023-05-09T13:08:18.496Z [LEDDEVICE_ADALIGHT] ESP sent: 'RGBW => Gain: 255/255, red: 160, green: 160, blue: 160' 2023-05-09T13:08:18.496Z [LEDDEVICE_ADALIGHT] DETECTED DEVICE USING HYPERSERIALESP8266/HYPERSERIALESP32 FIRMWARE (Welcome! Awa driver 9.) at 1 msec

Fast fast can these pico go...

Hi,

is the max. baud rate 2Mbit/s oder can you go higher with these picos?
I switched from my ESP8266 and I did not change this value, but I am wondering if I should...

I am using the 2040 with level shift :-)

Mayby you could add that information in the readme.md as well :-)

Raspberry PI Pico W not detected

Trying this out on Windows.
Followed instructions for flashing and configuration.
Does not seem to detect the device via the COM Port.

2023-06-16T20:39:15.310Z [LEDDEVICE_ADALIGHT] Opening UART: COM4
2023-06-16T20:39:15.310Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:216) _rs232Port.open(QIODevice::ReadWrite): COM4, Baud rate [200000]bps
2023-06-16T20:39:15.311Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:221) portName:          COM4
2023-06-16T20:39:15.311Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:222) systemLocation:    \\.\COM4
2023-06-16T20:39:15.311Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:223) description:       USB Serial Device
2023-06-16T20:39:15.311Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:224) manufacturer:      Microsoft
2023-06-16T20:39:15.311Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:225) productIdentifier: 0xa
2023-06-16T20:39:15.311Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:226) vendorIdentifier:  0x2e8a
2023-06-16T20:39:15.311Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:227) serialNumber:      E6616408432Fxxxx
2023-06-16T20:39:16.630Z [LEDDEVICE_ADALIGHT] Could not detect HyperSerialEsp8266/HyperSerialESP32 device
2023-06-16T20:39:16.630Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:333) Switch on
2023-06-16T20:39:16.630Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:409) Power On
2023-06-16T20:39:16.631Z [COMPONENTREG0] LED device: enabled
2023-06-16T20:39:17.633Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:300) Timeout after 1000ms: 0 frames already dropped
2023-06-16T20:39:18.634Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:300) Timeout after 1000ms: 1 frames already dropped

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.