Search found 18 matches

by stasiks
Wed Oct 10, 2012 1:50 pm
Forum: Flowcode V5 Free Edition
Topic: I2C slave
Replies: 3
Views: 3776

Re: I2C slave

Hi,
Searching for other options I found a "High Speed ​​CAN-Transceiver" "IFX1050G" http://catalog.gaw.ru/project/download.php?id=42566
The question is or the IFX1050G chip it is possible to communicate between 3 micro-controller via RS232 data transfer method?
Thanks.
by stasiks
Tue Oct 09, 2012 2:28 pm
Forum: Flowcode V5 Free Edition
Topic: I2C slave
Replies: 3
Views: 3776

Re: I2C slave

Unfortunately, the C language I do not understand and I do not readily translate code for AVR, time to look for another variant.
by stasiks
Tue Oct 09, 2012 12:29 am
Forum: Flowcode V5 Free Edition
Topic: I2C slave
Replies: 3
Views: 3776

I2C slave

Hello,
I wanted to find out if it is possible to communicate between two microcontroller using the I2C data transfer method, Master / Slave, if is no clue about C language?
Thank
by stasiks
Mon Sep 10, 2012 7:07 pm
Forum: General Programming
Topic: MAX6675 "K-Thermocouple-to-Digital Converter"
Replies: 3
Views: 8760

Re: MAX6675 "K-Thermocouple-to-Digital Converter"

Understood if I want to check a particular bit value using the command "(DATA AND 0x04) =0x04" and to read 12bit data shall be removed first three bits "TEMP = (DATA >> 3)", and refer that there are 12 bits read "TEMP = TEMP AND 0x0FFF"
Thank you very much :D
by stasiks
Mon Sep 10, 2012 6:34 pm
Forum: General Programming
Topic: MAX6675 "K-Thermocouple-to-Digital Converter"
Replies: 3
Views: 8760

Re: MAX6675 "K-Thermocouple-to-Digital Converter"

Thank you very much.
I'd like to understand how to handle data when MAX6675 transmit 16 bits to read 1bit is used command 'AND 0x02 ",to read 2 bits" AND 0x04 "and the other 15 bit " AND 0x7FF8 ".
I have understood correctly?
by stasiks
Mon Aug 27, 2012 7:01 am
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

HI, Well then I have finally programmed thermometer, unfortunately not in the way as they would like, The AVR support logarithm calculations. Using the following formula got a great result: Support resistance = 10K NTC thermistor= 10K NTC*1024=10000*1024=10240000 Temp_K = log ((10240000 / ADC_Temp) ...
by stasiks
Fri Aug 24, 2012 3:02 am
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

Hi, Please help with the mathematical side,with this calculator: http://appnote.avrportal.com/calculator/thermistor-ntc calculation each Gard ADC value while bringing the data to appears on the screen permissiveness miracles, that is why I continued to search and found this tutorial in c language: h...
by stasiks
Thu Aug 23, 2012 8:49 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

Hi,
If someone is interested I found a very good address:http://appnote.avrportal.com/
by stasiks
Tue Aug 21, 2012 9:01 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

Here's why there is a need RAM write in ascii table LV language symbol is - so have to build myself. :mrgreen:
How to stays with the thermometer? or can suggest features that would be needed to create a more precise measurement, as they are used and can organize itself to try to divine :D
by stasiks
Tue Aug 21, 2012 8:24 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

Interestingly, unfortunately I can not home burn in the processor but nothing changed in the simulation, RAM write, I tried it and check how it done,I live in Latvian and Latvian alphabet characters are like "ā, ī, ē,ū, ģ, ķ, š'' is a very pleasing that the device with you contact in native language...
by stasiks
Tue Aug 21, 2012 7:05 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

Hi, Thank you for your quick reply, and for the work done for me. Are or may be if i ask a lot of questions this project context? What is very interesting the LUT does not recognise the value of the "-" sign, so had to be think about and got: Crop-1.jpg Another benefit interesting fact of the readin...
by stasiks
Tue Aug 21, 2012 12:45 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

HI, Please help deal with this thermometer, I diligently read and studied materal I could find on the internet but I did not understand how to correct the NTC Logoritmik curve with LUT. I know that can be connected in parallel with the thermistor resistance as a result will be almost linear curve, b...
by stasiks
Sun Aug 19, 2012 4:47 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

Hello I understood why this program does not work: ADC value must be one of the values ​​given in my case ADC is divided by the 33th Problem is that he is using the values ​​given in "25,30,35", but I need "22.5,31,18.8, -6.3" yet i have no clue how to do it. The problem is that do not understand ho...
by stasiks
Sat Aug 18, 2012 9:11 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

Re: NTC Thermistor Thermometer compilation error

Thank the problem was resolved, but the Look-Up Tables do not want to work, showing all sorts of nonsense. :?
I began to think or AVR is no different teams, in help file anything useful unfortunately, did not find :?:
by stasiks
Sat Aug 18, 2012 6:51 pm
Forum: Flowcode V5 Free Edition
Topic: NTC Thermistor Thermometer compilation error
Replies: 15
Views: 11206

NTC Thermistor Thermometer compilation error

Good day need to create a primitive thermometer all materials have already prepared for suspending programming construct again which problem: termometrs.c:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' termometrs.c: In function 'main': termometrs.c:803: error: expected ex...
by stasiks
Tue Aug 14, 2012 4:31 pm
Forum: Flowcode V5 Free Edition
Topic: AVR compiler errors
Replies: 15
Views: 17659

Re: AVR compiler errors

Thank you very much, everything did and everything was successful.
Thank you very much :D
by stasiks
Tue Aug 14, 2012 3:16 pm
Forum: Flowcode V5 Free Edition
Topic: AVR compiler errors
Replies: 15
Views: 17659

Re: AVR compiler errors

Thank you that answered so quickly, here is Flowcharts and the generated c code.
Thank you.
by stasiks
Tue Aug 14, 2012 3:07 am
Forum: Flowcode V5 Free Edition
Topic: AVR compiler errors
Replies: 15
Views: 17659

AVR compiler errors

Hello There was a need for the Programming all was good while the PWM launched, during compilation appear in the following problem: /AVR\AVR_CAL_PWM.c: In function 'FC_CAL_PWM_Enable_Channel_1': /AVR\AVR_CAL_PWM.c:671: error: 'COM0A0' undeclared (first use in this function) /AVR\AVR_CAL_PWM.c:671: e...