

crash test pilot
Members-
Posts
220 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by crash test pilot
-
Take a look at your Mega: Pin 20 and 21 should be labeled SDA and SCL. You dont need to give a pin number.
-
Hi Bucic, I do not know anything about the boards you posted. About the allegro hall sensors: Do you have any experience with reichelt.de? I do not know about transport fee to poland but the sensors itself are dirt-cheap: https://www.reichelt.de/linearer-sensor-hall-effekt-sip-3-a-1324-lua-t-p189140.html?&trstct=pos_0&nbc=1 The problem with the adc in the stm chips is not the chip itself but the absence of filtering capacitors. Better get some no matter if you go with or without external adc...
-
Here are some pics from my throttle project with freejoy. A tle5011 for the main axis, a mpc3208 adc for all other axis and shift registers for all buttons.
-
Lets continue this in the freejoy thread. I wrote you a message there.
-
Hi Bucic! I got one of these: https://www.ebay.de/itm/402318508813?var=672304534726 You need the st-link programmer (or a usb-uart converter) for writing the firmware before first use. Afterwards you can write configuration data via usb.
-
As promised, here a fritzing diagram and a pic: Green wire is mosi, yellow is miso, orange is clock. Blue is CS and can be any pin.
-
Bluepill is a nickname for the STM32F103C8 boards (used for freejoy) because of their blue pcb and as a reference to the matrix films... And because of cheapness their analogue inputs tend to pick up a lot of noise and need filtering so the higher resolution gets turned down by that. External ADCs are not really difficult to use with either mmjoy or freejoy. Here are links to the wikis: https://github.com/MMjoy/mmjoy_en/wiki/Connecting-basic-inputs-and-setting-up-software https://github.com/FreeJoy-Team/FreeJoyWiki/blob/master/eng/Connecting-analog-axes-to-MCP320x.md Currently not at home, can post a fritzing diagram and pics later.
-
Force sense stick(DIY)
crash test pilot replied to propeler's topic in PC Hardware and Related Software
I used 500 ohms variable resistors, and they are way too big. If you have a look into the datasheet for the ina122p chip you find a table for desired gain. As it just happened today that i ripped a cable from a load cell i have to rebuild - i will test some non-variable resistors between 20 and 200 ohm and report back for my findings. -
Force sense stick(DIY)
crash test pilot replied to propeler's topic in PC Hardware and Related Software
Hi Goblin, not my design but I build one according to this thread and it works like a charm. The diagram is correct as is, green wires connected to green and grey to grey. Cant explain but it works. The magenta wires are connected, its a voltage divider. Two resitors between +5v and ground, and between the resistors you can grab 2.5v. -
Thought so - the ins knob does not have 13 positions...
-
Stupid Pic ate my text. So here we go again: Are you using the (no longer maintained) hub version? The flightpanel fork gets constant updates. Hub contained several mistakes and errors like missing semikolons and wrong numbers. Correct syntax for ins knob is like the pic above.
-
You can use an external adc like the mpc3208 (-3202, -3204) for higher resolution or sensors with digital communication like the tle5011. Freejoy offers 12 bit but the bluepill boards are not really famous for their analoge input readings...
-
The hub version of dcs-bios is no longer maintained, try the flightpanel fork. The adress for the rci is different:
-
You can invert a command by adding "true" like this: DcsBios::Switch2Pos starterCover("STARTER_COVER", 3, true);
-
Megas and DCS-BIOS seem to be a bit hit and miss. I personally had no problems connecting several (different manufacturerers) megas to DCS-BIOS, but i often read about someone not getting theirs to work. For More Panels i would recommend going the rs485 route, you need one mega as master controller (the only one connected to your pc via usb) and you can connect up to 127 slaves (nanos, unos, megas of your choice). My A10 radios are build on 6 arduinos (1 for each radios buttons and switches, 1 for each radios displays).
-
Some virpil grips are listed as compatible with tm bases "with limitations", the warbrd grip isnt. So a hard no.
-
Force sense stick(DIY)
crash test pilot replied to propeler's topic in PC Hardware and Related Software
Hi! I maybe late to the party, but i am very interested. The blue parts in your drawing are puzzling me. Are they variable resistors? If yes, what value? In your first picture I see "M 501" printed on them. Google says either 500 ohm or 50k ohm... Can you tell me which? Thanks a lot! -
To quote Lisa Simpson: Buddha, Jesus, Spongebob - im not picky...
-
A little capacitor might do the trick: http://www.gammon.com.au/forum/?id=11955 See chapter "Hardware debouncing".
-
Quote from the wiki: "These values will not be updated by DCS when the cockpit is not rendered (e.g. in external view or HUD-only view). The solution is to assign another viewport to these indicators (through MonitorSetup.lua), so they exist even when the cockpit is not shown. You can make the viewport 1x1 pixels in size and place it outside of your visible screen area. For example, if you have no monitor above the primary one, you could place the viewport at coordinates (0, -10)."
-
Arduino or Zero Delay Encoder for 3-way switches?
crash test pilot replied to durka-durka's topic in Home Cockpits
The directory is correct, as is the method of adding a library. Your error message stated that you have two dcs-bios librarys: Used: C:\Users\Dave\Documents\Arduino\libraries\dcs-bios-arduino-library-0.2.11 Not used: C:\Users\Dave\Documents\Arduino\libraries\dcs-bios-arduino-library-0.3.7 So i told you to delete the old one. I use arduino IDE 1.8.13, maybe you try the actual one from arduino.cc (1.8.19)? I think i read something about the 2.0.0 being a bit "finicky" but i dont remember where... So maybe you give that a try - the scetch looks good from my side. edit:link https://www.arduino.cc/en/software -
Arduino or Zero Delay Encoder for 3-way switches?
crash test pilot replied to durka-durka's topic in Home Cockpits
Delete " C:\Users\Dave\Documents\Arduino\libraries\dcs-bios-arduino-library-0.2.11" and try again to compile.