scott-vincent / radio-panel

A radio panel for Microsoft Flight Simulator 2020
12 stars 4 forks source link

Wiring diagramm for raspi zeroW/Radio panel #1

Closed MartinKrause57 closed 2 years ago

MartinKrause57 commented 2 years ago

Hallo I found your Github-project and want to build the radio-panel. I have the programm installed on a Raspberry zero. I buy the comonents and want to install. But i have a problem to find the Pins on the raspberry. It´s possible to give me a wiring diagramm. On the pictures i don´t see not enough. Thanks Martin Krause

scott-vincent commented 2 years ago

Hi Martin,

I've added 'Radio Panel Wiring.png' and 'Radio Panel Wiring.txt' to this repository. It shows some of my additional hardware that connects to that Pi (seatbelt sign, spoilers etc) which you can just ignore.

scott-vincent commented 2 years ago

Note that the 7-seg displays are daisy chained so only the first one (or is it the last one?) is connected to the Pi.

Aha, it looks like I wrote some comments in the code:

/// This class allows you to drive a daisy-chained /// set of 8 digit 7-segment displays using SPI. /// /// Wiring /// ------ /// VCC - 3.3v = Pin 1 (does not work correctly if 5v used!) /// GND - Ground = Pin 6 /// DIN - GPIO 10 (MOSI) = Pin 19 /// CS - GPIO 8 (CE0) = Pin 24 /// CLK - GPIO 11 (SCLK) = Pin 23 /// DOUT - Not connected unless daisy chaining (see below) /// /// To daisy-chain connect DOUT from one module to DIN on /// the next one. Connect all other pins in parallel. /// /// Note: SPI must be enabled on the Pi and we only want a /// single channel with no MISO (to save pins) so you must /// edit /boot/config.txt and add "dtoverlay=spi0-1cs,no_miso". /// Don't use "dtparm=spi=on" as this uses up 2 extra pins. ///

MartinKrause57 commented 2 years ago

Hallo Scott

Thank you for this information. I change the config.txt and i see the frequenz.

The display was the first one. So i connect the other display to the pins which i see on the screen when i start the radio-panel.

Thank you for help.

Martin

Von: Scott Vincent @.> Gesendet: Donnerstag, 20. Januar 2022 16:14 An: scott-vincent/radio-panel @.> Cc: MartinKrause57 @.>; Author @.> Betreff: Re: [scott-vincent/radio-panel] Wiring diagramm for raspi zeroW/Radio panel (Issue #1)

Note that the 7-seg displays are daisy chained so only the first one (or is it the last one?) is connected to the Pi.

— Reply to this email directly, view it on GitHub https://github.com/scott-vincent/radio-panel/issues/1#issuecomment-1017609502 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ2AG2COO3P3LBO3GDQO2E3UXARDRANCNFSM5MMZ7LHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AQ2AG2EYRTCL5ZTYZDPJFVLUXARDRA5CNFSM5MMZ7LH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHSTX2HQ.gif Message ID: @. @.> >