Share your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
thanks for sharing Alan. One remark : i see cbi/sbi which will work fine but you can best use SET/RESET or just PORTX.y= 1|0 , bascom will make exact the same cbi/sbi instructions. The advantage :...
View ArticleBASCOM-AVR : Calculator percent error rate in the port : REPLY
Hardware baud rates are fixed by the available divisor ratios in the chip hardware, in combination with the crystal frequency used. And for some crystal values, the available divisor ratios mean you...
View ArticleShare your working BASCOM-AVR code here : Decoding Sony Remote With Bascom...
Hello, I found a method to decode sony ir on the web and used it with Bascom AVR. It uses external interrupt and pulsin command to decode ir signal. [code:1:edc0ac56af] $regfile = "m8def.dat" $crystal...
View ArticleShare your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
Thanks Mark. I always appreciate your comments. A few years ago when I was trying to get my autopilot to work I had problems in that, at times, the tiller would not respond properly. This was always a...
View ArticleShare your working BASCOM-AVR code here : Decoding Sony Remote With Bascom...
Hello rabiuls I have a complete how too in the blog section with a number of programs and I seem to be able to decode anything now even the DHT11/22 sensors. It started only as a way to decode...
View ArticleShare your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
Here is the code using Pulsein and an interrupt to get data from the DHT11/22 NOTE The MCS library needs to be modified for this to work!!!! This code processes the bytes from the sensor...
View ArticleBASCOM-AVR : Binary encoded hex values to decimal eg DHT11 : NEWTOPIC
I have only been able to convert the hex values in the binary bytes to decimal values by first making them strings is there a better way to convert say 0010-0110 > 26 hex > 38 decimal I can not...
View ArticleBASCOM-AVR : Binary encoded hex values to decimal eg DHT11 : REPLY
I don't get your point. If you store the decimal value of 38 in any byte, it will still remain the value of say 38 apples. It is a matter of notation if you want to write that down as 38 paintetd...
View ArticleShare your working BASCOM-AVR code here : Decoding Sony Remote With Bascom...
@Paulvk, this would be very nice to decode any remote - a ballpark value for keys. I visited your link and there are several files. Can you please tell me which file should I download (good, if there...
View ArticleBASCOM-AVR : Binary encoded hex values to decimal eg DHT11 : REPLY
Doh! I worked through the data sheet converting their formula just need some sleep I think!
View ArticleShare your working BASCOM-AVR code here : Decoding Sony Remote With Bascom...
If you work through the blog step by step you will first load the program that shows you the timing of the pulses this enables you to change the values in the ISR in the second program that that...
View ArticleShare your working BASCOM-AVR code here : Decoding Sony Remote With Bascom...
Thank you Paul. I shall try to understand from the start, it may take time. But it is good to have a method to decode any IR signal. Where is the link for Watering System Controller blog? Best regards.
View ArticleShare your working BASCOM-AVR code here : Decoding Sony Remote With Bascom...
It is in the blog section of this forum http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewforum&f=19
View ArticleShare your working BASCOM-AVR code here : Decoding Sony Remote With Bascom...
Thanks Paul. I did not know that this forum is also having a blog. That's good :).
View ArticleBASCOM-AVR : Binary encoded hex values to decimal eg DHT11 : REPLY
In some instances, for example displays that take binary decimal adjusted bytes, then B0010_0110=H26=dec38=B0011_1000decimal adjusted binary nibbles. Or did something change lately? Hubert
View ArticleBASCOM-AVR : Binary encoded hex values to decimal eg DHT11 : REPLY
[quote:169d697c88="Paulvk"]I can not find a command in Bascom to do it.[/quote:169d697c88] Simpy use MakeBCD.
View ArticleBASCOM-AVR : Need Help MAX7456 : REPLY
[URL=http://radikal.ru/F/s020.radikal.ru/i717/1304/9a/010e2750628d.jpg.html][img:12a30a2145]http://s020.radikal.ru/i717/1304/9a/010e2750628dt.jpg[/img:12a30a2145][/URL]
View ArticleShare your working BASCOM-AVR code here : Poor man's Rolex.... : REPLY
Hi Ben. Altered your code under the 8-bit connection - works. Tried to translate into Russian language - a problem: instead of letters does not appear to understand icons. Do not tell me what could be...
View ArticleShare your working BASCOM-AVR code here : Poor man's Rolex.... : REPLY
What I see is that you tried to translate the days of the week [code:1:e2e7213008]'------------------------------------------------------------------------------- ' lookup voor dag van de week...
View Article