check in
Ongoing

Radio FM Arduino Nano

STDRadio FM Arduino Nano

tag

478
0
0
0
Mode:Full

License

Public Domain

Creation time:2021-09-26 18:50:44Update time:2021-09-26 19:38:36

Description

// This project is in public Domain //
// Project Designer... Antonio Galvan//
//visit Arduino.cc and project Hub//
#include
#include
#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);

Design Drawing

The preview image was not generated, please save it again in the editor.

BOM

Bom empty

Attachments

OrderFile nameDownload times
1
New Text Document.txt
3
2
digital_radio_code.ino
3
Clone
Add to Album
0
0
Share
Report

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation