DealExtreme        
Page 148 of 161 FirstFirst ... 4898138141142143144145146147148149150151152153154155158 ... LastLast
Results 4,411 to 4,440 of 4819

Thread: SkyRC — IFA 2014 — MC3000 charger-analyzer

  1. #4411

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Yes I have a sudo command ... Mac OSX is "Unix" though

    I tried:


    Sudo cp -r SkyRC.kext /System/library/extensions/

    and it came back:

    cp: SkyRC.kext: No such file or directory


    ??????
    Last edited by ninjasmoke; 02-01-2017 at 07:22 PM.

  2. #4412

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by Ravel View Post
    I know nothing about macOS, but a bash script is for linux usually

    Do you have a sudo command in MACOS ?
    This is to run a script as root/ superuser
    Yes, I have a sudo-command ... Mac OSX is Unix though.

    I tried:

    Sudo cp -r SkyRC.kext /system/library/extensions/

    And it came back as:

    Cp: SkyRC.kext: no such file or directory

    ?????

  3. #4413
    Flashaholic*
    Join Date
    Sep 2007
    Location
    MA
    Posts
    2,861

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by Ravel View Post
    I saw that 2 days ago
    .....
    >>with a Raspi powered thru the USB output of the mc3k itself, ....
    Well it was my idea first, was it not ?

    ....
    I am so gratefull to the DEX maintener, he followed up on my suggestion, this is great.
    You and DEX come to the rescue.

  4. #4414

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by ninjasmoke View Post
    Yes, I have a sudo-command ... Mac OSX is Unix though. I tried:Sudo cp -r SkyRC.kext /system/library/extensions/And it came back as:Cp: SkyRC.kext: no such file or directory?????
    http://mirror6.layerjet.com/nongnu//...UsbDriver.shIt looks like you did not copy the zbove directory in the same directory where thι script is

    I mean copy that directory

    http://download.savannah.gnu.org/rel...er/SkyRC.kext/
    Last edited by Ravel; 02-02-2017 at 12:47 AM.

  5. #4415

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by kreisl View Post
    >>Loop of loop !


    have you got the dedicated pie 7″ touchscreen or which monitor/screen do you connect to your pie?
    No touchscreen
    Either i plugin over HDMI my PC screen
    Or headless over ssh i then display it all
    On a laptop or my pc. This is remote access with so called
    X forwarding

  6. #4416

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by ninjasmoke View Post
    Yes, I have a sudo-command ... Mac OSX is Unix though.

    I tried:

    Sudo cp -r SkyRC.kext /system/library/extensions/

    And it came back as:

    Cp: SkyRC.kext: no such file or directory

    ?????
    Hello ninjasmoke, i found the following info in geman, lemme translate:

    MAC_OS_X_SkyRC_Dummy_USB_Driver is a directory and inside there is the "install script" and a folder SkyRC.kext. One needs the entire folder MAC_OS_X_SkyRC_Dummy_USB_Driver!



    The entire directory SkyRC.kext constitutes the USB-driver and specifies it for the MAC OS X system. The command "cp -r" copies the directory recursively, i.e. in its entirety. Nowadays MAC OS X users aren't familiar with such command line switches or do not use the OS terminal mode with the command lines anymore similar to modern Windows users with their touch screen UI's. In any case one could simply change the directory to /System/Library/Extensions/ and check how the other drivers look there in order to get an idea of the file/folder situation.

    The screenshot above should be helpful and solve the problem. SkyRC saved money by not registering on USB.ORG, now every customer who does not use Windows has to go to some lenghts.

    Hope this helps, cheer kreisl
    ~ bitterness about poor quality remains long after sweetness of low price is forgotten ~

  7. #4417

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by Ravel View Post
    No touchscreen
    Either i plugin over HDMI my PC screen
    Or headless over ssh i then display it all
    On a laptop or my pc. This is remote access with so called
    X forwarding
    Thanks for the info!

    Here is some more pertinent first-hand info from the maker as i understood it:

    One can use a normal PC monitor or even a TV, Raspi has HDMI for it, but one would need this only once, initially. Similarly with the keyboard. After everything is installed, set up, configured and running, one can unplug and get rid of screen and keyboard once and for all bye-bye, because one can control the Raspi also through VNC. VNC magically replicates the (bye-bye) Raspi screen on your remote PC or laptop. The transfer of files (*.OSD, *.CSV, *.BMP, and so on) between the Raspi and the PC/laptop can be done through "rsync" in either direction with no problems.

    Since Raspian is a Debian Linux variant, the user needs to do troubleshooting similar to MAC OS troubleshooting. The Linux kernel recognizes the MC3000 USB-HID, but one needs to achieve the membership of a group through UDEV. Only then one gets the authorization to use the USB device.

    The original power adapter of Raspi delivers 5V / 2A. Same as the USB power output of MC3000. Perfect match, nice.

    Okay now we want to see some photos

  8. #4418

    Thumbs up Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by kreisl View Post
    Hello ninjasmoke, i found the following info in geman, lemme translate:

    MAC_OS_X_SkyRC_Dummy_USB_Driver is a directory and inside there is the "install script" and a folder SkyRC.kext. One needs the entire folder MAC_OS_X_SkyRC_Dummy_USB_Driver!



    The entire directory SkyRC.kext constitutes the USB-driver and specifies it for the MAC OS X system. The command "cp -r" copies the directory recursively, i.e. in its entirety. Nowadays MAC OS X users aren't familiar with such command line switches or do not use the OS terminal mode with the command lines anymore similar to modern Windows users with their touch screen UI's. In any case one could simply change the directory to /System/Library/Extensions/ and check how the other drivers look there in order to get an idea of the file/folder situation.

    The screenshot above should be helpful and solve the problem. SkyRC saved money by not registering on USB.ORG, now every customer who does not use Windows has to go to some lenghts.

    Hope this helps, cheer kreisl
    Yes, I did not download the "info.plist" file ... Thank you for pointing that out.

    Is the "info.plist" shown (above) to replace the info.plist already in the DataExplorer Contents folder?

    And if not ...

    Where is it supposed to be installed?




  9. #4419

    Default

    Quote Originally Posted by Ravel View Post
    >>would be great if there were a tutorial or a demo video or similar, created by an end user.
    I cannot promise much, we will see
    Tutorial for SkyRC on raspberry pi raspbian (this is just a recipe)

    Assuming
    1) you have installed raspbian
    (at this stage and for the sake of the thread,
    and for your benefit, do not use any other linux distribution unless you are linux-proficient)
    2) You have internet connection on your raspi, and it is working ok
    Else copy files via a usb pendrive
    3) You have updated you device,
    sudo apt-get update
    sudo apt-get upgrade
    4) You are aware there is no firewall running and you have not changed the default password

    5) You have configured your device to start with a prompt, that is a console with $
    or you have gone desktop-graphical and ran a console window within the desktop
    or are running on a local network ssh -X pi@192.168.x.y
    or are running VNC or all sort of putty via windows to access the raspi

    Then my tutorial starts here, and this is just a recipe
    You are in a console, powered raspi from an external power supply (nothing plugged from the MC3000)
    You adventure starts here :

    pi@nameofyourdevice:~ $
    From now on I will skip all $ (if you have a # you are root or some sort of god)
    I run a 4.4.38-v7+ #938 SMP armv7l GNU/Linux
    Pi 2 Model B, 1024MB RAM, 4 CPU
    and raspbian 8
    You can copy and make a script, or run line by line what follows


    #!/bin/bash
    #Install and launch Dataexplorer within raspbian
    #By Ravel
    #version 0.0001b
    # b : added command to make pi part of usergroup uucp
    uname -a
    cat /proc/cpuinfo | egrep 'model|Hardware|Revision'
    cat /etc/debian_version
    echo 'All the latest Raspbian images come pre-installed with Java' ; java -version
    mkdir mydataexplorer ; cd mydataexplorer
    wget http://download.savannah.gnu.org/rel..._ARM_32.tar.gz
    wget http://download.savannah.gnu.org/rel...orer/README.en
    wget http://download.savannah.gnu.org/releases/dataexplorer/GNU_LINUX_SKYRC_UDEV_RULE/{50-SkyRC-Charger.rules,copyUdevRule.sh}
    tar -xzvf dataexplorer-3.2.9-bin_RaspbianLinux_ARM_32.tar.gz
    ls -l
    ls -l /var/
    sudo chgrp -R uucp /var/lock
    sudo usermod -a -G uucp pi
    chmod 700 copyUdevRule.sh
    sudo ./copyUdevRule.sh

    cat <<EOF
    ===============================
    Non linux commands to come :
    read and press OK, read en press OK again
    close, close, menu <file><exit>
    You will have exited DataExplorer
    DEX will start in 10 seconds, stay there a few seconds and quit
    ===============================
    EOF
    sleep 10
    cd DataExplorer/
    ./DataExplorer

    cat <<EOF
    ===============================
    Then plug the MC3000 usb cable into the raspi. Output should be like this:"

    =============================== example ===================
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.531577] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635001] usb 1-1.2: New USB device found, idVendor=0000, idProduct=0001
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635030] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635047] usb 1-1.2: Product: STM32 Custm HID
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635063] usb 1-1.2: Manufacturer: STMicroelectronics
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635079] usb 1-1.2: SerialNumber: xxxxxx
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.639794] input: STMicroelectronics STM32 Custm HID as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0000:0001.0003/input/input2
    Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.640506] hid-generic 0003:0000:0001.0003: input,hidraw2: USB HID v1.01 Device [STMicroelectronics STM32 Custm HID] on usb-3f980000.usb-1.2/input0
    Feb 2 20:14:41 nameofyourdevice systemd-udevd[3598]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2 1 6': No such file or directory
    =============================== end of example ============
    EOF

    echo "================================================= ==============="
    echo "Press <ctrl><c> in a few seconds to exit watching the system log"
    echo "================================================= ==============="
    sudo tail -f /var/log/syslog

    echo "================================================= ==============="
    echo "Another way to see if the MC3000 is there :"
    echo "================================================= ==============="

    lsusb -v | grep STMicroelectronics -B13 -A10

    echo "================================================= ==============="
    echo "Now you launch DEX with this command ./DataExplorer "
    echo "Your turn to play"
    echo "================================================= ==============="

    cat <<EOF
    When in DEX
    Menu <device><device selection dialog><device selection, port overview> clock on MC3000, then OK, then close
    And bob is you uncle !
    You can run DEX as usual"
    EOF

    echo "This is the end, of the script"
    Last edited by Ravel; 03-08-2017 at 12:38 PM. Reason: version 0.0001a

  10. #4420

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by kreisl View Post
    Okay now we want to see some photos

    Last edited by Ravel; 02-02-2017 at 04:16 PM. Reason: linking pic problems. Bigger ic

  11. #4421

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by Ravel View Post
    Must be a url via <insert image> ?
    drag'n drop might not work, but you can try mark/select copy paste.
    but the standard way is with [img]http....jpg[/img], sure.

    Awesome recipe, thanks a million!! Very inspiring and i will get into Raspi & Raspian as soon as i can, just because it looks like a great way to expand the possibilities of the mc3k device.

    So are you saying that you managed to make everything work??

    EDIT: I must say that your recipe looks less scary than the strict tone of the stringent firmware FW1.13 upgrade instructions
    EDIT2: thanks also for the tinypic share!! (it is indeed tiny resolution and the pic URL will expire soon, such is tinypicDOTcom usage terms; uploads on abload.de don't get deleted)
    Last edited by kreisl; 02-02-2017 at 04:08 PM.

  12. #4422

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by kreisl View Post
    Okay now we want to see some photos

  13. #4423

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by kreisl View Post
    So are you saying that you managed to make everything work??

    I must say that your recipe looks less scary than the strict tone of the stringent firmware FW1.13 upgrade instructions
    Yep working indeed
    Cable forest not needed
    Did not experience much lag on the DEX screen, did not try a long run though

    Instructions a bit OTT and not optimised
    Just to give a flavour
    I put some debugging instructions on purpose and did not fully automised the stuff

    But at least (at last) that was my due to the DEX maintener really

  14. #4424

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Please feel free to maintain the recipe post (v0.0001a v0.0001b …), i have added a link to it from the front page post ("the list"). Really awesome!

    Quote Originally Posted by Ravel View Post
    Cable forest not needed
    what i can see and understand:
    - the red cable is the "PC Link" USB data connection from mc3k device to raspi device.
    - the 'HDMI'-labeled cable is going to your (temporary) screen
    - the black micro-USB (bottom right) cable is going to your 5V power source. Let's connect it to the 5V 2.1A USB power output of mc3k device, no?
    - the grey cable is for Ethernet/internet connection thru cable
    - the black USB cable (top left) is going to your (temporary) keyboard

    Is that correct?

  15. #4425

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by kreisl View Post
    Please feel free to maintain the recipe post (v0.0001a v0.0001b …), i have added a link to it from the front page post ("the list"). Really awesome!


    what i can see and understand:
    - the red cable is the "PC Link" USB data connection from mc3k device to raspi device.
    - the 'HDMI'-labeled cable is going to your (temporary) screen
    - the black micro-USB (bottom right) cable is going to your 5V power source. Let's connect it to the 5V 2.1A USB power output of mc3k device, no?
    - the grey cable is for Ethernet/internet connection thru cable
    - the black USB cable (top left) is going to your (temporary) keyboard

    Is that correct?
    Yes correct
    White underneath is a wifi dongle
    The captured screen and all the script and running where done over ssh
    So none of the temp devices were in fact used
    I wanted a forest for the pic

    >>the black micro-USB (bottom right) cable is going to your 5V power source. Let's connect it to the 5V 2.1A USB power output of mc3k device, no?
    Next step
    I wanted first to warn people
    do not skimp on power supply, otherwise the PI will blink (you can get a sign top right of screen looking like a thunderlight), or people will have errors on USB ports
    or not enough power to run some external HD drive or what not (even sometimes for the CPU).
    So quality and 10 W is rather a good investment (requirements may vary with PI models)
    (I use some mobile phone charger with success)

    Second, yes one can power from the MC3000 USB to micro/nano USB of PI.

    Third, actually some PI are designed for ''reverse USB power''.
    That is, one can bring the power into the PI just by one of the 4 USB ports (with limitations, this needs some serious reading)
    but potentially maybe even one less cable.

    Edited : added info
    Last edited by Ravel; 02-02-2017 at 04:55 PM.

  16. #4426

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by kreisl View Post
    Thanks for the info!

    Here is some more pertinent first-hand info from the maker as i understood it:

    One can use a normal PC monitor or even a TV, Raspi has HDMI for it, but one would need this only once, initially. Similarly with the keyboard. After everything is installed, set up, configured and running, one can unplug and get rid of screen and keyboard once and for all bye-bye, because one can control the Raspi also through VNC. VNC magically replicates the (bye-bye) Raspi screen on your remote PC or laptop. The transfer of files (*.OSD, *.CSV, *.BMP, and so on) between the Raspi and the PC/laptop can be done through "rsync" in either direction with no problems.

    Since Raspian is a Debian Linux variant, the user needs to do troubleshooting similar to MAC OS troubleshooting. The Linux kernel recognizes the MC3000 USB-HID, but one needs to achieve the membership of a group through UDEV. Only then one gets the authorization to use the USB device.

    The original power adapter of Raspi delivers 5V / 2A. Same as the USB power output of MC3000. Perfect match, nice.

    Okay now we want to see some photos
    >>but one would need this only once, initially
    In a perfect world, for an advanced user
    Not forgetting to install VNC, enabling ssh and god knows what else
    (for example : support for NTFS formated drives)
    Plus users will want to play around with raspbian.
    Do not forget the option to disable the desktop (and other services) to save memory and CPU

    >>The transfer of files (*.OSD, *.CSV, *.BMP, and so on) between the Raspi and the PC/laptop >>can be done through "rsync" in either direction with no problems.
    Indeed, rsync is a great advanced cp command, over a network capable,
    or with command cp and a usb drive
    or by setting up a samba share
    or by creating a networked shared directory via sshfs (those going full linux)
    etc

    >>power
    See my previous post warnings on the power topic.
    The raspberry can be powered from a battery bank like those
    to charge mobile phone (this might leave the USB ports short powered)

  17. #4427
    Enlightened
    Join Date
    Dec 2016
    Location
    California
    Posts
    67

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by Ravel View Post
    I know nothing about macOS, but a bash script is for linux usually

    Do you have a sudo command in MACOS ?
    This is to run a script as root/ superuser
    Yes Ravel, MacOS is built on top of a Linux (like) OS

  18. #4428

    Post Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by Benediction View Post
    Yes Ravel, MacOS is built on top of a Linux (like) OS
    Thanks a lot.

    Well I was not very clear.
    I know next to nothing, I only knew MACOS vamperised some linux stuff, or inspiration.

    But I really really did not know that there was a console user mode in MACOS !
    Next time sbdy ask for help with a MAC I will ask for the console mode
    I feel less ignorant, and I can convert mac users to command line mode now (maybe not )

    Closing the off-topic

  19. #4429

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Quote Originally Posted by Ravel View Post
    Yes correct
    >>the black micro-USB (bottom right) cable is going to your 5V power source. Let's connect it to the 5V 2.1A USB power output of mc3k device, no?
    Next step
    I wanted first to warn people
    do not skimp on power supply, otherwise the PI will blink (you can get a sign top right of screen looking like a thunderlight), or people will have errors on USB ports
    or not enough power to run some external HD drive or what not (even sometimes for the CPU).
    So quality and 10 W is rather a good investment (requirements may vary with PI models)
    (I use some mobile phone charger with success)

    Second, yes one can power from the MC3000 USB to micro/nano USB of PI.

    Third, actually some PI are designed for ''reverse USB power''.
    That is, one can bring the power into the PI just by one of the 4 USB ports (with limitations, this needs some serious reading)
    but potentially maybe even one less cable.
    Power requirements are here
    https://www.raspberrypi.org/help/faqs/#powerReqs
    and in the same link for what I called ''reverse usb power'' is what I once read about that topic :

    CAN I POWER THE RASPBERRY PI FROM A USB HUB?
    It depends on the hub. Some hubs comply with the USB 2.0 Standard and only provide 500mA per port, which may not be enough to power your Raspberry Pi.
    ...
    Please also be aware that some hubs have been known to “backfeed” the Raspberry Pi. This means that the hubs will power the Raspberry Pi through its USB input cable, without the need for a separate micro-USB power cable, and bypass the voltage protection. If you are using a hub that “backfeeds” to the Raspberry Pi and the hub experiences a power surge, your Raspberry Pi could potentially be damaged

    More details here
    http://raspberrypi.stackexchange.com...e-raspberry-pi
    partial quote showing that further reading is needed on that topic if one is intersted
    Things have moved on a bit, the situation now depends on which model of Pi you have.

    • On early raspberry pi model B boards the polyfuses on the USB ports will initially allow backpowering but are likely to trip out due to overcurrent before the Pi successfully boots.
    • On later raspberry pi model B boards (rev 1 "eco1" with links instead of polyfuses and rev2), raspberry pi model A and A+ boards and raspberry pi zero boards you can backpower from the USB ports.
    • On raspberry pi model B+ and raspberry pi 2 model B boards there is a power control chip on the board. This will prevent the board from starting up under backpower from the USB ports but interestingly it will allow backpowering after the board has started.




    Last edited by Ravel; 02-03-2017 at 08:30 AM. Reason: Added on more link to explain better

  20. #4430

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    Hi,

    What is the brand/model of that "Red Switch" please?

    thanks,
    Dave

    Quote Originally Posted by kreisl View Post
    Nice one! Thanks for sharing!



    I prefer my solution with red switch at high side. Because the adapter contains energy which i feel should be released when we power off the charger, no?

    Sent from my Note 4
    Not using Tapatalk

  21. #4431

    Default Re: SkyRC — IFA 2014 — MC3000 charger-analyzer

    @Ravel,
    fantastic info and links! I never went into Linux, Debian or Raspi before but now with your recipe and DEX3.2.9 i am planning to have Raspi on my purchase list this year. FT, BG, GB carry the Raspi items too, too bad that i missed out on the CNY holiday discount season to save a few bucks

    Quote Originally Posted by vronp View Post
    What is the brand/model of that "Red Switch" please?
    Hi vronp, the original post is here:
    http://www.candlepowerforums.com/vb/...=1#post4829154

    ...this particular switch version seems out of stock or even out of production/Discontinued. I got mine from FT back then.

  22. #4432

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by ninjasmoke View Post
    Yes, I did not download the "info.plist" file ... Thank you for pointing that out.

    Is the "info.plist" shown (above) to replace the info.plist already in the DataExplorer Contents folder?

    And if not ...

    Where is it supposed to be installed?




    Hi,

    It goes in the
    /System/Library/Extensions/SkyRC.kext/Contents/

    folder.

    I had trouble with the script not working right so I just manually set this up. Just follow the script line by line.

  23. #4433

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    So, I'm just getting into playing around with DEX and I either misunderstood the DEX capabilities or I am missing something.

    Is it possible to create "charging profiles" in DEX and upload them to the MC3000? It sure would be nice to build a library of profiles that could be shared on this forum.

  24. #4434

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by vronp View Post
    So, I'm just getting into playing around with DEX and I either misunderstood the DEX capabilities or I am missing something.

    Is it possible to create "charging profiles" in DEX and upload them to the MC3000? It sure would be nice to build a library of profiles that could be shared on this forum.
    The main functionality of DEX/MC3000 is (comprehension note: manually = your hands dirty on the device):

    • DEX-logging data to external screen (you need to start slots on the charger manually!) and DEX-saving data to PC-file format (OSD, CSV, BMP/PNG). We learned from Ravel and the DEX-maker that, in the end, you don't even need a PC/laptop for long-term logging: Raspi is a 2-4Watts PCB which could do the DEX-logging instead of your remote PC/laptop.
    • DEX-backup of your manually entered 30 programs in visual PC-file format (TXT) or functional PC-file format (XML). The XML-file would be also suitable for direct sharing; just don't change the original file name, then overwrite the existing file with the shared one. The XML-file is not meant for public sharing, i am just saying that it could be used for it instead of sharing TXT-file or reposting the TXT-file contents on forums.
    • DEX-restore of backed up programs from the XML-file. The restore is fugitive since the current settings in the slot are overwritten but not in the device memory. The 30 programs in the device memory remain untouched when you do a DEX-restore, similar to the workings of the bluetooth app. For example, you could run 4 programs sourced from your fliend's XML temporarily in the charger bay, none of which matches any of the 30 programs stored on the charger; basically making your charger host 34 different programs at that moment: 30 device programs plus 4 'slot programs'. When you stop a slot or play with the device keys lol, the DEX-restored program in the slot will be gone and the slot is ready to start the indicated program number.


    The above explanation of DEX functionality answers your question: No it is not possible to create a charging profile from scratch in DEX.

    For building a library of profiles, a big TXT-file or summ ting, one would do the following:

    1. Create charging profiles manually on the device, up to 30 different ones at a time. Either by heart from scratch or by peeking at a small TXT-file/printout
    2. Send the 30 programs to DEX for a DEX-backup. DEX automatically creates that XML-file, the file name and location are fixed!
    3. In the DEX 'MC3000-Dialog' window use the <Clipboard> button and copy paste the programs in visual format to a single TXT-file. At the end of the day your TXT-file will contain 30 programs in visual format.
    4. Go to 1., and repeat the steps. Add as many different programs to the TXT-file as you want.
    5. Now you have a big library in form of 1 single big TXT-file. Feel free to share (file upload or content copy paste) or print out.


    For illustration purposes lemme repost the animated really awesome GIF demonstrating the 'MC3000-Dialog'. i am pretty proud of the file and i will never get tired of reposting it or its URL:





    lol
    Last edited by kreisl; 02-04-2017 at 08:17 AM.

  25. #4435

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by vronp View Post
    What is the definition of "charge end current"? I do not see a reference in the MC3000 manual.

    I tried a refresh run on a laptop battery pull with a voltage of 2.26V. The charge cycle seemed to go well and I expected the discharge cycle to begin once the charge current dropped to 50mA. It did not.

    I'm on the latest firmware for the MC3000. Can someone clue me in as to what is supposed to trigger the discharge cycle?
    charge end current could be a different wording for TERMINATION. The bluetooth app must have been written by someone else or they decided to write longer names for the options. 'charge end current' would be too long a word on the LCD me thinks.

    Directly after the charge routine the charger does a resting routine. In SPV it is called C.RESTING . Once the rest phase is over, the charger goes into the discharge routine.


  26. #4436

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Quote Originally Posted by vronp View Post
    Hi,

    It goes in the
    /System/Library/Extensions/SkyRC.kext/Contents/

    folder.

    I had trouble with the script not working right so I just manually set this up. Just follow the script line by line.

    Vronp, Thanks for the reply.

    Are you saying that I first have to create a empty "folder" in the Extensions folder then re-name that folder "SkyRC.kext" then open that folder and then create another folder and rename it "contents" then ... put the skyRC "info.plist" file into that?

    Then after doing this I go back into Terminal and run the "createDummyUsbDriver.sh" shell?

    I don't seem to have permissions to attach screen shots. sorry

    Thanks,

    Brian
    Last edited by ninjasmoke; 02-04-2017 at 10:43 AM.

  27. #4437

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    @DT123 ,
    i have finished all tests, see my earlier post for the details etc, and i was able to confirm your observations. i am sure that the maker was aware of the phenomenon when the code for routine time and for Voltage Average in SOV was implemented yet nobody guessed that users would create programs consisting of routines longer than 18h or 24h (per routine!!)

    Quote Originally Posted by kreisl View Post
    • ++++++++++++++further potential firmware changes in future: ++++++++++++++
    • (k#85) in SOV, routine timer Time has a 65536 seconds-per-routine limitation which looks nn (CONFIRMED, PENDING)
    • (k#86) in SOV, Average stops getting updated after routine timer Time has exceeded the 24h mark (CONFIRMED, PENDING)
    While it is clear where in the code and how the 2 issues could be fixed, i don't know how easy it will be to fix them without changing the firmware structure. If the interface specification of FW1.13 and of the next firmware update are compatible with each other, then i'd suggest a hot release possibly named FW1.13.1. Compatible means that the identical 3.2.9 DEX would work with either 1.13.x FW version. Otherwise it'd take some time to see FW1.14 released and the matching 3.3.0 DEX. FYI the DEX author releases about 4 updates per year. Personal comment, k#85 and k#86 are clear issues but imho not too urgent because in practice they surface very rarely. mc3k programs with such long routines .. phuntastique!

  28. #4438

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    You're close.

    I believe the subdirectory is "Contents" (capital C).

    My Contents folder has Info.plist and Info.plist.sig in it. I don't know how important the .sig file is but it was there along with Info.plist so I put it in place.

    Then, you must _carefully_ follow the rest of the script and be sure to put sudo in front of every command.

    So, you do:

    sudo chown -R root:wheel SkyRC.kext
    sudo chmod -R 755 SkyRC.kext
    sudo kextcache -system-caches

    And, the final echo command is informational only. BUT, be sure to reboot after running these commands.



    Quote Originally Posted by ninjasmoke View Post
    Vronp, Thanks for the reply.

    Are you saying that I first have to create a empty "folder" in the Extensions folder then re-name that folder "SkyRC.kext" then open that folder and then create another folder and rename it "contents" then ... put the skyRC "info.plist" file into that?

    Then after doing this I go back into Terminal and run the "createDummyUsbDriver.sh" shell?

    I don't seem to have permissions to attach screen shots. sorry

    Thanks,

    Brian

  29. #4439

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    I should have also made the following comment as I am trying to be as specific as possible.

    You DON'T go back and run that shell script because we are essentially running it line by line here.

    Quote Originally Posted by vronp View Post
    You're close.

    I believe the subdirectory is "Contents" (capital C).

    My Contents folder has Info.plist and Info.plist.sig in it. I don't know how important the .sig file is but it was there along with Info.plist so I put it in place.

    Then, you must _carefully_ follow the rest of the script and be sure to put sudo in front of every command.

    So, you do:

    sudo chown -R root:wheel SkyRC.kext
    sudo chmod -R 755 SkyRC.kext
    sudo kextcache -system-caches

    And, the final echo command is informational only. BUT, be sure to reboot after running these commands.

  30. #4440
    Enlightened
    Join Date
    Dec 2016
    Location
    California
    Posts
    67

    Default Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer

    Well...yes we could share the slot programs, but it would not be readable within the XML format file that DEX saves for the 30 slots.
    And as Kreisl said earlier we can't modify DEX's xml file, because it has a "checksum" and would detect/reject any changes.

    Here is the format of the XML file - nothing very obvious about how it represents MC3000 settings.

    <Program Name="[04] - NEW-PROG-NAME">
    <SetupData>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</SetupData>
    </Program>
    <Program Name="1.0/-1.0 * 3 [2100] -&gt; 0.9">
    <SetupData>XwAAAwQINAPoA+gDhAYiAG4D6AMFAAAAAAAtAAA AAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAug==</SetupData>
    </Program>

Page 148 of 161 FirstFirst ... 4898138141142143144145146147148149150151152153154155158 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •