bosal
New Member
Posts: 42
|
Post by bosal on Nov 8, 2020 19:15:43 GMT 2
My LED displays stay black?? Any idea? Button input works so the Arduino's are connected to Air Manager. Use my little program in Airmanager, creat an instrument and past this in the code. The correct pins are done.. Testing made easy I did but also not working, when I connect a external 2x4segment moduul to the same arduino then this works. Question: Do I need to switch something on on the board?
I have connected 5VDC to the board, also measure 5VDC on the pins.
|
|
|
Post by AlbEagle on Nov 8, 2020 20:11:00 GMT 2
Use my little program in Airmanager, creat an instrument and past this in the code. The correct pins are done.. Testing made easy I did but also not working, when I connect a external 2x4segment moduul to the same arduino then this works. Question: Do I need to switch something on on the board?
I have connected 5VDC to the board, also measure 5VDC on the pins.
Has it been working with mobiflight previously?
|
|
bosal
New Member
Posts: 42
|
Post by bosal on Nov 8, 2020 20:19:50 GMT 2
I did but also not working, when I connect a external 2x4segment moduul to the same arduino then this works. Question: Do I need to switch something on on the board?
I have connected 5VDC to the board, also measure 5VDC on the pins.
Has it been working with mobiflight previously? No, I think the MAX7219 chips are the problem. They were also extremely cheap.
I ordered new ones from another supplier, a good supplier. I hope this will fix it.
|
|
|
Post by AlbEagle on Nov 8, 2020 20:37:36 GMT 2
Has it been working with mobiflight previously? No, I think the MAX7219 chips are the problem. They were also extremely cheap.
I ordered new ones from another supplier, a good supplier. I hope this will fix it. I suggest you check the connections from arduino shield to the radio, maybe you have connected ribbon cables the the wrong way and need to switch sides (turn them). Just an idea.
|
|
|
Post by AlbEagle on Nov 8, 2020 20:44:33 GMT 2
Also be advised that not all max chips are installed in the same direction, this was done to make the paths of pads easier.
|
|
|
Post by AlbEagle on Nov 8, 2020 20:48:34 GMT 2
There is a 10AMP 5volt powersupply giving power to the board, then the 3 Arduinos They should all light up. If i do them seperately they do work if i keep running the program. Could it be the arduino, i can replace it with a backup. I presume i dont need to give the 12 volts to the board also as it was for backlighting only. Again this has been fustrating. Lots of time spend in tracing the problem. Hope somebody comes with a solutio or idea where it could be. You are right, you need 12v only for backlighting. The powersupply is enough, i have no idea why it is not working. I have tested a board with mobiflight and it has been working as you can see in some pictures on the website.
|
|
bosal
New Member
Posts: 42
|
Post by bosal on Nov 8, 2020 20:50:51 GMT 2
Bosal, If you get the wet compass we will need to get a zero point made inside, i was thinking of a hall or optical sensor that detects a hole in the 360 round cilinder on top of the stepper motor. AM will not allow you to get it back to 0 automatically so i/we need to program it with additional hardware. Just for your info. The SIMMAX.IT wetcompas is also without the zero and the one on this site also. If using mobiflight for the compass you need to make sure that you quit the simulator correctly every time, or manually set the 0 point. I dont know if i will go mobi or AM for the WET compass. Any Ideas... or others mike Sorry I missed this post , just noticed when reading back this topic.
For the radiostack I will use Air Manager, I used Mobiflight before and it was sometimes slow when there was alot running. If Air Manager is running great I will use it also for the other functions.
Programming a home cycle at start will be possible I guess. A hallsensor is a option as homesensor.
I gonne make a Arduino Mega shield with headers to mount the Arduino (simular like Radio Arduino PCB) and with those green screw terminals to connect all other things. Easy toi screw wires directly to the board. The PCB's are ordered at JLCPCB, will let you know when received and soldered if they are good.
Attachments:
|
|
|
Post by polarair on Nov 8, 2020 20:56:25 GMT 2
I will check the ribbon cable between the board and the arduinos. I use original IDE cables. They should work but ill check. As for the max chips they are all in the right direction. As if i put the program many times all the displays light up (see video) i get all working but others turn off. Its a bigger issue than some non connect or max chip that does not work. If i do the segments seperatly they can work (luck. Als what i noticed that there is repetition in the displays. If i make a com1 reference in xplane for display 1 line0 it also appears in the NAV2 Standby. I will investigate more next week. mike
|
|
|
Post by polarair on Nov 8, 2020 20:59:18 GMT 2
Bosal, If you get the wet compass we will need to get a zero point made inside, i was thinking of a hall or optical sensor that detects a hole in the 360 round cilinder on top of the stepper motor. AM will not allow you to get it back to 0 automatically so i/we need to program it with additional hardware. Just for your info. The SIMMAX.IT wetcompas is also without the zero and the one on this site also. If using mobiflight for the compass you need to make sure that you quit the simulator correctly every time, or manually set the 0 point. I dont know if i will go mobi or AM for the WET compass. Any Ideas... or others mike Sorry I missed this post , just noticed when reading back this topic.
For the radiostack I will use Air Manager, I used Mobiflight before and it was sometimes slow when there was alot running. If Air Manager is running great I will use it also for the other functions.
Programming a home cycle at start will be possible I guess. A hallsensor is a option as homesensor.
I gonne make a Arduino Mega shield with headers to mount the Arduino (simular like Radio Arduino PCB) and with those green screw terminals to connect all other things. Easy toi screw wires directly to the board. The PCB's are ordered at JLCPCB, will let you know when received and soldered if they are good.
Nice, will love to test and play with them, can you also look at the NANO, i have been using NANO's also for the switches. this is a nice idea. If you have spare boards ill buy one or 2 from you. mike
mike
|
|
bosal
New Member
Posts: 42
|
Post by bosal on Nov 8, 2020 21:02:02 GMT 2
Also be advised that not all max chips are installed in the same direction, this was done to make the paths of pads easier. I measured the connections from Arduino to MAX chips, also voltage. Leds are common cathode. All good!!! The chips I bought were €1,40 for 5pcs on aliexpress. Not realistic when I see prices from other suppliers, so I guess the problem is linked to the MAX7219 chips I have.
Thanks for thinking with me, will let you know when i got the new ones!
|
|
|
Post by AlbEagle on Nov 8, 2020 21:03:24 GMT 2
I will check the ribbon cable between the board and the arduinos. I use original IDE cables. They should work but ill check. As for the max chips they are all in the right direction. As if i put the program many times all the displays light up (see video) i get all working but others turn off. Its a bigger issue than some non connect or max chip that does not work. If i do the segments seperatly they can work (luck. Als what i noticed that there is repetition in the displays. If i make a com1 reference in xplane for display 1 line0 it also appears in the NAV2 Standby. I will investigate more next week. mike Hi Mike, I saw the video, regarding the ribbon cable and max direction I was refering to bosal (sorry that i didn't quote him), because he is getting no displays at all.
|
|
|
Post by polarair on Nov 9, 2020 11:26:13 GMT 2
No prob, i will recheck all today and come back to you. DONE
Today good news: After working on the board for most part of the day i have the board COM/NAV section working in Airmanager. The code is made for 8.33mhz but easy adjust to the old system if you wish. The code is hardcoded so you can work with it straight away. Encoders work, switches work, Potentioments dont work
Couple of remarks: The first digit is missing as we dont use the 1, and i only have 5 places. So 121.750 becomes 21.750 just that you are aware. I can move it but i dont know what happens if you need the 8.33mhz freq. Lets see i might look at both systems. An other thing is that you need to push all the cross buttons to get everything active. I have not found a way to init the board in an other way. Maybe running a diagkind of test or on off button/switch. i dont know at the moment.
Her is the code enjoy.
Now focusing on the ADF and Transponder.
|
|
|
Post by AlbEagle on Nov 12, 2020 1:17:44 GMT 2
No prob, i will recheck all today and come back to you. DONE
Today good news: After working on the board for most part of the day i have the board COM/NAV section working in Airmanager. The code is made for 8.33mhz but easy adjust to the old system if you wish. The code is hardcoded so you can work with it straight away. Encoders work, switches work, Potentioments dont work
Couple of remarks: The first digit is missing as we dont use the 1, and i only have 5 places. So 121.750 becomes 21.750 just that you are aware. I can move it but i dont know what happens if you need the 8.33mhz freq. Lets see i might look at both systems. An other thing is that you need to push all the cross buttons to get everything active. I have not found a way to init the board in an other way. Maybe running a diagkind of test or on off button/switch. i dont know at the moment. Her is the code enjoy. Now focusing on the ADF and Transponder.
That is great news, I have created a list with the ports in excel, which might make things easier, check it out: Ports.xlsx (244.72 KB)
|
|
|
Post by polarair on Nov 12, 2020 10:58:55 GMT 2
Thanks this is a great help!!
|
|
bosal
New Member
Posts: 42
|
Post by bosal on Nov 22, 2020 14:40:26 GMT 2
Also be advised that not all max chips are installed in the same direction, this was done to make the paths of pads easier. I measured the connections from Arduino to MAX chips, also voltage. Leds are common cathode. All good!!! The chips I bought were €1,40 for 5pcs on aliexpress. Not realistic when I see prices from other suppliers, so I guess the problem is linked to the MAX7219 chips I have.
Thanks for thinking with me, will let you know when i got the new ones! Got new chips, good ones from a good store, type MAX7219CNG+. Installed them and now the LED displays are light on. When I start Air Manager and connect 5V to the board then the displays are all 88888. When I write data then the display some displays are off and others are showing unknown characters?? Did a test with only a few MAX chips mounted, same problem. I checked all connection, they are good. Did a test with a complete display module to same arduino: example here And this works.... I guess EMC is the problem as the MAX chips use data communication (din/load/CLK) with Arduino.
|
|