BASCOM-AVR : Efficient arctangent approximation : REPLY
Hi Folks, here is an updated version. Finally I found some time for speed up: sin_cos in under 500 cycles (@ 12 iterations) :D ...But only for avr with hardware multiplier... Thinking about the...
View ArticleBASCOM-AVR : Efficient arctangent approximation : REPLY
[quote:d27788fa88]Only 0°..1° (sine) and 89°..90° cosine is critical. This could be improved by a dynamic angscale. [/quote:d27788fa88] Of course you could just use the fact that for small angles, sin...
View ArticleBASCOM Project Blog : Watering system Contrioller : REPLY
I have now added the infrared receiver to the hardware. I have also added some of the RTC clock software but not using it at present. With the infrared I can now have displayed on the terminal the 32...
View ArticleBASCOM-AVR : Sort descending : NEWTOPIC
Does somebody has changed the SORT function so it will descending in stead of ascending? [b:afe4dae77e][color=red:afe4dae77e](BASCOM-AVR version : 2.0.7.6 )[/b:afe4dae77e][/color:afe4dae77e]
View ArticleBASCOM-AVR : Sort descending : REPLY
Hi, Why change the sort function. Just read from the last element to the first or first to last, depending on when you want assending or decending. Regards Ian Dobson
View ArticleBASCOM-AVR : BASCOM Programmer : REPLY
Mark, No, you are correct. I verified this last night. Exactly what I was looking for. What I missed and it appears that the BASCOM IDE HELP file, BASCOM IDE, Program Send to Chip section could be...
View ArticleBASCOM-AVR : val function and _valcheck = 1 : NEWTOPIC
Hi, I'm using the val function and setting the const _valcheck to 1, which should cause the err variable to be set when the value being converted by val is not a numeric. This works well for almost...
View ArticleBASCOM-AVR : I need help Ltc2621 DAC does not work : NEWTOPIC
I'm working on a project with a "Ltc2621," the problem is that I am not getting the "Ltc" get the data directly, for example, if I put a counter he reacts by increasing the output, but if you change...
View ArticleBASCOM-AVR : val function and _valcheck = 1 : REPLY
You could use the len of the string, =0 if string is null. Not quite the same a a blank string, ie a string containing character 32 decimal.
View ArticleBASCOM-AVR : RS 232 Data validation On wireless transmision : NEWTOPIC
Greetings all I need a bit of help or general pointing in the right direction. I have a project that transmits data on a wireless rs232. I need to preform a bit of error checking of the received data....
View ArticleBASCOM-AVR : RS 232 Data validation On wireless transmision : REPLY
Take a look at the CRC functions in the BASCOM manual. For something so simple it works very well.
View ArticleBASCOM-AVR : I need help Ltc2621 DAC does not work : REPLY
I think I found the problem but not the solution help me :(
View ArticleBASCOM-AVR : I need help Ltc2621 DAC does not work : REPLY
be cause you do: Shift Ltc2621_dados , Left , 4 , Signed value 4 is shifted 4 times left = 64 bin([color=red:1c0b11f6a0]100[/color:1c0b11f6a0]) [color=blue:1c0b11f6a0]shift left 4[/color:1c0b11f6a0]...
View ArticleBASCOM-AVR : I need help Ltc2621 DAC does not work : REPLY
Thanks for the help! Ok, but if you see on page 12 of the datsheet ltc2621, I need to make the displacement of 4 bits, the problem is that when sending a value of "125" but reacts if the value of 600...
View ArticleBASCOM-AVR : I need help Ltc2621 DAC does not work : REPLY
Maybe you need to shiftout all 24 bits use a Long for this you can try this test for 4095 : [code:1:dd61cd5810]$regfile = "m16adef.dat" $crystal = 13000000 $baud = 38400 $hwstack = 150 $swstack = 150...
View ArticleBASCOM-AVR : How demagnetization LCD 2*16 : REPLY
that's cause from the AC signal generating by coil during ON, the solution is make additional diode paralel to coil. rgrd Mansur Hidayat
View ArticleBASCOM-AVR : RS 232 Data validation On wireless transmision : REPLY
Ok. I might need a bit of 'spoon feeding', I'm a bit of a noob when it come to this. I've had a look at the bascom manual and did a bit of googling to see what CRC is all about and also had a look at...
View ArticleBASCOM-AVR : RS 232 Data validation On wireless transmision : REPLY
If the sent data only consists of a word or a few, then just send it three times in a row and compare at the receiver before you take it as received data or request or wait for new data. Depending on...
View ArticleBASCOM Project Blog : 7 inch display board : REPLY
We put a DHT11 sensor on location JP1 and from www.AVRprojects.ru we have downloaded software to read the DHT11....
View ArticleBASCOM-AVR : Motor RPM indicator equipped with 1024 pulses/revolution run :...
I want to measure the RPM of a simple squirrel cage induction motor running at 1500 RPM max. is ATMEGA8 running at 8MHz can cope such a high speed pulses. my idea is one timer1 working as 16 bit...
View Article