From fsim at rwaltman.com Wed Sep 5 09:21:24 2012 From: fsim at rwaltman.com (Roberto Waltman) Date: Wed, 05 Sep 2012 12:21:24 -0400 Subject: [simpits-tech] Cockpit-Fest USA video promo In-Reply-To: <1346384790.28852.YahooMailNeo@web140205.mail.bf1.yahoo.com> References: <1346353678.67324.YahooMailNeo@web140204.mail.bf1.yahoo.com> <20120830203020.APH0W.859889.imail@fed1rmwml107> <1346384790.28852.YahooMailNeo@web140205.mail.bf1.yahoo.com> Message-ID: <50477C04.2040401@rwaltman.com> Justin Messenger wrote: > The Cosmosphere has a complete Blackbird on display There is another at the Intrepid Museum in New York. (Check Youtube) -- Roberto Waltman From brian at sikkema.us Wed Sep 5 11:37:12 2012 From: brian at sikkema.us (Brian Sikkema) Date: Wed, 05 Sep 2012 11:37:12 -0700 Subject: [simpits-tech] Cockpit-Fest USA video promo In-Reply-To: <50477C04.2040401@rwaltman.com> References: <1346353678.67324.YahooMailNeo@web140204.mail.bf1.yahoo.com> <20120830203020.APH0W.859889.imail@fed1rmwml107> <1346384790.28852.YahooMailNeo@web140205.mail.bf1.yahoo.com> <50477C04.2040401@rwaltman.com> Message-ID: The one at the Cosmosphere is a fantastic display. I've seen a lot of Blackbirds and a few A-12s on display, and the Cosmosphere is hands down the best I've seen. It's the only one I am personally aware of that is not just sitting flat on the ground. They have theirs mounted in a 30 degree descending turn, with the nose almost on the ground, right in the entry of the museum. The lobby of the building was actually built after the Blackbird was in place. The Cosmosphere is a great museum, well worth the side trip if you are in the Wichita area with some time to spare (after stopping by Justin's place, of course). Brian -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Roberto Waltman wrote: Justin Messenger wrote: > The Cosmosphere has a complete Blackbird on display There is another at the Intrepid Museum in New York. (Check Youtube) -- Roberto Waltman _____________________________________________ Simpits-tech mailing list Simpits-tech at simpits.org http://www.simpits.org/mailman/listinfo/simpits-tech To unsubscribe, please see the instructions at the bottom of the above page. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120905/9e35ceec/attachment.html From dabigboy at cox.net Sat Sep 8 01:38:21 2012 From: dabigboy at cox.net (dabigboy at cox.net) Date: Sat, 8 Sep 2012 1:38:21 -0700 Subject: [simpits-tech] Arduino and serial I/O Message-ID: <20120908043821.TRESR.953838.imail@fed1rmwml205> Any of you guys dealing with reading and writing data to an Arduino? I can SEND data just fine, and I can RECEIVE data just fine, but if I have a board on which I need to do both: ABSOLUTE NIGHTMARE. I presume the fact that I have basically zero experience with serial communication has something to do with it. At any rate, I've done extensive google'ing and experimentation, and I have found anything even remotely advanced to be unreasonably difficult. Seems like there's got to be a library or something out there that allows you to easily read and write to the same Arduino. After many sleepless nights and probably 20+ hours of tearing my hair out over this, I have for now completely given up and am using one Arduino for each task....for instance, right now I have one Uno that does nothing but read two rotary encoders. I will have another one that does nothing but drive 3 or 4 analog gauges. At $15 per board (good deal on some decent-quality clones on ebay), it's simply not worth my time and frustration to try to do multiple tasks with one board. Matt From geneb at deltasoft.com Sat Sep 8 18:09:10 2012 From: geneb at deltasoft.com (geneb) Date: Sat, 8 Sep 2012 18:09:10 -0700 (PDT) Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: <20120908043821.TRESR.953838.imail@fed1rmwml205> References: <20120908043821.TRESR.953838.imail@fed1rmwml205> Message-ID: On Sat, 8 Sep 2012, dabigboy at cox.net wrote: > > After many sleepless nights and probably 20+ hours of tearing my hair > out over this, I have for now completely given up and am using one > Arduino for each task....for instance, right now I have one Uno that > does nothing but read two rotary encoders. I will have another one that > does nothing but drive 3 or 4 analog gauges. At $15 per board (good deal > on some decent-quality clones on ebay), it's simply not worth my time > and frustration to try to do multiple tasks with one board. Matt, post your code so I can take a look at it. I've done bi-directional work with the Arduino and there's no trick to it. BTW, I recently read about a really slick bit of software: http://generichid.sourceforge.net/ It runs on Linux or Windows and will use a Teensy++ 2.0 board - http://www.pjrc.com/teensy/index.html. This would work in place of something like Leo Bodnar's board. g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! Buying desktop hardware and installing a server OS doesn't make a server-class system any more than sitting in a puddle makes you a duck. [Cipher in a.s.r] From phoenixcomm at gmail.com Sat Sep 8 18:23:30 2012 From: phoenixcomm at gmail.com (Cris Harrison) Date: Sat, 08 Sep 2012 20:23:30 -0500 Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: References: <20120908043821.TRESR.953838.imail@fed1rmwml205> Message-ID: <504BEF92.3060803@gmail.com> On 9/8/2012 8:09 PM, geneb wrote: > On Sat, 8 Sep 2012, dabigboy at cox.net wrote: > >> After many sleepless nights and probably 20+ hours of tearing my hair >> out over this, I have for now completely given up and am using one >> Arduino for each task....for instance, right now I have one Uno that >> does nothing but read two rotary encoders. I will have another one that >> does nothing but drive 3 or 4 analog gauges. At $15 per board (good deal >> on some decent-quality clones on ebay), it's simply not worth my time >> and frustration to try to do multiple tasks with one board. > Matt, post your code so I can take a look at it. I've done bi-directional > work with the Arduino and there's no trick to it. > > BTW, I recently read about a really slick bit of software: > > http://generichid.sourceforge.net/ > > It runs on Linux or Windows and will use a Teensy++ 2.0 board - > http://www.pjrc.com/teensy/index.html. This would work in place of > something like Leo Bodnar's board. > > g. > > > hey g.. whats the cad package??? Cris From geneb at deltasoft.com Sat Sep 8 19:00:07 2012 From: geneb at deltasoft.com (geneb) Date: Sat, 8 Sep 2012 19:00:07 -0700 (PDT) Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: <504BEF92.3060803@gmail.com> References: <20120908043821.TRESR.953838.imail@fed1rmwml205> <504BEF92.3060803@gmail.com> Message-ID: On Sat, 8 Sep 2012, Cris Harrison wrote: > On 9/8/2012 8:09 PM, geneb wrote: >> hey g.. whats the cad package??? > Cris I didn't write anything about a CAD package... g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! Buying desktop hardware and installing a server OS doesn't make a server-class system any more than sitting in a puddle makes you a duck. [Cipher in a.s.r] From phoenixcomm at gmail.com Sun Sep 9 09:30:00 2012 From: phoenixcomm at gmail.com (Cris Harrison) Date: Sun, 09 Sep 2012 11:30:00 -0500 Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: References: <20120908043821.TRESR.953838.imail@fed1rmwml205> <504BEF92.3060803@gmail.com> Message-ID: <504CC408.70005@gmail.com> On 9/8/2012 9:00 PM, geneb wrote: > On Sat, 8 Sep 2012, Cris Harrison wrote: > >> On 9/8/2012 8:09 PM, geneb wrote: >>> hey g.. whats the cad package??? >> Cris > I didn't write anything about a CAD package... > > g. > sorry g.. it was on Franks page Cris From Sean.Galbraith at pacificsimulators.com Sun Sep 9 19:09:45 2012 From: Sean.Galbraith at pacificsimulators.com (Sean Galbraith) Date: Mon, 10 Sep 2012 14:09:45 +1200 Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: References: <20120908043821.TRESR.953838.imail@fed1rmwml205> Message-ID: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11443@PS-CH1.pacsim.local> Looks really interesting.... didn't know you could drive LED's from a HID device..... Questions is: how would you talk to the outputs? SeanG > BTW, I recently read about a really slick bit of software: > > http://generichid.sourceforge.net/ > > It runs on Linux or Windows and will use a Teensy++ 2.0 board - http://www.pjrc.com/teensy/index.html. This would work in place of something like Leo Bodnar's board. > > g. From geneb at deltasoft.com Mon Sep 10 06:12:55 2012 From: geneb at deltasoft.com (geneb) Date: Mon, 10 Sep 2012 06:12:55 -0700 (PDT) Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11443@PS-CH1.pacsim.local> References: <20120908043821.TRESR.953838.imail@fed1rmwml205> <2FB39A1077E2CC48BD7ECF1A3C363FEBE11443@PS-CH1.pacsim.local> Message-ID: On Mon, 10 Sep 2012, Sean Galbraith wrote: > Looks really interesting.... didn't know you could drive LED's from a > HID device..... Questions is: how would you talk to the outputs? > I don't know that you can - I haven't worked with it yet however. g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! From Sean.Galbraith at pacificsimulators.com Mon Sep 10 06:46:05 2012 From: Sean.Galbraith at pacificsimulators.com (Sean Galbraith) Date: Tue, 11 Sep 2012 01:46:05 +1200 Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: References: <20120908043821.TRESR.953838.imail@fed1rmwml205> <2FB39A1077E2CC48BD7ECF1A3C363FEBE11443@PS-CH1.pacsim.local> Message-ID: <2FB39A1077E2CC48BD7ECF1A3C363FEBE1145B@PS-CH1.pacsim.local> One of the objects you can drag onto the design is an LED, but there are even LCD panels supported. this could be a very cheap 48 LED output controller solution. The only question is writing code to talk to it. SeanG -----Original Message----- From: simpits-tech-bounces at simpits.org [mailto:simpits-tech-bounces at simpits.org] On Behalf Of geneb Sent: Tuesday, 11 September 2012 1:13 a.m. To: Simulator Cockpit Builder's List Subject: Re: [simpits-tech] Arduino and serial I/O On Mon, 10 Sep 2012, Sean Galbraith wrote: > Looks really interesting.... didn't know you could drive LED's from a > HID device..... Questions is: how would you talk to the outputs? > I don't know that you can - I haven't worked with it yet however. g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! _______________________________________________ Simpits-tech mailing list Simpits-tech at simpits.org http://www.simpits.org/mailman/listinfo/simpits-tech To unsubscribe, please see the instructions at the bottom of the above page. Thanks! ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2197 / Virus Database: 2437/5259 - Release Date: 09/09/12 From geneb at deltasoft.com Mon Sep 10 07:35:20 2012 From: geneb at deltasoft.com (geneb) Date: Mon, 10 Sep 2012 07:35:20 -0700 (PDT) Subject: [simpits-tech] Arduino and serial I/O In-Reply-To: <2FB39A1077E2CC48BD7ECF1A3C363FEBE1145B@PS-CH1.pacsim.local> References: <20120908043821.TRESR.953838.imail@fed1rmwml205> <2FB39A1077E2CC48BD7ECF1A3C363FEBE11443@PS-CH1.pacsim.local> <2FB39A1077E2CC48BD7ECF1A3C363FEBE1145B@PS-CH1.pacsim.local> Message-ID: On Tue, 11 Sep 2012, Sean Galbraith wrote: > One of the objects you can drag onto the design is an LED, but there are > even LCD panels supported. this could be a very cheap 48 LED output > controller solution. The only question is writing code to talk to it. > I would email Frank about it - he's been very responsive to my questions. g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! From phoenixcomm at gmail.com Mon Sep 10 11:07:13 2012 From: phoenixcomm at gmail.com (Cris Harrison) Date: Mon, 10 Sep 2012 13:07:13 -0500 Subject: [simpits-tech] The Sky is Falling~~~ Message-ID: <504E2C51.7070802@gmail.com> OMG!!!!! The Sky is falling Landing gear door from Boeing 767 falls from sky!! onto street outside Seattle Read more:http://www.nydailynews.com/news/national/landing-gear-door-a-boeing-767-falls-sky-neighborhood-street-seattle-article-1.1154887#ixzz265ilsbWu Cris H. phoenixcomm.wordpress.com www.phoenixaerospace.us www.flite-tronics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120910/d73d71b0/attachment.html From jjmessenger at yahoo.com Mon Sep 10 19:23:07 2012 From: jjmessenger at yahoo.com (Justin Messenger) Date: Mon, 10 Sep 2012 19:23:07 -0700 (PDT) Subject: [simpits-tech] Blackbirds In-Reply-To: References: Message-ID: <1347330187.73762.YahooMailNeo@web140206.mail.bf1.yahoo.com> >The one at the Cosmosphere is a fantastic display. I've seen a lot of Blackbirds and a few A-12s on display, and the Cosmosphere is hands down the best I've seen. It's the only one I am personally aware of that is not just sitting flat on the ground. They have theirs mounted >in a 30 degree descending turn, with the nose almost on the ground, right in the entry of the museum. The lobby of the building was actually built after the Blackbird was in place. The Cosmosphere is a great museum, well worth the side trip if you are in the Wichita area >with some time to spare (after stopping by Justin's place, of course). >Brian ? The Cosmosphere removed the instrument panel and seat from their?Blackbird so they can display it. They are?bringing it to Cockpit-Fest USA. Here is a photo http://www.vansairforce.net/rv_travel/cosmosphere/sr71cockpit.jpg ? The SAC museum has an even better SR-71 display than the Cosmosphere. ? Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120910/658bd1d3/attachment.html From idekkers at gmail.com Tue Sep 11 13:08:28 2012 From: idekkers at gmail.com (Ido Dekkers) Date: Tue, 11 Sep 2012 23:08:28 +0300 Subject: [simpits-tech] Blackbirds In-Reply-To: <1347330187.73762.YahooMailNeo@web140206.mail.bf1.yahoo.com> References: <1347330187.73762.YahooMailNeo@web140206.mail.bf1.yahoo.com> Message-ID: ??aj??^???-?W???^I-???;?I?u?m5??y?p &?-?s???????g????z?????l+?????'y?m????j,??z+}??j?bq???V?"??y????h|ZrF??????{5??'v+)?????ax*,??)?????Z??? ??????/z????l???\??????????\??????aj????c??l??b??j?'?????u8^??z?^??&???y??k}z ?y??q???x-?????m????????-?{az ??wk?m?{ay???*??????8^??????????Wb? ??-??e???????????ei???pj???V?y8^ ?&??az????+y?f?????? +?az??z???'????z)????r?i??k???&z??z?,???i?^??h????????b??ei??}?.????&?N??????^??????v?^?{-?????Z??Z??j???kaz*???$n*???a{'????V????{&?y?????+m?*????-Q z????a??!??? 0???j*???????kj????,??)???????????????? k?z??j??z??m?mz???Wb??Z??Z??^ ?&??az????b?(??+l??!????x%??R?jb??^r"????????i??0????+l??????????+-?w?????+l??!N?????r??z?^j??y?az)?????*'??m?????&??ay????Z???jy,??m???q?0????!?????,r??m?TD?m???? ,?jb??+??b???j)?)???-y?j?Zr?????Mv??u??z?G??????!?????? From jjmessenger at yahoo.com Tue Sep 11 20:08:16 2012 From: jjmessenger at yahoo.com (Justin Messenger) Date: Tue, 11 Sep 2012 20:08:16 -0700 (PDT) Subject: [simpits-tech] Blackbirds In-Reply-To: References: <1347330187.73762.YahooMailNeo@web140206.mail.bf1.yahoo.com> Message-ID: <1347419296.33970.YahooMailNeo@web140201.mail.bf1.yahoo.com> Yes it is. I dont know why. ? Justin http://www.simadventure.com/? From: Ido Dekkers >To: Justin Messenger ; Simulator Cockpit Builder's List >Sent: Tuesday, September 11, 2012 3:08 PM >Subject: Re: [simpits-tech] Blackbirds > > >is that an F16 throttle on the SR stick? > > >On Tue, Sep 11, 2012 at 5:23 AM, Justin Messenger wrote: > >>The one at the Cosmosphere is a fantastic display. I've seen a lot of Blackbirds and a few A-12s on display, and the Cosmosphere is hands down the best I've seen. It's the only one I am personally aware of that is not just sitting flat on the ground. They have theirs mounted >in a 30 degree descending turn, with the nose almost on the ground, right in the entry of the museum. The lobby of the building was actually built after the Blackbird was in place. The Cosmosphere is a great museum, well worth the side trip if you are in the Wichita area >with some time to spare (after stopping by Justin's place, of course). >> >>>Brian >>? >>The Cosmosphere removed the instrument panel and seat from their?Blackbird so they can display it. They are?bringing it to Cockpit-Fest USA. Here is a photo http://www.vansairforce.net/rv_travel/cosmosphere/sr71cockpit.jpg >>? >>The SAC museum has an even better SR-71 display than the Cosmosphere.? >>Justin >> >> >>_______________________________________________ >>Simpits-tech mailing list >>Simpits-tech at simpits.org >>http://www.simpits.org/mailman/listinfo/simpits-tech >>To unsubscribe, please see the instructions at the bottom of the above page. ?Thanks! >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120911/55483469/attachment.html From dabigboy at cox.net Mon Sep 17 21:00:25 2012 From: dabigboy at cox.net (dabigboy at cox.net) Date: Mon, 17 Sep 2012 21:00:25 -0700 Subject: [simpits-tech] Arduino and serial comms follow-up Message-ID: <20120918000025.C609M.1052810.imail@fed1rmwml301> I meant to post this a while ago, but frankly I modified the sketch I was working on back when I was having trouble and deleted the code I was actually fighting with.... Anyways, I tried to scratch something up that was similar to what I was running before, and wouldn't you know it, I appear to be having more success now. Here's what I was getting stuck with, basically: I have an Arduino Uno that is currently reading the position of a rotary switch on my Bendix radar unit, and doing a fine job. I would like to also have this board reading some info from my Python plugin in X-Plane, and then use that info to drive the position of some analog gauges (already have had the gauges working with the Arduino). The problem I was having was how to send the data from the radar, then receive data from my Python script and drive the gauges. It seems I could not keep things "sync'd" up. But as of tonight, it appears I can arbitrarily send/receive whatever data I want, as long as I match each read/write in my script with an appropriate read/write in the Arduino sketch (which only makes sense, of course). I am doing multiple serial reads and writes that is, multiple lines) for each piece of data I need to exchange. What I am thinking is that I might be better off having only one "line" per data item. So on each cycle of the Arduino, it would read from the virtual serial port, then write back to the serial port the state of various pins (or simply some values that I keep track of inside the Arduino sketch), and then drive the gauges. I think the key to my success tonight is that I stuck everything under a while loop in the Arduino sketch that only runs when Serial.available() returns something. This effectively makes the Arduino "wait" for Python. And in Python, after the initial write, I have some readline() calls, which are blocking (so Python won't start hammering the serial port with data again until the Arduino sends it something). But for now I've kept the sketch as close as I can remember to the basic structure I was operating under earlier. like I said, it *seems* to be working, but I don't know how scalable or how stable it would be if I started doing more stuff in either the sketch or the Python module. What do you guys think, would I be better off with a single read and write call on each end? I've attached the code as a ZIP. If you want to run my actual Python module, you'll need pyserial installed as well, compiled for whatever version of Python you're running. Matt -------------- next part -------------- A non-text attachment was scrubbed... Name: serial_test.zip Type: application/octet-stream Size: 1531 bytes Desc: not available Url : http://www.simpits.org/pipermail/simpits-tech/attachments/20120917/611039e5/attachment-0001.obj From Sean.Galbraith at pacificsimulators.com Tue Sep 18 03:16:21 2012 From: Sean.Galbraith at pacificsimulators.com (Sean Galbraith) Date: Tue, 18 Sep 2012 22:16:21 +1200 Subject: [simpits-tech] Thrustmaster Cougar MFD's Message-ID: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11552@PS-CH1.pacsim.local> Anybody used them? Opinions? I'm being lazy, so rather than building my own, if these are ok I'll buy a pair and bolt them in. I can get them here in NZ for NZD$140 which is about USD$115 (yep, the kiwi peso is catching up!) SeanG -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120918/f0f5e2f2/attachment.html From knight1507 at hotmail.com Tue Sep 18 12:50:50 2012 From: knight1507 at hotmail.com (Richard Amos) Date: Tue, 18 Sep 2012 15:50:50 -0400 Subject: [simpits-tech] Thrustmaster Cougar MFD's Message-ID: I have a set I haven't had any problem with mine at all have had mine about 6 years richard Sent from my Windows Phone ________________________________ From: Sean Galbraith Sent: 9/18/2012 6:16 AM To: Simulator Cockpit Builder's List Subject: [simpits-tech] Thrustmaster Cougar MFD's Anybody used them? Opinions? I'm being lazy, so rather than building my own, if these are ok I'll buy a pair and bolt them in. I can get them here in NZ for NZD$140 which is about USD$115 (yep, the kiwi peso is catching up!) SeanG -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120918/88b50945/attachment.html -------------- next part -------------- _______________________________________________ Simpits-tech mailing list Simpits-tech at simpits.org http://www.simpits.org/mailman/listinfo/simpits-tech To unsubscribe, please see the instructions at the bottom of the above page. Thanks! From Sean.Galbraith at pacificsimulators.com Tue Sep 18 14:17:24 2012 From: Sean.Galbraith at pacificsimulators.com (Sean Galbraith) Date: Wed, 19 Sep 2012 09:17:24 +1200 Subject: [simpits-tech] Thrustmaster Cougar MFD's In-Reply-To: References: Message-ID: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11558@PS-CH1.pacsim.local> Thanks Richard, Looks like I?ll *have* to buy a set J SeanG From: simpits-tech-bounces at simpits.org [mailto:simpits-tech-bounces at simpits.org] On Behalf Of Richard Amos Sent: Wednesday, 19 September 2012 7:51 a.m. To: Simulator Cockpit Builder's List Subject: Re: [simpits-tech] Thrustmaster Cougar MFD's I have a set I haven't had any problem with mine at all have had mine about 6 years richard Sent from my Windows Phone ________________________________ From: Sean Galbraith Sent: 9/18/2012 6:16 AM To: Simulator Cockpit Builder's List Subject: [simpits-tech] Thrustmaster Cougar MFD's Anybody used them? Opinions? I?m being lazy, so rather than building my own, if these are ok I?ll buy a pair and bolt them in. I can get them here in NZ for NZD$140 which is about USD$115 (yep, the kiwi peso is catching up!) SeanG ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2437/5274 - Release Date: 09/17/12 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120919/ab7d3fb3/attachment.html From phoenixcomm at gmail.com Wed Sep 19 07:32:31 2012 From: phoenixcomm at gmail.com (Cris Harrison) Date: Wed, 19 Sep 2012 09:32:31 -0500 Subject: [simpits-tech] Thrustmaster Cougar MFD's In-Reply-To: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11552@PS-CH1.pacsim.local> References: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11552@PS-CH1.pacsim.local> Message-ID: <5059D77F.1060006@gmail.com> On 9/18/2012 5:16 AM, Sean Galbraith wrote: > > Anybody used them? Opinions? > > I'm being lazy, so rather than building my own, if these are ok I'll > buy a pair and bolt them in. I can get them here in NZ for NZD$140 > which is about USD$115 (yep, the kiwi peso is catching up!) > > SeanG > > > > _______________________________________________ > Simpits-tech mailing list > Simpits-tech at simpits.org > http://www.simpits.org/mailman/listinfo/simpits-tech > To unsubscribe, please see the instructions at the bottom of the above page. Thanks! only thing has going for it (looks pretty) Now if you could stuff a display behind them (and toss the paper) it might be cool. Cris H. phoenixcomm.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120919/875c5ad7/attachment.html From jjmessenger at yahoo.com Wed Sep 19 08:12:09 2012 From: jjmessenger at yahoo.com (Justin Messenger) Date: Wed, 19 Sep 2012 08:12:09 -0700 (PDT) Subject: [simpits-tech] Arduino and serial comms follow-up In-Reply-To: References: Message-ID: <1348067529.58769.YahooMailNeo@web140206.mail.bf1.yahoo.com> Thats pretty cool stuff Matt! ? Justin http://www.simadventure.com/? I meant to post this a while ago, but frankly I modified the sketch I was working on back when I was having trouble and deleted the code I was actually fighting with.... > >Anyways, I tried to scratch something up that was similar to what I was running before, and wouldn't you know it, I appear to be having more success now. Here's what I was getting stuck with, basically: > >I have an Arduino Uno that is currently reading the position of a rotary switch on my Bendix radar unit, and doing a fine job. I would like to also have this board reading some info from my Python plugin in X-Plane, and then use that info to drive the position of some analog gauges (already have had the gauges working with the Arduino). The problem I was having was how to send the data from the radar, then receive data from my Python script and drive the gauges. It seems I could not keep things "sync'd" up. > >But as of tonight, it appears I can arbitrarily send/receive whatever data I want, as long as I match each read/write in my script with an appropriate read/write in the Arduino sketch (which only makes sense, of course). I am doing multiple serial reads and writes that is, multiple lines) for each piece of data I need to exchange. > >What I am thinking is that I might be better off having only one "line" per data item. So on each cycle of the Arduino, it would read from the virtual serial port, then write back to the serial port the state of various pins (or simply some values that I keep track of inside the Arduino sketch), and then drive the gauges. I think the key to my success tonight is that I stuck everything under a while loop in the Arduino sketch that only runs when Serial.available() returns something. This effectively makes the Arduino "wait" for Python. And in Python, after the initial write, I have some readline() calls, which are blocking (so Python won't start hammering the serial port with data again until the Arduino sends it something). > >But for now I've kept the sketch as close as I can remember to the basic structure I was operating under earlier. like I said, it *seems* to be working, but I don't know how scalable or how stable it would be if I started doing more stuff in either the sketch or the Python module. What do you guys think, would I be better off with a single read and write call on each end? > >I've attached the code as a ZIP. If you want to run my actual Python module, you'll need pyserial installed as well, compiled for whatever version of Python you're running. > >Matt >_______________________________________________ >Simpits-tech mailing list >Simpits-tech at simpits.org >http://www.simpits.org/mailman/listinfo/simpits-tech > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120919/00731854/attachment-0001.html From geneb at deltasoft.com Wed Sep 19 08:44:01 2012 From: geneb at deltasoft.com (geneb) Date: Wed, 19 Sep 2012 08:44:01 -0700 (PDT) Subject: [simpits-tech] Arduino and serial comms follow-up In-Reply-To: <20120918000025.C609M.1052810.imail@fed1rmwml301> References: <20120918000025.C609M.1052810.imail@fed1rmwml301> Message-ID: On Mon, 17 Sep 2012, dabigboy at cox.net wrote: > I've attached the code as a ZIP. If you want to run my actual Python > module, you'll need pyserial installed as well, compiled for whatever > version of Python you're running. Matt, it looks pretty simple and straightforward. Good job! I'd rack the baud rate up to 250000 though. According to the rate chart I have for the ATMega328, that's the highest rate you can use with a 0% clocking error. One thing you might want to look at is using packets of binary data instead of raw text. I don't know how Python sends binary data though. (and yes, I could over complicate something as simple as crossing a street. :) ) g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! From Sean.Galbraith at pacificsimulators.com Wed Sep 19 15:14:48 2012 From: Sean.Galbraith at pacificsimulators.com (Sean Galbraith) Date: Thu, 20 Sep 2012 10:14:48 +1200 Subject: [simpits-tech] Thrustmaster Cougar MFD's In-Reply-To: <5059D77F.1060006@gmail.com> References: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11552@PS-CH1.pacsim.local> <5059D77F.1060006@gmail.com> Message-ID: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11577@PS-CH1.pacsim.local> I already have the screens in behind, as the Cougar MFD's will be replacing my incomplete bezels, so win-win J I figure it saves me having to make the bezels, wire them up and interface them.... for the price, I don't think I could do it for too much less. SeanG only thing has going for it (looks pretty) Now if you could stuff a display behind them (and toss the paper) it might be cool. Cris H. phoenixcomm.wordpress.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2441/5277 - Release Date: 09/19/12 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120920/225813b0/attachment.html From phoenixcomm at gmail.com Wed Sep 19 16:31:57 2012 From: phoenixcomm at gmail.com (Cris Harrison) Date: Wed, 19 Sep 2012 18:31:57 -0500 Subject: [simpits-tech] Thrustmaster Cougar MFD's In-Reply-To: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11577@PS-CH1.pacsim.local> References: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11552@PS-CH1.pacsim.local> <5059D77F.1060006@gmail.com> <2FB39A1077E2CC48BD7ECF1A3C363FEBE11577@PS-CH1.pacsim.local> Message-ID: <505A55ED.40904@gmail.com> On 9/19/2012 5:14 PM, Sean Galbraith wrote: > > I already have the screens in behind, as the Cougar MFD's will be > replacing my incomplete bezels, so win-win J > > I figure it saves me having to make the bezels, wire them up and > interface them.... for the price, I don't think I could do it for too > much less. > > SeanG > > only thing has going for it (looks pretty) Now if you could stuff a > display behind them (and toss the paper) it might be cool. > > Cris H. > phoenixcomm.wordpress.com > Sean, what displays are you using.. and do they fill the whole area?? Cris H. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120919/5f44b581/attachment.html From Sean.Galbraith at pacificsimulators.com Wed Sep 19 16:36:12 2012 From: Sean.Galbraith at pacificsimulators.com (Sean Galbraith) Date: Thu, 20 Sep 2012 11:36:12 +1200 Subject: [simpits-tech] Thrustmaster Cougar MFD's In-Reply-To: <505A55ED.40904@gmail.com> References: <2FB39A1077E2CC48BD7ECF1A3C363FEBE11552@PS-CH1.pacsim.local> <5059D77F.1060006@gmail.com> <2FB39A1077E2CC48BD7ECF1A3C363FEBE11577@PS-CH1.pacsim.local> <505A55ED.40904@gmail.com> Message-ID: <2FB39A1077E2CC48BD7ECF1A3C363FEBE1157D@PS-CH1.pacsim.local> I have them sitting on the front of a single 19" Widescreen, which shows the MFD displays as well as the Standby attitude and HSI between them. Sean From: simpits-tech-bounces at simpits.org [mailto:simpits-tech-bounces at simpits.org] On Behalf Of Cris Harrison Sent: Thursday, 20 September 2012 11:32 a.m. To: Simulator Cockpit Builder's List Subject: Re: [simpits-tech] Thrustmaster Cougar MFD's On 9/19/2012 5:14 PM, Sean Galbraith wrote: I already have the screens in behind, as the Cougar MFD's will be replacing my incomplete bezels, so win-win J I figure it saves me having to make the bezels, wire them up and interface them.... for the price, I don't think I could do it for too much less. SeanG only thing has going for it (looks pretty) Now if you could stuff a display behind them (and toss the paper) it might be cool. Cris H. phoenixcomm.wordpress.com Sean, what displays are you using.. and do they fill the whole area?? Cris H. ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2441/5277 - Release Date: 09/19/12 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/simpits-tech/attachments/20120920/b5c1e9c0/attachment.html From dabigboy at cox.net Thu Sep 20 20:31:43 2012 From: dabigboy at cox.net (dabigboy at cox.net) Date: Thu, 20 Sep 2012 20:31:43 -0700 Subject: [simpits-tech] Arduino and serial comms follow-up In-Reply-To: Message-ID: <20120920233143.5DSRH.1077021.imail@fed1rmwml107> ---- geneb wrote: > > Matt, it looks pretty simple and straightforward. Good job! > > I'd rack the baud rate up to 250000 though. According to the rate chart I > have for the ATMega328, that's the highest rate you can use with a 0% > clocking error. Well thanks! I was expecting something like "what the heck is that?" :) As you may have noticed, I did get the ordinal-to-integer codes from somewhere online, with little modification. There is only one problem with the code I posted: it doesn't work. :P I ran it for a bit longer and it seems the Arduino gets stuck waiting for a while. I'm not quite sure what's happening.....I have a timeout of half a second on the reads for Python, which means it should eventually get past them and send something to the Arudino, which would make the Arduino kick off and go to the next call to Serial.Write(). I'm pretty sure it's nothing major, however. I'm just happy to see that I basically got it working. Cutting things down to one send and one receive per cycle might help as well. In fact, I'm thinking of sending and receiving every *other* cycle, which should help protect against Python or the Arduino getting stuck waiting again. Thanks for the tip on the baud rate, I'll try it. I was just using 9600 because a lot of examples used it. > One thing you might want to look at is using packets of binary data > instead of raw text. I don't know how Python sends binary data though. I may go this route. Python is sending its "string" object, which is basically a set of integers corresponding to the Unicode value of the character I'm sending. I don't know the down and dirty details exactly...I suppose this is clean enough to pass around to the Arduino. Unfortunately the standard write function in Pyserial only wants strings......that's why I'm using the funky code I lifted from online to pass large numbers from Python to the Arduino. Matt From geneb at deltasoft.com Fri Sep 21 07:19:16 2012 From: geneb at deltasoft.com (geneb) Date: Fri, 21 Sep 2012 07:19:16 -0700 (PDT) Subject: [simpits-tech] Arduino and serial comms follow-up In-Reply-To: <20120920233143.5DSRH.1077021.imail@fed1rmwml107> References: <20120920233143.5DSRH.1077021.imail@fed1rmwml107> Message-ID: On Thu, 20 Sep 2012, dabigboy at cox.net wrote: > > ---- geneb wrote: >> >> Matt, it looks pretty simple and straightforward. Good job! >> >> I'd rack the baud rate up to 250000 though. According to the rate chart I >> have for the ATMega328, that's the highest rate you can use with a 0% >> clocking error. > > Well thanks! I was expecting something like "what the heck is that?" :) > As you may have noticed, I did get the ordinal-to-integer codes from > somewhere online, with little modification. > I've seen much, much worse in the wild. :) I've attached the code for my 16 channel output driver board - the pre-Centipede version. This was written with the intention of having a bunch of ATMega328's sharing the same serial input line. That's why you'll see references to the board id. With the Centipede I can get 128 outputs (or inputs, or a mix) for each Arduino. Each Centipede supports 64 channels. g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! -------------- next part -------------- /* Gazoutta 16 * 16 Channel digital output board * Copyright 2010 by Gene Buckle * All Rights Reserved * This software is provided as-is and is licensed under the * Creative Commons Attribution Share Alike license. * Please see http://creativecommons.org/about/licenses/ for details. * * I can be reached at geneb at deltasoft.com * * History: * ----------------- * 18Mar10 gwb Started. * 21Jul10 gwb First version! * 30Jul10 gwb First publicly releasable version. * */ #include #define CHAN_1 2 /* Corresponds to pin #2 on the Arduino */ #define CHAN_2 3 #define CHAN_3 4 #define CHAN_4 5 #define CHAN_5 6 #define CHAN_6 7 #define CHAN_7 8 #define CHAN_8 9 #define CHAN_9 10 #define CHAN_10 11 #define CHAN_11 12 #define CHAN_12 13 #define CHAN_13 14 #define CHAN_14 15 #define CHAN_15 16 #define CHAN_16 17 byte channels[] = { 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}; #define ID_LEN 4 // length of the board ID. #define BUF_SIZE 32 int buffer[128]; int bufIndex = 0; int id_offset = ID_LEN; char boardID[ID_LEN+1] = "GAZ1"; boolean havePrefix = false; void setup() { int x = 0; byte sigValue[1]; //Serial.begin(115200); // Use this baud rate if your host can't use the faster rate below. Serial.begin(250000); // The 250k baud rate gives us a 0% error rate with a 16Mhz clock. for(x=CHAN_1;x < CHAN_16; x++) { pinMode(x, OUTPUT); digitalWrite(x, LOW); // Initialize all the channels to the "off" state // Note that if you're using inverted outputs, you should change this // for those channels that are going to be used inverted to avoid turning // devices on when the board initializes. } for(x = 0;x < BUF_SIZE; x++) { buffer[x] = 0; } // Check to see if this is the first time we've been run // Addresses 1 and 2 of the EEPROM should be "GB" if we have. sigValue[0] = EEPROM.read(0); sigValue[1] = EEPROM.read(1); if ((sigValue[0] != 0x47) && (sigValue[1] != 0x42)) { // no signature found so we should write the default board id to the EEPROM. for (x = 0; x < ID_LEN; x++) EEPROM.write(x + 2, boardID[x]); // Update the signature.. EEPROM.write(0,0x47); EEPROM.write(1,0x42); } else { for (x = 0; x < ID_LEN; x++) boardID[x] = EEPROM.read(x + 2); // we pull it from the EEPROM... } } void loop() { int inByte = 0; int test = 0; if (Serial.available() > 0) { /* append the byte to the buffer */ inByte = Serial.read(); buffer[bufIndex] = inByte; bufIndex++; if ((inByte == '*') || (inByte == '\n')) { processBuffer(); clearBuffer(); bufIndex = 0; } } } void clearBuffer() { int x = 0; for(x = 0;x < BUF_SIZE; x++) { buffer[x] = 0; } } void processBuffer() { boolean validID = true; int cnt = 0; int chanbank1 = 0; int chanbank2 = 0; // first off, we need to find out if the command being sent is meant for us. // bytes 1..4 is the device ID code. We must match before we continue. for(cnt = 0;cnt < ID_LEN;cnt++) { if (boardID[cnt] != buffer[cnt]) { validID = false; break; } } if (validID) { // Now that we know that the host is talking to US, then we can start // processing the commands they've sent. // Byte 5 is the function byte. It tells us what we're going to do. // 0x00 - Set channels to follow bit state in channel bytes // 0x01 - Turn specific channels on // 0x02 - Turn specific channels off // 0x03 - Turn ALL channels on // 0x04 - Turn ALL channels off. // 0x05 - Write new board ID to EEPROM chanbank1 = buffer[ID_LEN + 1]; chanbank2 = buffer[ID_LEN + 2]; if (buffer[id_offset] == 0x00) { // Follow bit state for (cnt = 0; cnt < 8; cnt++) { if (chanbank1 & (1 << cnt)) digitalWrite(channels[cnt], HIGH); else digitalWrite(channels[cnt], LOW); if (chanbank2 & (1 << cnt)) digitalWrite(channels[cnt+8], HIGH); else digitalWrite(channels[cnt+8], LOW); } } if (buffer[id_offset] == 0x01) { // Set active channels high, ignore unset bits // test the first control byte for (cnt = 0; cnt < 8; cnt++) { if (chanbank1 & (1 << cnt)) digitalWrite(channels[cnt], HIGH); if (chanbank2 & (1 << cnt)) digitalWrite(channels[cnt+8], HIGH); } } if (buffer[id_offset] == 0x02) { // Set active channels low, ignore unset bits // test the first control byte for (cnt = 0; cnt < 8; cnt++) { if (chanbank1 & (1 << cnt)) digitalWrite(channels[cnt], LOW); if (chanbank2 & (1 << cnt)) digitalWrite(channels[cnt+8], LOW); } } if (buffer[id_offset] == 0x03) { allChannelsOn(); } if (buffer[id_offset] == 0x04) { allChannelsOff(); } if (buffer[id_offset] == 0x05) { // Write new board ID to EEPROM char newID[ID_LEN+1] = {0,0,0,0,0}; for (cnt = 0; cnt < ID_LEN; cnt++) { newID[cnt] = buffer[5+cnt]; } for (cnt = 0; cnt < ID_LEN; cnt++) { EEPROM.write(cnt + 2, newID[cnt]); boardID[cnt] = newID[cnt]; } Serial.print("ID changed to "); Serial.println(boardID); } } else { if (buffer[0] == 'i' || buffer[0] == 'I') { Serial.println(boardID); } } } void allChannelsOn() { int x; for(x=2;x<18;x++) digitalWrite(x, HIGH); } void allChannelsOff() { int x; for(x=2;x<18;x++) digitalWrite(x, LOW); } From dabigboy at cox.net Fri Sep 21 17:27:10 2012 From: dabigboy at cox.net (dabigboy at cox.net) Date: Fri, 21 Sep 2012 17:27:10 -0700 Subject: [simpits-tech] Arduino and serial comms follow-up In-Reply-To: Message-ID: <20120921202710.ZVPH4.1110698.imail@fed1rmwml302> ---- geneb wrote: > > > I've seen much, much worse in the wild. :) > > I've attached the code for my 16 channel output driver board - the > pre-Centipede version. This was written with the intention of having a > bunch of ATMega328's sharing the same serial input line. That's why > you'll see references to the board id. With the Centipede I can get 128 > outputs (or inputs, or a mix) for each Arduino. Each Centipede supports > 64 channels. THANKS for the code Gene, as a matter of fact I am planning on trying out the Centipede shield when I start adding more features to the sim (at the moment I have a sort of feature-lock, until I get finished with CockpitFest). I may have questions for you once I start studying this code a bit more. :) Matt From raysot at comcast.net Sat Sep 29 23:24:32 2012 From: raysot at comcast.net (Ray) Date: Sat, 29 Sep 2012 23:24:32 -0700 Subject: [simpits-tech] Gene, Drop me a line... In-Reply-To: <1347419296.33970.YahooMailNeo@web140201.mail.bf1.yahoo.com> References: <1347330187.73762.YahooMailNeo@web140206.mail.bf1.yahoo.com> <1347419296.33970.YahooMailNeo@web140201.mail.bf1.yahoo.com> Message-ID: <5067E5A0.7070406@comcast.net> ..need your opinion on something... From geneb at deltasoft.com Sun Sep 30 11:04:09 2012 From: geneb at deltasoft.com (geneb) Date: Sun, 30 Sep 2012 11:04:09 -0700 (PDT) Subject: [simpits-tech] Gene, Drop me a line... In-Reply-To: <5067E5A0.7070406@comcast.net> References: <1347330187.73762.YahooMailNeo@web140206.mail.bf1.yahoo.com> <1347419296.33970.YahooMailNeo@web140201.mail.bf1.yahoo.com> <5067E5A0.7070406@comcast.net> Message-ID: On Sat, 29 Sep 2012, Ray wrote: > ..need your opinion on something... > Ok. "Yes, your butt looks big in that dress." *runs* g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people collect things for a hobby. Geeks collect hobbies. ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! From phoenixcomm at gmail.com Sun Sep 30 11:15:09 2012 From: phoenixcomm at gmail.com (Cris Harrison) Date: Sun, 30 Sep 2012 13:15:09 -0500 Subject: [simpits-tech] Gene, Drop me a line... In-Reply-To: <5067E5A0.7070406@comcast.net> References: <1347330187.73762.YahooMailNeo@web140206.mail.bf1.yahoo.com> <1347419296.33970.YahooMailNeo@web140201.mail.bf1.yahoo.com> <5067E5A0.7070406@comcast.net> Message-ID: <50688C2D.1010308@gmail.com> On 9/30/2012 1:24 AM, Ray wrote: > ..need your opinion on something... > > > _______________________________________________ > Simpits-tech mailing list > Simpits-tech at simpits.org > http://www.simpits.org/mailman/listinfo/simpits-tech > To unsubscribe, please see the instructions at the bottom of the above page. Thanks! > first you need to ask the question..