[simpits-tech] Arduino, Part Deaux...

raysot at comcast.net raysot at comcast.net
Tue Feb 22 14:08:17 PST 2011


This may be where my programming knowledge falls short but I'm not sure you can set a frequency per I/O pin. (That's where i was going originally before the thin trail of smoke erupted.) 


The PWM outputs I *think* are frequency-adjustable, but hadn't gotten there yet. (And I may still pursue that route) 


One problem I ran into with the original circuit was that the Freq-to-Aircore driver chips had a non-linear response curve. (More like a logarithmic response curve and I would probably need to build reference tables to remove that log behavior) 



Gotta crack a few eggs to make an omelet I guess. 


Now, for the serial plan... What I hope for is to have a single data line shared by all CS4122 chips , with multiple CLK lines. (One per chip) 

I love research! :-0 

----- Original Message ----- 
From: raysot at comcast.net 
To: "Simulator Cockpit Builder's List" <simpits-tech at simpits.org> 
Sent: Tuesday, February 22, 2011 1:50:49 PM 
Subject: Re: [simpits-tech] Arduino, Part Deaux... 

Got me some of these: 
CS4122 

Mouser still has them. I've never soldered a SOIC device before... looks like a trip to Fryes is warranted! 


----- Original Message ----- 
From: "Gene Buckle" <geneb at deltasoft.com> 
To: "Simulator Cockpit Builder's List" <simpits-tech at simpits.org> 
Sent: Tuesday, February 22, 2011 12:55:14 PM 
Subject: Re: [simpits-tech] Arduino, Part Deaux... 

On Tue, 22 Feb 2011, raysot at comcast.net wrote: 

> 
> For data to work, it must be beautiful :-) 
> 
> Yep! Gonna fight those H-Bridges every step of the way. 
> 
> The Serial link seems a more elegant solution. I could [probably] get 
> the arduino to work supporting multiple h-bridges but I think the timing 
> issues would really be a problem (for me) since the Arduino is a 
> single-threaded system. 
> 
Well keep in mind that if memory serves, you don't need multiple threads 
to drive those things. You set a value on the port and it'll stay there 
until you tell it otherwise. I could be wrong of course - I haven't had 
time to play with them yet. 

What chip did you find for driving the air-cores serially? 

g. 
> In my upcoming attempt I'm excited about grabbing a byte, then sending 
> it to the appropriate aircore driver. Seems simple... 
> 
> (As long as I don't smoke check Arduino #2 things should go much better!) 
> 
It's a good reason to keep some of the ATMega328 PDIP based versions of 
the Arduino handy. If you cook it, you just stick the bootloader on a new 
one and go. You'll need to build an ICP cable or have an STK500 (or 
similar) programmer to burn the bootloader on it though. 

g. 


-- 
Proud owner of F-15C 80-0007 
http://www.f15sim.com - The only one of its kind. 
http://www.simpits.org/geneb - The Me-109F/X Project 

ScarletDME - The red hot Data Management Environment 
A Multi-Value database for the masses, not the classes. 
http://www.scarletdme.org - Get it _today_! 

Political correctness is a doctrine, fostered by a delusional, illogical 
minority, and rabidly promoted by an unscrupulous mainstream media, which 
holds forth the proposition that it is entirely possible to pick up a turd 
by the clean end. 
_______________________________________________ 
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! 
_______________________________________________ 
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/20110222/b6762275/attachment-0001.html 


More information about the Simpits-tech mailing list