How to tx/rx from sensor connected to arduino micro over arduino

Hello everybody,

Hope someone can help me with my problem:
I am trying to use the CC1101 in this version [1], which is basically connected over SPI with an Arduino Micro. Now I want to attach an Arduino Uno to this module, to use it for tx/rx.
So far I have connected the Arduino Uno to the SPI by connecting the pins (SCLK, MISI, MOSO, SS) of the module with the corresponding pins of the Uno (13, 12, 11, 10).
For programming I am using the Arduino IDE and the panstamp cc1101 library.

My problem is that I can not connect the GDO0 pin to the Arduino pin 2, because the GDO0-pin is wired up internally [1, page 3-5].

Does someone have an idea how can I use the CC1101 from the Uno?

Thanks in advance,
Nick

[1] http://wiki.in-circuit.de/images/4/49/305000077A_radino_CC1101.pdf

Huh?

sensor to Arduino Micro to Arduino Uno ?

ieee488:
Huh?

sensor to Arduino Micro to Arduino Uno ?

The module is called Radino (see please my provided link). It is connectable with the Arduino Leonardo, therefore I think it should be possible to connect it with Arduino Uno. So far I only want to use the CC1101 for the Arduino Uno. But as already mentioned in my thread starting, The GPO0 is wired internally, maybe somebody can hlep me out how to solve that problem?

NickGordon:
The module is called Radino (see please my provided link). It is connectable with the Arduino Leonardo, therefore I think it should be possible to connect it with Arduino Uno. So far I only want to use the CC1101 for the Arduino Uno. But as already mentioned in my thread starting, The GPO0 is wired internally, maybe somebody can hlep me out how to solve that problem?

Your first post is confusing.

You do realize that there is such a thing as a Arduino Micro board?
If you are referring to the microcontroller, then you refer to it as the Atmega.

"You do realize that there is such a thing as a Arduino Micro board?"

I believe there is:

Why can't another pin besides GDO0 be used?
Like the Rx/Tx pins?

CrossRoads:
"You do realize that there is such a thing as a Arduino Micro board?"

I believe there is:
https://www.arduino.cc/en/Main/ArduinoBoardMicro

Which is why I wrote that his first post was confusing.
It read at first as him connecting the sensor to the Arduino Micro and then he wanted to connect to the Arduino Uno which made no sense.

Then it was apparent with his second post that the Arduino Micro he was writing about was actually meant the Arduino board's micro as in microcontroller. ::slight_smile:

ieee488:
Which is why I wrote that his first post was confusing.
It read at first as him connecting the sensor to the Arduino Micro and then he wanted to connect to the Arduino Uno which made no sense.

Then it was apparent with his second post that the Arduino Micro he was writing about was actually meant the Arduino board's micro as in microcontroller. ::slight_smile:

Sry if my explanation was not clear enough. As you clarified, I want to use the Radino only for rx/tx for the Arduino uno.

CrossRoads:
Why can't another pin besides GDO0 be used?
Like the Rx/Tx pins?

Sry I do not understand this. I only want to use the CC1101. If I use rx/tx pins, I would start a communication with the Arduino Micro and therefore I would have to program the Micro, wouldn´t I?

If the Arduino part of the chip had only a basic program loaded:
void setup(){}
void loop(){}
than all the 32U4 pins would be inputs.
You should then be able to connect to

CC1101-GDO2

or

CC1101-GDO0

without interference.

CrossRoads:
If the Arduino part of the chip had only a basic program loaded:
void setup(){}
void loop(){}
than all the 32U4 pins would be inputs.
You should then be able to connect to

CC1101-GDO2

or

CC1101-GDO0

without interference.

Thx for your answer. Regarding this I have some questions:

  1. According to the datasheet, a modified Arduino Micro Bootloader is installed on the module. So how can I know that your described program is loaded? Or can I load it over the Uno on the Micro?
  2. So far I have connected 3v3, GND, SS, MISO, MOSI, SCLK of the UNO with corresponding pins on the module. If I connect RX to TX and TX to RX, I am not able to upload sketches to the Uno anymore. Getting the error "avrdude: stk500_getsync(): not in sync: resp=0x1c".
    Do I have to upload first and then connect the tx/rx pins?
  3. What exaclty do you mean I can connect to GDO0/2? How?