© 2024 EasyEDA Some rights reserved ISO/IEC
Brand new interactions and interfaces
Smooth support for design sizes of over 3W
devices or 10W pads
More rigorous design constraints, more
standardized processes
For enterprises, more professional users
Easy to use and quick to get started
The process supports design scales of 300
devices or 1000 pads
Supports simple circuit simulation
For students, teachers, creators
STD Radio FM Arduino Nano
Mode:
// 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);
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
Loading...
Do you need to add this project to the album?