fattoresaimon / i2cencodermini Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
I've tried two devices, and bricked both. Presumably the project as is must disable the UPDI pin feature in order to use the pin as an interrupt out. Maybe the devices are now functioning as i2c encoders, but I can't check that right now.
If I'm correct, where does that occur in the code? I'd like to prevent it to verify my IDE and programmer is set up correctly.
I didn't think the UPDI could be locked out without setting a fuse, and I didn't think fuses were set by loading and running code in debug.
I assembled 4 pieces of I2CEncoderMini_V1.1 and uploaded the HEX file directly. I've got everything working except the INT pin.
I'm using the Basic_with_Callbacks sketch. I'm trying to read the configuration and it is:
interrupt config is 255
ID code is 57
version is 17
It seems to me that the INT pin never goes LOW regardless of "i2cEncoderMiniLib::IPUP_ENABLE" or IPUP_DISABLE.
Is there something else around the proper use of the INT?
Shouldn't there be a small resistor in series with the capacitor and the encoder contacts to prevent the cap short circuit to GND?
It's a real shame the pin spacing is not the same on the V2.1 encoder and the mini encoder.
Pin spacing is 19.6mm on the mini and 20.9mm on the v2.1 (estimated from the gerber files)
This makes them almost incompatible.
Regards
Hugh
How can we disable clock stretching. We cannot get the encoder to work with an LPC1768 MBED.
The datasheet link is 404
I bought several of the mini boards a few months ago but just now got to try them out. I am running the Change_Address program but can never find the encoder. I have tried three diffrent boards using a Tinsey 3.2, NodeMCU v2 ESP8266 and a ATmega328P. I have verified my setup each time using an MCP23017 wired for address 0x27, the MCP chip always shows up but never the mini. Any thoughts or suggestions?
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.