NEWBIE HERE, please help

  • Oh OK :) Though you do the main part of IP addresses before the colon the 'proper' way?


    For us it's different than in UK.


    Have you seen how far I've come? Getting close now.



    Leds not responsive to changes in windows, so I disabled hyperion screen capture.
    But than neither nor via android apps, nor via webinterface responsive.


    Also NO led bootsequence.


    So, first not use hyperion screen capture, only android app. And trying to get the bootsequence. Further from there on.


    Any help appreciated.

  • I've connected the arduino like this (https://www.tweaking4all.com/h…duino/arduino-ws2812-led/)

    Computer USB means in my case connected to Pi.


    Strange thing is that when it's connected like this, when I touch the threads, leds change color. Also when I detach the black jumper cable and put it in again and repeat this, colors keep changing.


    When I pull the GND from the arduino, this does not happen anymore.


    Like I wrote in post #1, I think the leds are okay.


    Is it then indeed the baudrate?
    "You will need an Arduino Uno R3 or better (anything capable of > 115200 baud rate)" (https://hyperion-project.org/t…-ws2801-ws2812b-apa102.8/) like Rick164 writes?


    ??????
    ??
    ?
    .
    ..........

  • Your doing good. A lot of the hyperion setup will require you to do exactly what your doing now, puzzling it out for your self.


    Quote

    Is it then indeed the baudrate?
    "You will need an Arduino Uno R3 or better (anything capable of > 115200 baud rate)" (https://hyperion-project.org/t…-ws2801-ws2812b-apa102.8/) like Rick164 writes?


    Most modern Arduino's can handle 500000 baudrate.


    Quote

    When I try to connect with android app "hyperion-Lights", I get "hyperion server offline".


    I have never used that app. It kind of looks like a ripoff/clone of the Official Hyperion app. ( https://play.google.com/store/…=nl.hyperion.hyperionfree ) or non free no ad's ( https://play.google.com/store/…yperion.hyperionpro&hl=en )

  • Your doing good. A lot of the hyperion setup will require you to do exactly what your doing now, puzzling it out for your self.


    Thanks, but I hoped to get more clues from other members.


    Most modern Arduino's can handle 500000 baudrate.


    Okay. But what's the proper way to increase uart on raspbian jessie? I read several, with one warning about voltage.


    I have never used that app. It kind of looks like a ripoff/clone of the Official Hyperion app. ( https://play.google.com/store/…=nl.hyperion.hyperionfree ) or non free no ad's ( https://play.google.com/store/…yperion.hyperionpro&hl=en )


    You are wright, it does. But THIS app let's me know if I'm connected or not, while the official app doesn't!


    I don't understand this either (https://hyperion-project.org/t…-ws2801-ws2812b-apa102.8/:(
    "Non-video capture solution WS2801 / WS2812 with Raspberry Pi and Arduino
    LED data pins -> Arduino
    LED power pins -> 5v adapter -> only GND connected to Arduino as well (see tutorial)
    Arduino -> USB cable -> Raspberry Pi
    Raspberry Pi -> network / power connection"


    I don't understand because it seems to cause random data being sent to MY leds.



    And should I use adalight, or ws281x-SPI for my ws2813 as suggested elsewhere on this forum?


    And how do I figure out what port I should use? Not ttyUSB0, but what then?


    And a question: how does the arduino "know" what sketch to use? I uploaded a couple of sketches to the arduino. Or should the .ino file have the name of the 'type'?


    So lots of variables. Somebody must have some answers for me, not?


    I really hope so.


    Wim

  • I changed this:
    #define serialRate 115200 // use 115200 for ftdi based boards
    //#define serialRate 500000 // use 115200 for ftdi based boards


    to:
    #define serialRate 115200 // use 115200 for ftdi based boards
    //#define serialRate 500000 // use 115200 for ftdi based boards


    But that doesn't improve uart on my pi.



    Is this correct:
    #include <Adafruit_NeoPixel.h>


    #include "FastLED.h"


    #define ANALOG_MODE_AVERAGE 0
    #define ANALOG_MODE_LAST_LED 1


    /**************************************
    S E T U P


    set following values to your needs
    **************************************/


    #define INITIAL_LED_TEST_ENABLED true
    #define INITIAL_LED_TEST_BRIGHTNESS 32 // 0..255
    #define INITIAL_LED_TEST_TIME_MS 500 // 10..


    // Number of leds in your strip. set to "1" and ANALOG_OUTPUT_ENABLED to "true" to activate analog only
    // As of 26/1/2017:
    // 582 leaves ZERO bytes free and this
    // 410 is ok
    // tested with 500 leds and is fine (despite the warning)
    #define MAX_LEDS 300


    // type of your led controller, possible values, see below
    #define LED_TYPE WS2813


    // 3 wire (pwm): NEOPIXEL BTM1829 TM1812 TM1809 TM1804 TM1803 UCS1903 UCS1903B UCS1904 UCS2903 WS2812 WS2852
    // S2812B SK6812 SK6822 APA106 PL9823 WS2811 WS2813 APA104 WS2811_40 GW6205 GW6205_40 LPD1886 LPD1886_8BIT
    // 4 wire (spi): LPD8806 WS2801 WS2803 SM16716 P9813 APA102 SK9822 DOTSTAR


    // For 3 wire led stripes line Neopixel/Ws2812, which have a data line, ground, and power, you just need to define DATA_PIN.
    // For led chipsets that are SPI based (four wires - data, clock, ground, and power), both defines DATA_PIN and CLOCK_PIN are needed


    // DATA_PIN, or DATA_PIN, CLOCK_PIN
    #define LED_PINS 6 // 3 wire leds
    //#define LED_PINS 6, 13 // 4 wire leds


    #define COLOR_ORDER GRB // colororder of the stripe, set RGB in hyperion


    #define OFF_TIMEOUT 15000 // ms to switch off after no data was received, set 0 to deactivate


    // analog rgb uni color led stripe - using of hyperion smoothing is recommended
    // ATTENTION this pin config is default for atmega328 based arduinos, others might work to
    // if you have flickering analog leds this might be caused by unsynced pwm signals
    // try other pins is more or less the only thing that helps
    #define ANALOG_OUTPUT_ENABLED false
    #define ANALOG_MODE ANALOG_MODE_LAST_LED // use ANALOG_MODE_AVERAGE or ANALOG_MODE_LAST_LED
    #define ANALOG_GROUND_PIN 8 // additional ground pin to make wiring a bit easier
    #define ANALOG_RED_PIN 9
    #define ANALOG_GREEN_PIN 10
    #define ANALOG_BLUE_PIN 11


    // overall color adjustments
    #define ANALOG_BRIGHTNESS_RED 255 // maximum brightness for analog 0-255
    #define ANALOG_BRIGHTNESS_GREEN 255 // maximum brightness for analog 0-255
    #define ANALOG_BRIGHTNESS_BLUE 255 // maximum brightness for analog 0-255


    #define BRIGHTNESS 255 // maximum brightness 0-255
    #define DITHER_MODE BINARY_DITHER // BINARY_DITHER or DISABLE_DITHER
    #define COLOR_TEMPERATURE CRGB(255,255,255) // RGB value describing the color temperature
    #define COLOR_CORRECTION TypicalLEDStrip // predefined fastled color correction
    //#define COLOR_CORRECTION CRGB(255,255,255) // or RGB value describing the color correction


    // Baudrate, higher rate allows faster refresh rate and more LEDs
    //#define serialRate 460800 // use 115200 for ftdi based boards
    //#define serialRate 115200 // use 115200 for ftdi based boards
    #define serialRate 500000 // use 115200 for ftdi based boards



    /**************************************
    A D A L I G H T C O D E


    no user changes needed
    **************************************/
    ........


    And is there a way to check if the arduino receives data and what data?


    BTW I didn't

  • Quote

    But what's the proper way to increase uart on raspbian jessie? I read several, with one warning about voltage.


    I believe simply changing the "serialRate" in the sketch well have the desired affect.


    Code
    // Baudrate, higher rate allows faster refresh rate and more LEDs
    //#define serialRate 460800      // use 115200 for ftdi based boards
    #define serialRate 115200      // use 115200 for ftdi based boards
    //#define serialRate 500000         // use 115200 for ftdi based boards



    Quote

    But THIS app let's me know if I'm connected or not, while the official app doesn't!


    sure it does, If my hyperion is not running or not running correctly the app tells me it can't connect..?


    Quote

    I don't understand because it seems to cause random data being sent to MY leds.


    can be caused by loose connections or very log data wires picking up interference. Or missing a common ground connection are the most common causes.


    Quote

    And should I use adalight, or ws281x-SPI for my ws2813 as suggested elsewhere on this forum?


    I have never used a ws2813 strip of led's. However from what I have read the ws2813's use exatly the same as ws2812's. So use adalight if connecting the leds to an Arduino. Or ws281x-SPI if connecting the led's to the gpio pins of the RPi directly with out an Arduino.


    The only difference between the two led strips is the ws2813 has built in fallover support for bad led's (if a led go's bad on a ws2812 strip every led after that led well fail. Not so on ws2813 strips.


    Quote

    And how do I figure out what port I should use? Not ttyUSB0, but what then?


    one way of doing this is: On the Rpi, from a console type: " dmesg | grep usb " once without the Arduino plugged in to the usb port. Then once more after plunging in the Arduino. That should show you info on how the Arduino is seen by the Rpi.



    Quote

    And a question: how does the arduino "know" what sketch to use? I uploaded a couple of sketches to the arduino. Or should the .ino file have the name of the 'type'?


    The last sketch uploaded with the Arduino IDE software is the active sketch.


    Hope it's helpful.

  • Thank you for helping me.


    Before:
    [ 0.168926] usbcore: registered new interface driver usbfs
    [ 0.169041] usbcore: registered new interface driver hub
    [ 0.169203] usbcore: registered new device driver usb
    [ 1.343663] usbcore: registered new interface driver smsc95xx
    [ 1.745438] dwc_otg 3f980000.usb: DWC OTG Controller
    [ 1.745494] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
    [ 1.745548] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
    [ 1.745936] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.745955] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.745972] usb usb1: Product: DWC OTG Controller
    [ 1.745988] usb usb1: Manufacturer: Linux 4.4.21-v7+ dwc_otg_hcd
    [ 1.746004] usb usb1: SerialNumber: 3f980000.usb
    [ 1.748452] usbcore: registered new interface driver usb-storage
    [ 1.803850] usbcore: registered new interface driver usbhid
    [ 1.803862] usbhid: USB HID core driver
    [ 2.122280] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 2.322639] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [ 2.322668] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.602276] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 2.702715] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 2.702749] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.767245] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f8:e8:f0
    [ 3.002350] usb 1-1.5: new full-speed USB device number 4 using dwc_otg
    [ 3.117657] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6001
    [ 3.117689] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 3.117706] usb 1-1.5: Product: Smartreader plus
    [ 3.117723] usb 1-1.5: Manufacturer: Argolis BV
    [ 3.117738] usb 1-1.5: SerialNumber:
    [ 5.170676] usbcore: registered new interface driver usbserial
    [ 5.170831] usbcore: registered new interface driver usbserial_generic
    [ 5.170954] usbserial: USB Serial support registered for generic
    [ 5.181894] usbcore: registered new interface driver ftdi_sio
    [ 5.182052] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 5.184019] usb 1-1.5: Detected FT232BM
    [ 5.185053] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0
    [ 5.322406] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
    [ 5.423693] usb 1-1.4: New USB device found, idVendor=13fd, idProduct=1340
    [ 5.423723] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 5.423740] usb 1-1.4: Product: External
    [ 5.423756] usb 1-1.4: Manufacturer: Generic
    [ 5.423771] usb 1-1.4: SerialNumber: 57442D574D415A4135303037
    [ 5.433073] usb-storage 1-1.4:1.0: USB Mass Storage device detected
    [ 5.442904] scsi host0: usb-storage 1-1.4:1.0
    [ 1556.886350] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
    [ 1557.001247] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [ 1557.001279] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [ 1557.001296] usb 1-1.2: Product: Arduino UNO WiFi
    [ 1557.001312] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [ 1557.001328] usb 1-1.2: SerialNumber: 556323138383517121F0
    [ 1557.132853] usbcore: registered new interface driver cdc_acm
    [ 7464.895176] usb 1-1.2: USB disconnect, device number 6
    [ 7748.811559] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
    [ 7748.927248] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [ 7748.927304] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [ 7748.927316] usb 1-1.2: Product: Arduino UNO WiFi
    [ 7748.927327] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [ 7748.927337] usb 1-1.2: SerialNumber: 556323138383517121F0
    [ 8434.752407] usb 1-1.2: USB disconnect, device number 7
    [11702.498224] usb 1-1.2: new full-speed USB device number 8 using dwc_otg
    [11702.613218] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [11702.613250] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [11702.613267] usb 1-1.2: Product: Arduino UNO WiFi
    [11702.613283] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [11702.613299] usb 1-1.2: SerialNumber: 556323138383517121F0
    [31360.560954] usb 1-1.2: USB disconnect, device number 8
    [31478.062950] usb 1-1.2: new full-speed USB device number 9 using dwc_otg
    [31478.177903] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [31478.177928] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [31478.177938] usb 1-1.2: Product: Arduino UNO WiFi
    [31478.177949] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [31478.177975] usb 1-1.2: SerialNumber: 556323138383517121F0
    [31758.949947] usb 1-1.2: USB disconnect, device number 9



    After:
    [ 0.168926] usbcore: registered new interface driver usbfs
    [ 0.169041] usbcore: registered new interface driver hub
    [ 0.169203] usbcore: registered new device driver usb
    [ 1.343663] usbcore: registered new interface driver smsc95xx
    [ 1.745438] dwc_otg 3f980000.usb: DWC OTG Controller
    [ 1.745494] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
    [ 1.745548] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
    [ 1.745936] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.745955] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.745972] usb usb1: Product: DWC OTG Controller
    [ 1.745988] usb usb1: Manufacturer: Linux 4.4.21-v7+ dwc_otg_hcd
    [ 1.746004] usb usb1: SerialNumber: 3f980000.usb
    [ 1.748452] usbcore: registered new interface driver usb-storage
    [ 1.803850] usbcore: registered new interface driver usbhid
    [ 1.803862] usbhid: USB HID core driver
    [ 2.122280] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 2.322639] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [ 2.322668] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.602276] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 2.702715] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 2.702749] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.767245] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f8:e8:f0
    [ 3.002350] usb 1-1.5: new full-speed USB device number 4 using dwc_otg
    [ 3.117657] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6001
    [ 3.117689] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 3.117706] usb 1-1.5: Product: Smartreader plus
    [ 3.117723] usb 1-1.5: Manufacturer: Argolis BV
    [ 3.117738] usb 1-1.5: SerialNumber:
    [ 5.170676] usbcore: registered new interface driver usbserial
    [ 5.170831] usbcore: registered new interface driver usbserial_generic
    [ 5.170954] usbserial: USB Serial support registered for generic
    [ 5.181894] usbcore: registered new interface driver ftdi_sio
    [ 5.182052] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 5.184019] usb 1-1.5: Detected FT232BM
    [ 5.185053] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0
    [ 5.322406] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
    [ 5.423693] usb 1-1.4: New USB device found, idVendor=13fd, idProduct=1340
    [ 5.423723] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 5.423740] usb 1-1.4: Product: External
    [ 5.423756] usb 1-1.4: Manufacturer: Generic
    [ 5.423771] usb 1-1.4: SerialNumber: 57442D574D415A4135303037
    [ 5.433073] usb-storage 1-1.4:1.0: USB Mass Storage device detected
    [ 5.442904] scsi host0: usb-storage 1-1.4:1.0
    [ 1556.886350] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
    [ 1557.001247] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [ 1557.001279] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [ 1557.001296] usb 1-1.2: Product: Arduino UNO WiFi
    [ 1557.001312] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [ 1557.001328] usb 1-1.2: SerialNumber: 556323138383517121F0
    [ 1557.132853] usbcore: registered new interface driver cdc_acm
    [ 7464.895176] usb 1-1.2: USB disconnect, device number 6
    [ 7748.811559] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
    [ 7748.927248] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [ 7748.927304] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [ 7748.927316] usb 1-1.2: Product: Arduino UNO WiFi
    [ 7748.927327] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [ 7748.927337] usb 1-1.2: SerialNumber: 556323138383517121F0
    [ 8434.752407] usb 1-1.2: USB disconnect, device number 7
    [11702.498224] usb 1-1.2: new full-speed USB device number 8 using dwc_otg
    [11702.613218] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [11702.613250] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [11702.613267] usb 1-1.2: Product: Arduino UNO WiFi
    [11702.613283] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [11702.613299] usb 1-1.2: SerialNumber: 556323138383517121F0
    [31360.560954] usb 1-1.2: USB disconnect, device number 8
    [31478.062950] usb 1-1.2: new full-speed USB device number 9 using dwc_otg
    [31478.177903] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [31478.177928] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [31478.177938] usb 1-1.2: Product: Arduino UNO WiFi
    [31478.177949] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [31478.177975] usb 1-1.2: SerialNumber: 556323138383517121F0
    [31758.949947] usb 1-1.2: USB disconnect, device number 9
    [31805.781201] usb 1-1.2: new full-speed USB device number 10 using dwc_otg
    [31805.896094] usb 1-1.2: New USB device found, idVendor=2a03, idProduct=0057
    [31805.896119] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [31805.896129] usb 1-1.2: Product: Arduino UNO WiFi
    [31805.896140] usb 1-1.2: Manufacturer: Arduino srl (www.arduino.org)
    [31805.896151] usb 1-1.2: SerialNumber: 556323138383517121F0



    But how do I extract the port from this data??


  • That's the key bit of info.

  • That's the key bit of info.


    You mean the last line?


    I don't think so. Because when I had ttyUSB0 setup my oscam didn't work anymore and that's because my smargo cardreader is already setup on that port:
    2017/07/15 21:51:18 16B8AF0 r (reader) Ziggo [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
    And when I setup hyperion on another port, oscam works again.

  • Output from udevadm info -n /dev/ttyUSB0:


    P: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/ttyUSB0/tty/ttyUSB0
    N: ttyUSB0
    S: serial/by-id/usb-Argolis_BV_Smartreader_plus-if00-port0
    S: serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0
    E: DEVLINKS=/dev/serial/by-id/usb-Argolis_BV_Smartreader_plus-if00-port0 /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0
    E: DEVNAME=/dev/ttyUSB0
    E: DEVPATH=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/ttyUSB0/tty/ttyUSB0
    E: ID_BUS=usb
    E: ID_MODEL=Smartreader_plus
    E: ID_MODEL_ENC=Smartreader\x20plus
    E: ID_MODEL_FROM_DATABASE=FT232 USB-Serial (UART) IC
    E: ID_MODEL_ID=6001
    E: ID_PATH=platform-3f980000.usb-usb-0:1.5:1.0
    E: ID_PATH_TAG=platform-3f980000_usb-usb-0_1_5_1_0
    E: ID_REVISION=0400
    E: ID_SERIAL=Argolis_BV_Smartreader_plus
    E: ID_TYPE=generic
    E: ID_USB_DRIVER=ftdi_sio
    E: ID_USB_INTERFACES=:ffffff:
    E: ID_USB_INTERFACE_NUM=00
    E: ID_VENDOR=Argolis_BV
    E: ID_VENDOR_ENC=Argolis\x20BV
    E: ID_VENDOR_FROM_DATABASE=Future Technology Devices International, Ltd
    E: ID_VENDOR_ID=0403
    E: MAJOR=188
    E: MINOR=0
    E: SUBSYSTEM=tty
    E: TAGS=:systemd:
    E: USEC_INITIALIZED=63034

  • But you helped me anyway, because
    ls /dev/tty* gave me all the possibilities
    and udevadm info -n /dev/ttyACM0, gave me:


    P: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/tty/ttyACM0
    N: ttyACM0
    S: serial/by-id/usb-Arduino_srl__www.arduino.org__Arduino_UNO_WiFi_556323138383517121F0-if00
    S: serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0
    E: DEVLINKS=/dev/serial/by-id/usb-Arduino_srl__www.arduino.org__Arduino_UNO_WiFi_556323138383517121F0-if00 /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0
    E: DEVNAME=/dev/ttyACM0
    E: DEVPATH=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/tty/ttyACM0
    E: ID_BUS=usb
    E: ID_MODEL=Arduino_UNO_WiFi
    E: ID_MODEL_ENC=Arduino\x20UNO\x20WiFi\x20\x20
    E: ID_MODEL_ID=0057
    E: ID_PATH=platform-3f980000.usb-usb-0:1.2:1.0
    E: ID_PATH_TAG=platform-3f980000_usb-usb-0_1_2_1_0
    E: ID_REVISION=0001
    E: ID_SERIAL=Arduino_srl__www.arduino.org__Arduino_UNO_WiFi_556323138383517121F0
    E: ID_SERIAL_SHORT=556323138383517121F0
    E: ID_TYPE=generic
    E: ID_USB_CLASS_FROM_DATABASE=Communications
    E: ID_USB_DRIVER=cdc_acm
    E: ID_USB_INTERFACES=:020201:0a0000:
    E: ID_USB_INTERFACE_NUM=00
    E: ID_VENDOR=Arduino_srl__www.arduino.org_
    E: ID_VENDOR_ENC=Arduino\x20srl\x20\x28www.arduino.org\x29
    E: ID_VENDOR_ID=2a03
    E: MAJOR=166
    E: MINOR=0
    E: SUBSYSTEM=tty
    E: TAGS=:systemd:
    E: USEC_INITIALIZED=805848136


    So it is ttyACM0, like I suspected before.

  • Yep. if that was the arduino you are pluging and unpluging in to your RPi then ttyUSB0 is correct.


    Yes it was me unplugging and plugging in again the arduino in the pi.


    I think our messages just crossed, I think you'll agree with me in post #32.

  • It must be ttyACM0. But this leds aren't responding correct. Which other parameter?????


    What i don't understand too is:


    can be caused by loose connections or very log data wires picking up interference. Or missing a common ground connection are the most common causes.


    When I connect GND from Arduino to GND on led, leds go on and go out after maybe 10 seconds en than stay off until I unplug. Than same again.
    And when I just mininally unplug the GND on the arduino and "tab" with the jumper on the contact again, color of the leds change every time.


    I read that the 2813 has resistor and capacitator build in (so I don't use a resistor). The 10 seconds light and than off again, makes me think of a capacitator.

  • Edited and uploaded this sketch to the arduino.
    [COLOR=rgb(0, 0, 0)]Seems to be in /boot/cmdline.txt[/COLOR]
    rather than /flash/config.txt
    standard is 115200
    It seems tricky for me to do, reading some websites. Hoping it's not necessary at all.


    No, I think it's in /boot/config.txt not in /boot/cmdline.txt and I will do that.


    Is this okay (in same file)?
    # activate ambilight module
    dtparam=spi=on
    I really don't know what it means, but I'm not using spi (4 cable led)?????

  • I never used a Uno. so not %100 sure.


    A quick read from here (http://www.arduino.org/learnin…ted-with-arduino-uno-wifi ) leads me to believe that you are perhaps running a full desktop on the RPi and have the Arduino IDE on the RPi as well. this looks like its loading some sort of WIFI passthru to emulate the Arduino on a port via WIFI.. . I Think. . .


    May be, if you have a spare SD card start a fresh install of raspian OS with no desktop (desktop not needed if just running Hyperion.) and just Hyperion. No Arduino IDE or anything but Hyperion. It may help to really start from scratch.

  • I never used a Uno. so not %100 sure.


    A quick read from here (http://www.arduino.org/learnin…ted-with-arduino-uno-wifi ) leads me to believe that you are perhaps running a full desktop on the RPi and have the Arduino IDE on the RPi as well. this looks like its loading some sort of WIFI passthru to emulate the Arduino on a port via WIFI.. . I Think. . .


    May be, if you have a spare SD card start a fresh install of raspian OS with no desktop (desktop not needed if just running Hyperion.) and just Hyperion. No Arduino IDE or anything but Hyperion. It may help to really start from scratch.


    I'm working both with putty and VNC viewer (to get a graphical interface) on the pi.
    I don't have arduino IDE on the pi, only on windows. On the arduino I selected the Uno Wifi version as a board.


    I don't think this is the problem, but yes I've got one.
    I do believe the pi is doing a good job, the info is just not getting through to the arduino and/or the leds.


    Thanks for that link. I can connect arduino to my network and upload sketches via wifi. That's great.
    Also I needed to protect arduino, to be safe.
    And there's a debug log, maybe that could be helpful too.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!