-
• #2
What chip is that on it? Tiny 84?
-
• #3
I don't know the Tiny family, but it is written "ATTINY 441" on the chip
-
• #4
Oooh, someone's fancy!
The tiny x41 series is the second gen of the tiny x4 (where x is 2/4/8, the size of the flash in kb); nice chip - 3 hardware timers and 2 uarts, fancier than I'd have guessed. I got the x41 series working with arduino a few months back, and use them a lot in projects.
-
• #5
That's great, thanks! I'll have to have a play with one of those :)
Looks like it's just that board that implements the protocol, but I guess we could still do a module to make it easy to interface to?
-
• #6
@Jean-Philippe_Rey Hello how is it gooing with the chirp? Anyhing new? Can you provide a closeup on the chirp and the pico so i can do the same?
-
• #7
Can i use this chirp with puckjs? I was wondering if I could send MQTT signals to node-red?
-
• #9
If I use a pico/wifi could I in theory have several Chirps connected? And even have a I2C screen connected att the same time? The idea is to have several flower pots connected near each other.
-
• #10
I2C is an addressed bus. This means you can have multiple
slaves
communicating with (usaually) a singlemaster
. Often, different kind of I2C devices have different addresses. Your I2C lcd is not likely to have the same address as your Chirp.
The difficulty comes with multiples devices of same kind, such as two or more Chirps. In some way you have to differentiate them on the I2C bus. Fortunately, Chirp seems to provide a way of doing it: https://github.com/Miceuz/i2c-moisture-sensor/blob/master/README.md#address-change-exampleI never tried. Please share your thoughts on this method if you try it! :-)
-
• #11
Thank you @Jean-Philippe_Rey maybe I will! ;-)
-
• #12
Worth nothing that Espruino also has software I2C support now, so you can have lots and lots of different I2C ports, one for each sensor.
-
• #13
Nice that is grate news
Hi guys.
This following post refers to the "Chirp" soil moisture sensor (https://www.tindie.com/products/miceuz/i2c-soil-moisture-sensor/).
I just successfully integrate this sensor into Espruino. As far as I know, nobody did it yet (or did not publish a basic example code), so I decided to post it here.
You will notice that this piece of hardware integrate a capacitive sensor, as well as a luminosity & temperature sensor.
The temperature result is in [°c/10] : if result is 226, temperature is 22.6°c.
The capacitive & luminosity sensor are both relative.
If you try it, do not forget to add two ~10k Pull-ups on both SDA and SCL.
If anyone has a better code or a dedicated .js class, do not hesitate to publish it! :-)
1 Attachment