¿ªÔÆÌåÓý

UPDATED bitx40mcu, bitx40 sketch using the Si5351mcu lib.


Pavel Milanes Costa
 

¿ªÔÆÌåÓý

Hi to all again.

First sorry, I have to go offline for a while due to a backbone health issue: doctor's give me a full rest period and I was the past week on a bed watching TV and wasting some time.

Before going offline I got a few hits, requests and critics about my Si5351mcu lib; for everybody's joy I have put them together and I have just updated the Github repo with the latest version. ()

I have folked and modified the vanilla bitx40 code from farhan's repository to work with this lib and you can get it here:

This sketch will just work, you don't need to mod your hardware, etc... just grab the Si5351mcu lib from put it on your lib folder and compile/upload the code of the bitx40mcu sketch

Benefits you will get:

* Smaller code (Even smaller than the previous version, by ~400 bytes :-D )

Original bitx40 firmware is 16496 bytes long (51%) of an Arduino UNO, the version with my lib is 9294 bytes (28%) of an Arduino UNO

That's a 56% of firmware size reduction, that will allow some people with only small Arduino boards like the MiniPro with the ATMega168 (only 16K of flash) to use the bitx40 code for it's operation. Smaller firmware means also more room for experimentation.

* Click noise while tuning gone away...

The lib code will not produce click noise, but bad wiring practices can...

Some tips, facts and details about it you NEED to know.

1 - It uses a 27.000 MHz XTAL as original hardware.
2 - It will do the correction procedure but with a different algorithm, so you may need to calibrate your hardware again.
3 - The sketch use the Si5351 at the lowest drive (2mA/50 ohms); you can change that with the setPower() procedure
4 - First do a calibration procedure as usual with the mainstream Randuino code, please note that the calibration procedure WILL HAVE CLICKS, normal operation will not.
5 - Test it and check if the annoying click noise went away.

Comments, critics and any other bad/neutral/good comments are welcomed.


73, Pavel CO7WT


El 13/04/17 a las 13:32, Pavel Milanes Costa escribi¨®:

Hi Andrew, Thanks for answering.

Your request is high in the TODO list for this weekend...

Other users are writing about some other bugs/typos, thanks to all (I just take a short at a glance view of all the emails, I will review in detail later),

I will collect all details and come back with an improved code and lib on the weekend.

73 de Pavel CO7WT.


El 13/04/17 a las 13:25, Andrew Whaley escribi¨®:

Hi Pavel, thanks for the example but is there any reason why the library can't support CLK2 which the Raduino uses for tuning ? This should just be a parameter change in the code compared with having to rewire the BitX just to test your code. I could test your library pretty quickly in my existing sketch if it supported CLK2.?

Thanks, Andrew



Join [email protected] to automatically receive all group messages.