¿ªÔÆÌåÓý

Homebrew SBITX - RTC and SWR Meter board #homebrew #sBitx


 

Can the generated hex code be shared and save us the trouble of going through the process of compilation.

What about the fuse settings?

Thanks
Charudatt VU2UPX?

On Mon, 22 Jul, 2024, 1:12 am Dean Souleles via , <dsouleles=[email protected]> wrote:
Victory is at hand.? PWR / SWR Meter is working.
?
?
As I have suspected for a while the problem turned out to be the some combination of the Arduino board and the Wire library.? As Rafael suggested I loaded the ATTinyCore from Spence Konde but the problem remained - always -1 returned for FWD and REF power.? Perusing the Arduino support forum I was pointed to an alternative to the Wire library called TinyWire.? I loaded that and changed all the references from Wire to TinyWire and that worked.? Here are the details.
?
1. IDE: Arduino IDE 2.3.2
2. Board Manager: ATtinyCore by Spence Konde, (NOTE - because of SSL certificate errors it doesn't currently load using the Arduino IDE board manager.? I had to search for a procedure to manually install it.)
3. Board Selected:? ATtinyCore -> ATtiny25/45/85 (No Bootloader)
4. Chip Selected:? ATtiny85
5. Programmer: Arduino as ISP? (I built a programmer using a spare Arduino Nano)
6. Install the the TinyWire library:
7. In swr_bridge.ino change all referencs to Wire to TinyWire and change: ?
TinyWire.write(message, 4);
to
TinyWire.send(message, 4);
?
Compile, upload and be happy for the rest of the afternoon.
?
I can't explain why ATtinyCore and Wire worked for Rafael.? I never did hear back from Farhan what the original build environment for the SWR bridge was.? The comments in the code refer to DIYTiny - I searched and found that one - it didn't work for me either.
?
The Arduino ecosystem is terrific - unfortunately thre are so many people contributing board managers and libraries - some are great quality - some are marginal - but there is no authoritative place to go to find what works.
?
73 and thanks for following along.
?
Dean
KK4DAS


 

On Sun, Jul 21, 2024 at 06:29 PM, Charudatt Uplap wrote:
What about the fuse settings?
?
With the information I've provided you should be able to build and install the sensor code.? ?If you are really stuck post a question here.
?
73,
Dean
KK4DAS