-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wiring... #1
Comments
Hello! I've ordered ArduinoUno to test this. I'll prepare the drawings later. However, the inter-chip connection is pretty simple. SCL - Atmega328:pin28 - si5351a:pin4 It is necessary to make a couple of simple changes in code for Atmega328 (Arduino Uno R3): Line 140. Should be: Line 149: Should be Be careful in connecting si5351 to ArduinoUno without buffering. si5351 is not 5v tolerant. |
Did you succeded?
I’m in a very big trouble…
I’ve modified the code so the serial is now Serial (I’ve only one serial port afaik).
Made the correct correction as you said.
When I start the code I get this:
“Current band: Index=0; mode=4; F=144 MHz; RelayNumber=1”
And I can see a signal on 144MHz but I’m not able to send any command to the Arduino (nothing change on the console, maybe the serial port is busy by the gps?).
Any idea?
…--------------------------------------------------------------------------
HTTP://WWW.IU5HES.IT
cid:[email protected]
Da: alexander-sholohov [mailto:[email protected]]
Inviato: martedì 24 gennaio 2017 16:33
A: alexander-sholohov/si5351-beacon
Cc: michelinok; Author
Oggetto: Re: [alexander-sholohov/si5351-beacon] Wiring... (#1)
Hello!
I've ordered ArduinoUno to test this. I'll prepare the dravings later. However, the inter-chip connections is pretty simple.
SCL - Atmega328:pin28 - si5351a:pin4
SDA - Atmega328:pin27 - si5351a:pin5
Tx from GPS to Atmega328:pin2 (rxd)
RF_OUT - si5351a:pin5 (clk0)
It is necessary to make a couple of simple changes in code for Atmega328 (Arduino Uno R3):
https://github.com/alexander-sholohov/si5351-beacon/blob/master/si5351-beacon.ino
Line 140. Should be:
#define TIME_SLICE_GPS
//#define TIME_SLICE_DS3231
Line 149: Should be
HardwareSerial& gpsSerial = Serial0;
(Change to Serial0)
Be careful in connecting si5351 to ArduinoUno without buffering. si5351 is not 5v tolerant.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ABrFIcZKxjLzfM6HL0_Sk6bmoxUDvOdlks5rVhmWgaJpZM4LpMcK> . <https://github.com/notifications/beacon/ABrFIfO0MtpYt4X6um50PT63-SluWI17ks5rVhmWgaJpZM4LpMcK.gif>
|
Arduino UNO has only one serial port. Serial terminal and GPS are sharing the wires. GPS is dominant. You have to temporally disconnect GPS to be able to send commands through the terminal. |
Will this board work without disconnectiong the gps? Is there a lot of work to adapt the code? |
According to the documentation, Arduino Mega2560 has three additional serial ports. Sure, it will work without disconnecting gps. No any code modification. Just choose proper uart port at line 149. Why having terminal access is important to you? Are you going to manual start/stop transmission? Any other actions? |
start stop transmission...and maybe debug code printing to the serial terminal |
Thanks for this nice project. -- I added the NT7S- si5351 library which uses a 10 mHz resolution to direct program the needed and modulated frequencies by the given mHz. I can add my sources to your repository or for review of my code -- if you request it. vy 73 |
Hi!
Can you please share how to connect the gps and the sil5351 to the Arduino Uno r3?
Please.... a wiring diagram would be very great
The text was updated successfully, but these errors were encountered: