Git Product home page Git Product logo

wd03-utils's People

Contributors

badzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jps1974

wd03-utils's Issues

Prerequisites

What are the prerequisites to use this? From the source it looks like the package kmod-i2c-ralink is needed. Are there any others? Does the /dev/i2c-0 device need to be manually created as it is not showing up for me after I installed kmod-i2c-ralink? All I see in dmesg about i2c is:
[ 17.316092] i2c /dev entries driver

Thanks

Bricked RP009

I tried OpenWrt then I wanted to go back to stock firmware so I sadly uploaded it from OpenWrt and bricked.

As I did't found your email I am trying to contact you because I found this thread

Hope you can help me and sorry about bothering you this way

EDIT: Some people said the method is the same as WD03

Setup wd03-utils on OpenWRT

Hello Matthias,
i am using the Ravpower WD03 and got managed to run OpenWRT on it. I would like to get also some battery status of the device.
I would like to ask if you can give a quick how to of using your utils.
I already installed kmod-i2c-core but stuck using your header and the c file.
Would be happy if you can help out here with a quick how-to.

Many Thanks
Andreas

Latest firmware for WD03

Hi @badzz,
In your post, you said you could help with the fw. It appears that Ravpower has removed it from their website so I'm no longer able to get it from them.

Any chance you can help track down the fw-7620-WiFiDGRJ-RAVPower-RP-WD03-2.000.074 file, assuming that's the latest?

Integrate to OpenWrt Build

Hi,

Sorry, not so much a problem / issue, but not sure how else to ask this - and likely good to capture? How to include this utility in an OpenWrt build? Just copy the directory somewhere, and "enable" it (somehow)?

Thanks!

Sometimes readings are incorrect

Every once in a while a reading comes back wrong. Looking into this I found that the wrong reading is actually the result from the previous mode. To correct this a delay is needed after setting the mode and before reading the value. Doing some experimentation it looks like 10ms is enough (could go to 15 to be cautious). So with a delay of:
#define DELAY_NS 10000000
in a nanosleep after the i2c_smbus_write_byte_data call I have seen no incorrect readings.
req.tv_sec = 0;
req.tv_nsec = DELAY_NS;
if(nanosleep(&req, NULL)) printf("nanosleep failed\n");

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.