Radio FM Arduino Nano

3 weeks ago

Profile:arduino

Open source license: Public Domain

  • 52
  • 0
  • 0

Description

// This project is in public Domain //
// Project Designer... Antonio Galvan//
//visit Arduino.cc and project Hub//
#include <Wire.h>
#include <LiquidCrystal.h>
#define clk 2
#define dt 3
#define sw 4

LiquidCrystal lcd(5,6,7,8,9,10);

double frequency;
unsigned char frequencyH = 0;
unsigned char frequencyL = 0;
unsigned int frequencyB;
volatile boolean TurnDetected;
volatile boolean up;

void isr0 ()  {
  TurnDetected = true;
  up = (digitalRead(clk) == digitalRead(dt));
}
void setFrequency()  {
  frequencyB = 4 * (frequency * 1000000 + 225000) / 32768;
  frequencyH = frequencyB >> 8;
  frequencyL = frequencyB & 0XFF;
  Wire.beginTransmission(0x60);
  Wire.write(frequencyH);

Documents

BOM

ID Name Designator Footprint Quantity
1 ANTENNA ANT1 PAD-01 1
2 4.7uF C1,C2 CAP-TH_BD5.0-P2.00-D0.8-FD 2
3 Line out H1 HDR-F-2.54_1X2 1
4 1k R1 R0603 1
5 10K R2,R3 R0603 2
6 10K RP1 RES-ADJ-TH_3386P 1
7 TEA5767 U1 FM/AM MODULE 1
8 ROTARY_ENCODER_LABELED U2 ROTARY_ENCODER 1
9 ARDUINO_NANO U4 ARDUINO_NANO 1
10 HD44780LCD-1602 X1 LCD1602 1

Unfold

Project Members

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn