Rf receiver gerber
// receiver.pde
#include <VirtualWire.h>
int count;
const int ledPin10 = 0;
const int ledPin11 = 1;
const int ledPin0 = 2;
const int ledPin1 = 3;
const int ledPin2 = 4;
const int ledPin3 = 5;
const int ledPin4 = 6;
const int ledPin5 = 7;
const int ledPin6 = 8;
const int ledPin7 = 9;
const int ledPin8 = 10;
const int ledPin9 = 11;
void setup()
{
// Serial.begin(9600);// Debugging only
// Serial.println("setup"); //Prints "Setup" to the serial monitor
pinMode(ledPin0, OUTPUT);
pinMode(ledPin1, OUTPUT);
pinMode(ledPin2, OUTPUT);
pinMode(ledPin3, OUTPUT);
pinMode(ledPin4, OUTPUT);
pinMode(ledPin5, OUTPUT);
pinMode(ledPin6, OUTPUT);
pinMode(ledPin7, OUTPUT);
pinMode(ledPin8, OUTPUT);
pinMode(ledPin9, OUTPUT);
pinMode(ledPin10, OUTPUT);
pinMode(ledPin11, OUTPUT);
digitalWrite(ledPin8,LOW);
vw_set_rx_pin(13); //Sets pin D12 as the RX Pin
//vw_set_ptt_inverted(true); // Required for DR3100
vw_setup(4000); // Bits per sec
vw_rx_start(); // Start the receiver PLL running
}
void loop()
{
uint8_t buf[VW_MAX_MESSAGE_LEN];
uint8_t buflen = VW_MAX_MESSAGE_LEN;
if (vw_get_message(buf, &buflen)) // Non-blocking
{
int i;
// Flash a light to show received good message
// Message with a good checksum received, dump it.
//Serial.print("Got: ");
for (i = 0; i < buflen; i++)
{
char c = (buf[i]);
Serial.print(c);
Serial.print(" ");
if (buf[i] =='0')
{
digitalWrite(ledPin0,HIGH);
}
if (buf[i] =='1')
{
digitalWrite(ledPin0,LOW);
}
if (buf[i] =='2')
{
digitalWrite(ledPin1,HIGH);
}
if (buf[i] =='3')
{
digitalWrite(ledPin1,LOW);
}
if (buf[i] =='4')
{
digitalWrite(ledPin2,HIGH);
}
if (buf[i] =='5')
{
digitalWrite(ledPin2,LOW);
}
if (buf[i] =='6')
{
digitalWrite(ledPin3,HIGH);
}
if (buf[i] =='7')
{
digitalWrite(ledPin3,LOW);
}
if (buf[i] =='8')
{
digitalWrite(ledPin4,HIGH);
}
if (buf[i] =='9')
{
digitalWrite(ledPin4,LOW);
}
if (buf[i] =='a')
{
digitalWrite(ledPin5,HIGH);
}
if (buf[i] =='b')
{
digitalWrite(ledPin5,LOW);
}
if (buf[i] =='c')
{
digitalWrite(ledPin6,HIGH);
}
if (buf[i] =='d')
{
digitalWrite(ledPin6,LOW);
}
if (buf[i] =='e')
{
digitalWrite(ledPin7,HIGH);
}
if (buf[i] =='f')
{
digitalWrite(ledPin7,LOW);
}
if (buf[i] =='g')
{
digitalWrite(ledPin8,HIGH);
}
if (buf[i] =='h')
{
digitalWrite(ledPin8,LOW);
}
if (buf[i] =='i')
{
digitalWrite(ledPin9,HIGH);
}
if (buf[i] =='j')
{
digitalWrite(ledPin9,LOW);
}
if (buf[i] =='k')
{
digitalWrite(ledPin10,HIGH);
}
if (buf[i] =='l')
{
digitalWrite(ledPin10,LOW);
}
if (buf[i] =='m')
{
digitalWrite(ledPin11,HIGH);
}
if (buf[i] =='n')
{
digitalWrite(ledPin11,LOW);
}
// count++;
//Serial.print(count);
//Serial.println("");
} }}
Rf receiver gerber
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(1)
-
António Miguel Teixeira Azevedo
Nov 29,2018
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by AKASH KODU
-
BorePilot - ESP32-S3 Smart Borewell Pump Controller
86 0 0 -
-
-
AudioLink – USB & Bluetooth LE Audio / Auracast Receiver with Balanced Line Outputs (nRF5340)
324 0 1 -
-
-
-
Émetteur Récepteur Optique Expérimental (communication UART ATtiny + fibre optique)
381 0 1 -
-
SmallOLED - Live PC Stats, Animated Clocks & Audio Visualizer
1483 0 3
Top Solder Mask
Top Overlay
Top Copper Layer
Bottom Solder Mask
Bottom Copper Layer
Keep Out Layer
Bottom
Top







