background image

CC1101   Arduino ProMicro
 ------   ----------------
 GND      GND
VCC      VCC (3.3V)
MOSI     MOSI  (16)
MISO     MISO  (14)
SCK      SCLK  (15)
GD02     A0   (18)
GD00     A1   (19)
CSN      A10  (10)

A quick start for the CC1101 is to use the library from Elechouse. Download the library by clicking the "get code"
link on that page. 

Create a folder for CC1101 in your Arduino Libraries folder. Place the two ELECHOUSE_CC1101  les (.cpp and .h) into
that folder. Also create an examples folder within that folder and place the three demo/example folders in there. 

Update the pins de nitions in the  le ELECHOUSE_CC1101.h like so: 

#define SCK_PIN   15
 #define MISO_PIN  14
#define MOSI_PIN  16
#define SS_PIN    10
#define GDO0   19
#define GDO2   18

Then place the example  le CC1101_RX on one CCStick and the example  le CC1101_TX on the second CCStick. 

There are a number of other interesting resources and projects for the CC1101 transceiver including the following
example: 

TomXue Arduino CC1101 Arduino Library
SmartRF Studio
Electrodragon CC1101 Project
CUL Project
CCManager Project
DIY nanoCUL
Another CC1101 Microcontroller Setup 

NOT E ABOUT  USING INT ERRUPT S:

NOT E ABOUT  USING INT ERRUPT S:  

To sample the Elechouse example sketch CC1101_RXinterruprt, connect two pins of the Arduino ProMicro on the
bottom side of the CCStick PCB. These are pins 7 and 19 (A1) which connects the transceiver GDO0 signal to pin 7 of
the microcontroller, which is one of the external interrupt pins. Next, update one of the pin de ne lines discussed
above to "#de ne GDO0 7 //and 19" since GDO0 is now jumpered from pin 19 to pin 7. Next, in the
CC1101_RXinterruprt  le,  nd the line calling function attachInterrupt() and change the  rst parameter (interrupt
number) from "0" to "4". This is done because pin 7 of the ProMicro is associated with interrupt #4. 

HackerBox 0034: SubGHz: Page 12

Summary of Contents for HackerBox 0034

Page 1: ...rBox like this right in your mailbox each month please subscribe at HackerBoxes com and join the revolution Topics and Learning Objectives for HackerBox 0034 Con guration and Use of SDR Radio Receiver...

Page 2: ...tware tools Most importantly you will need a sense of adventure DIY spirit and hacker curiosity Hardcore DIY electronics is not a trivial pursuit and HackerBoxes are not watered down The goal is progr...

Page 3: ...ZigBee Some interesting frequencies to explore include 88 108 MHz FM Broadcast NOAA Weather Radio Air Tra c Control 315 MHz Keyless Entry Fob most American Cars 2m Ham Calling SSB 144 200 MHz FM 146...

Page 4: ...iate Frequency 36 125MHz low IF 4 57MHz or Zero IF output using a 28 8MHz crystal and includes FM DAB DAB Radio Support Embedded with an advanced ADC Analog to Digital Converter the RTL2832U features...

Page 5: ...artment and emergency stations taxi tra c airplane communications audio of analogue TV broadcasts HAM radio amateurs digital broadcasts and many more An on the go OTG USB cable or adapter is required...

Page 6: ...pF Ceramic Capacitor 10 Antenna Wire 9V Battery Clip Header Pins break to 2 and 3 pins Note that the three transistors the microphone and the one electrolytic capacitor must be oriented as shown on th...

Page 7: ...scillator Changing the values of C5 and or L1 will change the transmit frequency After initial assembly the default transmit frequency will be about 83MHz Gently spreading the turns of coil L1 a tiny...

Page 8: ...3 33pF D1 D2 1N4148 Diodes Yellow LED Audio Phone Jack 3 5mm Four Pin Header with Jumper Five Momentary Pushbuttons Dual AA Battery Holder The HEX3653 receiver chip operates over the 76MHz 108MHz freq...

Page 9: ...F signal rst goes through L1 and C4 which act as a lter Then two clipping diodes are used to limit excessive input voltage The ve pin header labeled B allows the receiver module to be integrated into...

Page 10: ...ost sub GHz transceiver designed for very low power wireless applications The circuit is mainly intended for the Industrial Scienti c and Medical ISM and Short Range Device SRD frequency bands at 315...

Page 11: ...y Sparkfun has a great Pro Micro Hookup Guide The Hookup Guide has a detailed overview of the Pro Micro board and then a section for Installing Windows and a section for Installing Mac Linux Follow th...

Page 12: ...umber of other interesting resources and projects for the CC1101 transceiver including the following example TomXue Arduino CC1101 Arduino Library SmartRF Studio Electrodragon CC1101 Project CUL Proje...

Page 13: ...ronics and computer tech projects descend upon your mailbox each month please join the revolution by sur ng over to HackerBoxes com and subscribing to receive our monthly surprise box Reach out and sh...

Page 14: ...it up using the jumper to set the headphones as the antenna and at once I was listening to the local FM stations around here But as I walked around the house I somehow managed to cause a short due to...

Page 15: ...it It DOES work but touching it or moving it I could interfere with the entire FM spectrum Now you can speak from experience as to why we use crystal oscillators My first box of my first annual subscr...

Reviews: