Comments (6)
All clear! thanks a lot
from cc1101.
hi ElPernotador,
- you want to connect a rPi 3 with an Arduino via a CC1101 module?
- you said, that the tx_demo of the rPi 3 seems to work correctly?
- you have trouble with the Arduino example, which stops at function cc1100.sidle ();?
- may you post the Arduino serial output?
BTW: I don't know your CC1101 module, but please be sure that this module can handle the 5V voltage level output of the Arduino. As I remember, the Arduino has 5V GPIO output, even you has connected VCC to 3.3V. The pure CC1101 IC is NOT 5V tolerant. This could be the issue.
regards,
Chris
from cc1101.
Hello!
If we are trying to connect an arduino to a raspberry
In the raspberry seems to work correctly, attached initial log:
$ ./TX_Demo -v -a1 -r3 -i1000 -c1 -m250 -f434
CC1100 SW: Verbose option is set `'
Raspberry CC1101 SPI Library test
Init CC1100 ...
Partnumber: 0x00
Version: 0x14
... done!
Mode: 4
Frequency: 2
Channel: 1
My_Addr: 1
Config Register:
0x07 0x2E 0x80 0x07 0x57 0x43 0x3E 0x0E 0x45 0x01
0x01 0x0B 0x00 0x10 0xB0 0x71 0x2D 0x3B 0x73 0xA0
0xF8 0x00 0x07 0x0C 0x18 0x1D 0x1C 0xC7 0x00 0xB2
0x02 0x26 0x09 0xB6 0x04 0xEC 0x29 0x17 0x11 0x45
0x00 0x59 0x7F 0x3C 0x81 0x3F 0x0B
PaTable:
0x6C 0x1C 0x06 0x3A 0x51 0x85 0xC8 0xC0
TX_FIFO: 0x06 0x03 0x01 0x00 0x00 0x03 0xE8
#: 0x01
TX_FIFO: 0x06 0x03 0x01 0x00 0x00 0x03 0xE8
#: 0x02
And so on indefinitely
The log on the Arduino is:
Init CC1100 ...
Partnumber: 00
Version: 14
In EEPROM settings ...>
And there are no more changes
As for your clarification of the 5v, we try this example:
Https://github.com/veonik/arduino-cc1101/blob/master/examples/example.ino
Between 2 arduinos and works perfectly with similar connectors, but we are impossible to configure it to connect with a raspberry
THANK YOU
from cc1101.
ok, you can read the Partnumber and Version of the chip, which means that your SPI interface is correct. But I can not see any EEPROM settings. Did you upload your personal eeprom data, which the Arduino compiler generates for you, to the Arduino board? I mean the eeprom python script, which is mentioned on the ReadMe site.
https://github.com/SpaceTeddy/CC1101#arduino-specific
from cc1101.
Really, thank you very much. The answer was before our eyes but we did not see it.
I work perfect.
We only have one doubt, why is it necessary to record this data in the EEPROM initialy?
from cc1101.
Happy that I could help you!
The only reason I made it in this way is to safe flash memory. If you want to use only one modulation setting i.e. Gmsk 100kbit, you can hard code it in your main Arduino Sketch. It is up to you ;)
from cc1101.
Related Issues (20)
- Can I use this libary to sniff 868Mhz protocol with CC1101 HOT 2
- Will the TX_Demo and RX_Demo work on one raspberry pi at the same time? HOT 2
- Using CC1101 to Sniff 433Mhz for RF controls and sensors on Raspberry
- Tx is working, however Rx does not register any received signal. Antennas confirmed working.
- Noob problems HOT 6
- TX-only without addressing HOT 1
- Some question for porting to ESPxx HOT 1
- send txbuffer
- Message blocking
- Please Add a License HOT 1
- CC1101 detected, but demo transmit fails HOT 3
- Should the first byte of tx buffer be length byte ?
- Usability for USB (UART silabs cp210x) connected CC1101 HOT 2
- Arduino. TX. Hang in receive() -> sidle() after initialization.
- Use function
- Receive raw data for replay HOT 1
- Problems with Raspbian Bullseye HOT 4
- Issue with interfacing HOT 1
- Sending data from RPI to Arduino HOT 1
- No output after 'Init CC1100...' (Arduino) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cc1101.