hhornbacher / a13-kernel-modules Goto Github PK
View Code? Open in Web Editor NEWSome kernel modules written for the Allwinner's A13 (especially the A13-OlinuXino)
Some kernel modules written for the Allwinner's A13 (especially the A13-OlinuXino)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.