level shifting using CD4050BE

raschemmel:
Is it this ?

no

at first I had used [this but I found it rather time consuming to solder the 1.27mm pin header, so when one of those died I replaced them with
this, but when I killed one of those too I decided that I should look for something with a 2.54mm header and since I thought that a somewhat better antenna might not be a bad thing I am now using that one

Where is the receiver and is there more than one ?

How did you learn to use tge chip ? (it is unusual for newbies to post about a project that has a chip with such a detailed datasheet and not ask for help with the datasheet. What's your electronics background ?

raschemmel:
Where is the receiver and is there more than one ?

How did you learn to use tge chip ? (it is unusual for newbies to post about a project that has a chip with such a detailed datasheet and not ask for help with the datasheet. What's your electronics background ?

I am using both - a SI4432 based transceiver and an additional 433mHz receiver (see one of these). When you look at the photo on my project page you'll see the blue transceiver PCB just below the externally mounted antenna. You'll not see the 433mHz receiver since it is glued beneath the CB that holds the Arduino.. (I am using the SI4432 to communicate with my PC whereas the 433mHz receiver picks up the signals of the nearby soil/air sensors..)

I have virtually no electronics background at all (as a kid I had one of those electronics experimentation kits and later I did simple repairs like replacing exploded electrolytic capacitors on my PC's mainboard to give it a 2nd life.. but that's it). I never read the SI4432 datasheet.. but I had found a youtube video where some russian guy shows how to wire it to an Ardiuno.

I must say, you should probably get the award for "Most Motivated and Determined Newbie".

I had a hard time beleiving a Newbie could read and undrrstand that such a detailed datasheet. It would probably take at leasf an hour to study it and undrrstand it. I'x like to see the link about "Russian Guy" ..

What about the code ? How did do that ?

You should post it so others can see it. You can post it using the CODE TAGS [</>] button or as an attachment.

raschemmel:
I must say, you should probably get the award for "Most Motivated and Determined Newbie".

LOL

raschemmel:
...I'x like to see the link about "Russian Guy" ..

What about the code ? How did do that ?

You should post it so others can see it. You can post it using the CODE TAGS [</>] button or as an attachment.

I think this is the video... and eventhough the russian language is total gibberish to me.. the guy shows schematics (now that I see it again I realize that he even already used a CD4050BE.. and unfortunately I had missed that one) and you see the example code he is using..

Well this is the summary that I wrote up for myself:

*  color:     transciver pin:       comment:                arduino pin:
*  -----------------------------------------------------------------------
*  black              GND+SND                                 GND
*  yellow           nIRQ/NIRQ                                 D2
*  green            nSel/NSEL      chip select/ss             D10
*  white             SCK/SCLK      spi clock in/sck           D13
*  blue                   SDI      spi data in/MOSI           D11
*  purple                 SDO      spi data out/MOSO          D12
*  red                    VCC      3.3V                       separate regulator may be required (e.g. 3.3V on ProMini is limited to 50mA)!
*                        GPIO      unused

As for the code you can then use the out of the box "RF22" lib examples (e.g. "rf22_client") or the respective rf22 examples from the more recent RadioHead lib (I am using the older "RF22" lib because it consumes slightly less FLASH memory - and I am very short on FLASH memory: "Sketch uses 30,416 bytes (99%) of program storage space.").

Depending on the library version that you use you might just need to define:

#define SLAVE_SELECT_PIN 10
#define USE_IRQ 0    /* Arduino PIN is USE_IRQ+2*/

and since the device requires 3.3V you may need to add some 5V to 3.3V level shifting depending on the Arduino you use..

Your schematic doesn't show the 30 MHz crystal but the datasheet shows it the application examples .
Do you have one ?

Looking at the schematic you posted it is clear it is simply a SPI interface with d2 driving the Si4432 Nirq pin.

The datasheet has application schematics that include many components not in yours.

How much is actually missing from your schematic ?

What "schematic" and what "datasheet" are you referring to? My transceiver looks exactly like the one that the aliexpress seller depicted in the link that I had posted above. The respective pin layout is this:

I have no idea what crystals (or other building blocks) it may or may not have.. for me it is just a black-box that I can access using some SPI interface :slight_smile:

It looks like the crystal is the rectangular metal thing near the chip.