License

Public Domain

Tags
Recommend Projects

Radio FM Arduino Nano

2 months ago 80
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

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

Sheet_1

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

Attachments

Filename Download
New Text Document.txt
digital_radio_code.ino
Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.