Code Monkey home page Code Monkey logo

a13-kernel-modules's People

Contributors

hhornbacher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

funordie ribster

a13-kernel-modules's Issues

1: diff=1 on olinuxino A20

Hi @hhornbacher , forgive me if I insist (I wrote you a mail) but I really would like to make this work..
I'm trying to use this driver on a Olinuxino A20, and tried several things. I'm running arch linux arm, linux-sunxi kernel 3.4.103. My sensor has the AM2303 code printed on it.
First, I changed the include <mach/sys_config.h> to <plat/sys_config.h> because the linux-sunxi-headers have a wrong symlink, so I bypassed the problem.
I succesfully compiled and loaded the module, but everytime I cat /proc/dht22/raw_data I get wrong values and dmesg shows that I have a diff=1 (sometimes 2) at the first reading.
I tried to change delays in the write part but nothing changed.
I checked that my DHT22 works with a minimus avr (similar to teensy 1.0) using the arduino DHTlib.
I also tried to get rid of all the compilation warnings by adjusting some casts and prototypes, but obviously nothing changed.
I also checked that dht22_sun5i_write_bit and dht22_sun5i_read_bit functions are working properly by modifying the dht22_sun5i_sensor_read function to only read the pin (and connecting it to vcc/gnd) or write to it (and using a multimeter).
As I found in every guide I red (for arduino, raspberry and other dev boards) I use 10K resistor between VCC (5V) and data (but removing the resistor doesn't have any effects).

So the end result is the function detects that the line doesn't go in low voltage state after issuing the start command. What am I doing wrong?
Any help is much appreciated.

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.