-
Notifications
You must be signed in to change notification settings - Fork 5
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
ATS100 #3
Comments
Looks like you are missing encoder.js which you can find in the directory above ats100. Apologies for poor documentation. You also need the bands.json file. |
It’s bands.json in the same place as encoder.js. You need to load the smallradio.png file with the Espruino WebIDE to convert it to an image file named smallradio. Alternatively simply delete the line in chooser.js. |
I'm sorry for the inconvenience. Figured it out on my own. It turned out that I did not remove the png extension in the image title. And I also found and uploaded the bands.json file. Everything works great. Thank you very much. Best regards, Viktor |
That’s great - glad you got it to work - if you have any suggestions as to what documentation would have made it easier - do let me know. |
Hello! Today I checked the operation of the receiver with your firmware. Conflicting impressions. Of course, I liked the direct dialing of frequencies and the ability to store station frequencies in memory. I also liked the lack of mute when setting up in ssb. |
Hello! I try to complete the firmware in accordance with my ideas about the beautiful :) |
Stepdisp: |
Thanks for the feedback - much appreciated. The selector wheel response gets worse the more processing that is being done - so very bad with RDS on. It may be possible to improve this using hardware interrupt priority or providing a driver in C versus Espruino. For the step display, do you think it would be better if the cursor was positioned half way between digits to indicate 5Khz step? When I get a chance, I will look at sleeping the display, it should not be hard. The si4732 power functions reset the watch,so I am surprised the patch stays loaded - I will have a look. I also get the low AM volume and there must be some setting to avoid that. Have you tried an external aerial? Mine did not work very well as the radio sounded like the connection was intermittent even though the physical connection looked solid. |
As for the cursor between the numbers, it would probably be more correct, but in general it is not important. This is an aesthetic that does not affect usability. |
Hi, The latest commit blanks the screen after 30 seconds in each of the radio apps - it comes on again when you rotate the encoder. I have also added your minimum brightness and 5khz step suggestions. The si4732 is now fully reset when switching between apps - so I hope that cures the switching issues. I will try to add an AGC control to the AM radio when I get a chance. |
Thank you very much! Loaded. AM-SSB transitions are flawless. But AM-FM and FM-AM transitions still result in a hang. Also, the receiver freezes if you switch to LW in SSB mode and reach the lower limit of the range at any tuning resolution. |
Hi, look for SCREENSAVE variables in the apps. Initialised to 30 Change all occurrences of 30 related to SCREENSAVE to 120. Will clean it up when I get time. I do not get any hang ups when switching between apps. Latest committ - a new version of amapp now has a button to enable and disable AGC - it is initially disabled. I guess it would be nice to adjust gain level but not much space left for a control:-( |
Thanks, the timeout on your hint has been fixed. The last thing that would be useful for the convenience of managing the display is to make it wake up not only by turning the encoder, but also by pressing a button. If you want to see what the display is showing without messing up the receiver settings, the most logical way to do this is to press a button. |
Latest commit has 120 sec screen save + if the screen is blank the first encoder click or button press does not change the state of the radio, it simply turns on the backlight. AGC control now has agc on, off, low, med, and high states. I have fixed the 153Khz bug - you can no longer tune below 153Khz - which causes the SI4732 SSB patch to hang. I suggest you delete your amstate.json, ssbstate.json and fmstate,json files to see if some setting in these cause the hang up which I do not get. You need to reload the amapp.js, ssbapp.js and fmapp.js files to get the changes above. BTW AGC on automatically chooses the gain, AGC off is gain 0, AGC low is gain 3, med = 6 and high = 9 |
Now everything is almost perfect. The only thing you can check is to check the status of the following settings: |
It seems to me that the problem of switching between modes could be radically eliminated if, when exiting any mode, the receiver not only drew the main menu, but also stopped receiving. This does not happen with my receiver. A long press draws the main menu, but does not stop receiving there. where it was before the long press. Most likely this is the problem. |
That’s interesting because on my receiver after the long press is registered, receiving stops immediately. The line in main.js
does this. You do have to release the button after the chooser menu is displayed as if you hold it too long it can switch to another app and then turn off. |
load("chooser.js" performed, and here: {RADIO.reset doesn't want. |
Hi, the difference between the switch behaviour I see and what you are experiencing maybe to do with the initial state. Can you switch on the Radio and before anything else type ESP32.getState() on the WebIDE. When I do this I get:
If you see that Wifi is true type:- |
That’s a pity. If you check ESP32.getState() presumably wifi is now disabled? |
Hello! Recorded 2 short videos illustrating the latest unresolved issues: And on the second video, the behavior of the receiver when trying to switch operating modes. I would like to think that the problem is in the si 4732, but the fact that the modes switch normally on the original firmware does not allow me to think so. Perhaps the duration of the control pulses is shorter than necessary? Or does the command arrive at si 4732 at the wrong time? |
https://pdf1.alldatasheetru.com/pdfjsview/web/viewer.html?file=//pdf1.alldatasheetru.com/datasheet-pdf/view/630406/SILABS/Si4730/+431W28VPhKCDudVozECY+/datasheet.pdf#page=6&zoom=auto,-15,788 |
HI, That's very useful, I have now set property 0x3302 to zero in the AM Radio insitialisation and it does increase noise volume. As you can see from my video - my radio behaves differently The reset is currently 10ms which is much greater than the 100us mentioned. However, you can easily adjust reset times in I am away for the next weeks so good luck. |
Actually, there was a timing bug in the reset code:-( digitalPulse returns immediately. I have fixed it so hopefully this may cure your switch over issue. Many thanks for your help in improving the software. |
I seem to understand what the problem is. Thanks a lot for your valuable advice! Judging by lines 18-22 of the si4735.js script, the reset pulse is generated at D 25, but this microcontroller pin is not used in my revision of the receiver (D 33, 32, 35 are used). Most likely, I will need to find which pin of the controller is connected to pin 9 of the si4732 and make a correction in the program. Thank you for the excellent program and extremely fruitful and pleasant communication. All the best to you, 73! |
Glad you found the problem, let me know which pin it is and I will put a note in the README |
I apologize for being importunate. Today I messed something up. Foolishly, I decided to replace pin 25 in si4735.js with another one and sent the microcontroller to a cyclic reboot. Somehow, with the help of the flash download tool, I stopped and then re-filled Esprino and Java scripts. But after that the program refuses to work correctly. The window where the frequencies of the ranges should be is empty. I downloaded the firmware from here, it works fine. But Esprino refuses. Please tell me how to fix this? |
Everything, I figured it out. I forgot to load bands.json and panicked. 1000 apologies for the trouble! |
Glad you got it to work - have you found the right pin for reset yet? |
https://photos.app.goo.gl/W5sL3fQXhuektTMo6 |
Hello! In accordance with the instructions, I downloaded Espruino to my ATS-100, successfully downloaded all the necessary Java scripts using WebIDE, but for some reason the program cannot start. "Loading..." appears on the screen and nothing else happens. What could be the problem, do you think? Sincerely, Victor
The text was updated successfully, but these errors were encountered: