LSatan / SmartRC-CC1101-Driver-Lib

This driver library can be used for many libraries that use a simple RF ASK module, with the advantages of the cc1101 module. It offers many direct setting options as in SmartRF Studio and calculates settings such as MHz directly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use of the i2c on wemos d1 mini

boumboum68 opened this issue Β· comments

Hi there

I'm struggling to find a solution for my question perhaps you could help me... πŸ˜…
The gdo0 and 2 pins are connected to the i2c pin on the wemos
I wold like to connect a oled display to display info
How could I connect this 2 pins and configure them to be able to use the i2c?.
Thanks for your help

hi, you still have D0, D3 and D4 to choose from for the gdo pins. change the pins in the sketch and try whether sending and receiving still works. Regards

Thanks @LSatan I've tried but impossible to program the wemos module
Does any other configuration of the pin have to be done or only the d pin on the cc1101 library?
Tha KS

no you have to change the pin in the examples. which example do you use?

OK
This is the program I use or trying πŸ˜…
https://github.com/supermomo31/Somfy_MQTT
But can't find where to change only in your library

Perhaps you better find the declaration that could save me

You do not understand. it is changed in the skitze. not in my lib. in this case the pin is changed in somfy_remote.cpp.

Screenshot_20210127-180017_Chrome

regards

yes exactelly what i've done to have the DO and D3 to be used
image
but then the module have no output on the serial monitor like it hangs .
image

if i remove one of the GDO pins then it works normally that's why my question:
image

Ok and 2 and 16?

0 is use for flash

right i chaznge it to D4 meaning 2 and D0 16
image
perhaps do iu do something wrong on the pining numer?

16 was Used for wake up

Is it only transmit?
Or also received?

yes only transmit

ok i think it can only send. I will later make a few corrections to the somfy_remote.cpp. then gdo0 on D4. you won't need gdo2.

oh thanks thats really cool ..
then waiting for your feedback .

I wonder a little. gdo2 can actually only receive and not send. at least in ask mode. gdo0 can do both.

So this mean that gdo0 have to used? Or not possible at all?

Do you think that better is to use a esp32 module in place of the wemos d1 mini?

So this mean that gdo0 have to used? Or not possible at all?

True we use gdo0.

Do you think that better is to use a esp32 module in place of the wemos d1 mini?

Esp32 is better. Now we check wemos d1 At First

Do you think that better is to use a esp32 module in place of the wemos d1 mini?

OK boss πŸ‘ŒπŸ˜…

ok, check the somfy_mqtt.zip. Set the TxPin in the somfy_mqtt.ino after all the includes. give me a feedback on whether it works.
Somfy_MQTT.zip

@LSatan thanks a lot.. That will cost me a beer πŸ˜‰
I wil' try this tommorow morning and be back to you.
By the way seems that even with the standard config when you remove the gdo2 wire seems working in TX only but not sure that the right way.

I'm trying to test you code but i have an error in the compile:
image

sorry I can only check it on Sunday. i'm not at home. I'll sign up again.

Absolutely no problem.. Have a nice weekend