Quantcast
Channel: MCS Electronics Forum
Viewing all 20717 articles
Browse latest View live

BASCOM-AVR : 10-bit High Speed Timer/Counter4 (64MHz) : REPLY

$
0
0
The aim is to use the High Speed Asynchronous counter for measuring time and frequency. On the other hand I can not find the input pin and the necessary configuration (may be too complicated ...)

BASCOM-AVR : 10-bit High Speed Timer/Counter4 (64MHz) : REPLY

$
0
0
[quote:fc5012a519="yantel37"]On the other hand I can not find the input pin and the necessary configuration (may be too complicated ...)[/quote:fc5012a519] Understandable, as there is no T4 external input pin. This timer looks suitable with it's dead time generator for motor control, respectively H-bridges. But neither the T4 has an input capture unit, nor does it allow for external clocking. You can easily find that out by checking the prescaler bits for T4 in TCCR4B, you'll find also a table with all possible CS43..40 combinations. Compare that with T1, you won't find a setting that allows for external clock on T4.

Share your working BASCOM-AVR code here : RDX...GC B&W LCD Library & Proteus model : REPLY

$
0
0
I update library. Check it. [URL=http://radikal.ru/fp/cd1f9fa8fc8f4b54a39e19117ad9c953][img:5069af179a]http://s013.radikal.ru/i324/1502/c3/439abcff656ct.jpg[/img:5069af179a][/URL]

Share your working BASCOM-AVR code here : RDX...GC B&W LCD Library & Proteus model : REPLY

$
0
0
[quote:506276d310="Mrshilov"]I update library. Check it.[/quote:506276d310] Thank You So Much! Everything works! [URL=http://radikal.ru/fp/76daf65853b64beeaa723951f6aa311a][img:506276d310]http://s011.radikal.ru/i316/1502/40/02265a264907t.jpg[/img:506276d310][/URL]

BASCOM-AVR : i2c multibus in 2.0.7.8.001 : REPLY

$
0
0
Problem solved. The decision in this topic - [url]http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&p=67148#67148[/url]

BASCOM-AVR : 10-bit High Speed Timer/Counter4 (64MHz) : REPLY

$
0
0
MWS Thanks for your reply. But it is a shame to have such a potent peripheral and not to use it, with the number of applications that could be implemented ...

BASCOM-AVR : Video Player with AVR CHIP : REPLY

$
0
0
Hallo PeterM, I remember to see in youtube a demonstration of playing a vídeo with FT800 on a 5" TFT I want use a 480x800 pixel 7" TFT to run a vídeo on a little area 300x300 and use the other free space to load during vídeo playing, other static images Regards toto

Share your working BASCOM-AVR code here : RDX...GC B&W LCD Library & Proteus model : REPLY

$
0
0
Example of work with sensors 3xBMP085 and 2xBMP180 [url=http://radikal.ru/f/s004.radikal.ru/i208/1502/dd/51bef20fe13c.jpg.html][img:ade7fd0508]http://s004.radikal.ru/i208/1502/dd/51bef20fe13ct.jpg[/img:ade7fd0508][/url][url=http://radikal.ru/f/s61.radikal.ru/i171/1502/f4/da6b8ad35a6c.jpg.html][img:ade7fd0508]http://s61.radikal.ru/i171/1502/f4/da6b8ad35a6ct.jpg[/img:ade7fd0508][/url]

BASCOM-AVR : sample code for xmega adc : NEWTOPIC

$
0
0
Hi i want to use adc of atxmega64a3au.i copy the sample code from bascom directory but it return various different value on adc0. please get me a tested sample code to check the all adc channel on atxmega64a3au. Regards [b:9148844630][color=red:9148844630](BASCOM-AVR version : 2.0.7.8 )[/b:9148844630][/color:9148844630]

BASCOM-AVR : sample code for xmega adc : REPLY

$
0
0
http://bascom-forum.de/showthread.php?2198-ATXMEGA-kleines-einmaleins-Erste-Schritte-mit-ATxmega/page8

Share your working BASCOM-AVR code here : RDX...GC B&W LCD Library & Proteus model : REPLY

$
0
0
@Mrshilov : well done, thank you for your support. @sasha_1973 : thanks for sharing your nice project. I only have problems with some of the identifiers like Ðàñ÷åò_âûñîòû , but that is because i do not master your language :D

Share your working BASCOM-AVR code here : RDX...GC B&W LCD Library & Proteus model : REPLY

$
0
0
[quote:d758ef2fe4="albertsm"]@Mrshilov : well done, thank you for your support. @sasha_1973 : thanks for sharing your nice project. I only have problems with some of the identifiers like Ðàñ÷åò_âûñîòû , but that is because i do not master your language :D[/quote:d758ef2fe4] In the near future, will correct.

Share your working BASCOM-AVR code here : RDX...GC B&W LCD Library & Proteus model : REPLY

$
0
0
[quote:92a28640b9="albertsm"]@Mrshilov : well done, thank you for your support. @sasha_1973 : thanks for sharing your nice project. I only have problems with some of the identifiers like Ðàñ÷åò_âûñîòû , but that is because i do not master your language :D[/quote:92a28640b9] In the near future, will correct.

BASCOM-AVR : Video Player with AVR CHIP : REPLY

$
0
0
BTW what kind of video source would be used with the FT800 Is it video from a Camera(web cam) or SD Card (like an AVI file) ?

BASCOM-AVR Old versions : i have problem in adc value print it in 7segment : NEWTOPIC

$
0
0
i have value (VOLT) from convert LDR (ADC) ----------------------------------------------------- I NEED TO PRINT THIS VALUE IN 7SEGMENT ------------------------------------------------------ CODE & PROTUS I USE ATMEGA 328P BASED IN ARDUINO AUNO R3 ------------------------------------------------------ [img:af4fb00754]http://www3.0zz0.com/2015/02/12/12/849565239.jpg[/img:af4fb00754]' [code:1:af4fb00754] $programmer = 23 $regfile = "m328pdef.dat" $crystal = 16000000 $hwstack = 60 $swstack = 60 $framesize = 60 $baud = 9600 '------------------------------------ '------------------------------------ Config Pind.2 = Output Config Pind.3 = Output Config Pind.4 = Output Config Pind.5 = Output Config Pind.6 = Output Config Pind.7 = Output Config Adc = Single , Prescaler = Auto , Reference = Avcc Start Adc Config Single = Scientific , Digits = 3 '------------------------------------ '------------------------------------ Dim Num As Byte Dim Temp As Byte Dim 7seg As Byte Dim C As Byte Dim K As Byte Dim Ldr As Word Dim Ldr_v As Single Dim E As Byte Const V_ref = 5 '------------------------------------- '------------------------------------- Do Gosub Read_adc '----------------- Gosub Calc_lux '----------------- Num = E If Num < 9 Then Portd.7 = 1 Portd.6 = 0 Temp = Makebcd(num) Portd.2 = Temp.0 Portd.3 = Temp.1 Portd.4 = Temp.2 Portd.5 = Temp.3 Else Temp = Num / 10 7seg = Makebcd(temp) Shift 7seg , Left , 4 'Print Bin (7seg) Temp = Num Mod 10 Temp = Makebcd(temp) K = Temp + 7seg For C = 0 To 40 Portd.6 = 0 : Portd.7 = 0 Portd.2 = K.0 Portd.3 = K.1 Portd.4 = K.2 Portd.5 = K.3 Portd.7 = 1 Waitms 5 Portd.6 = 0 : Portd.7 = 0 Portd.2 = K.4 Portd.3 = K.5 Portd.4 = K.6 Portd.5 = K.7 Portd.6 = 1 Waitms 5 Next C End If Loop End '--------------------- Read_adc: Ldr = Getadc(1) 'Print Ldr Waitms 200 Return '--------------------- Calc_lux: Ldr_v = Ldr * V_ref Ldr_v = Ldr_v / 1024 Print Ldr_v Return [/code:1:af4fb00754]

BASCOM-AVR : Video Player with AVR CHIP : REPLY

$
0
0
Hello PeterM, Trough SD Card like AVI Regards toto

BASCOM-AVR : BCC : NEWTOPIC

$
0
0
Please help I have a problem running the Infrared Proximity Sensor Short Range and the need to code the BascomAVR GP2Y0a41 to run [b:88083d4da8][color=red:88083d4da8](BASCOM-AVR version : 2.0.5.7 , Latest : 2.0.7.8 )[/b:88083d4da8][/color:88083d4da8]

BASCOM-AVR : getRC lib OK? : REPLY

$
0
0
I think your clock is to high, try it with an lower speed clock. [code:1:7d1c2b1808] Clockdivision = 4 [/code:1:7d1c2b1808]

BASCOM-AVR : High current in powerdown mode. Why? : REPLY

$
0
0
Disable the BOD fuse, is drains much power

BASCOM-AVR : High current in powerdown mode. Why? : REPLY

$
0
0
[quote:611e0efb7e="Evert :-)"]Disable the BOD fuse, is drains much power.[/quote:611e0efb7e] According data sheet at 3V/25° the brownout takes 18µA. You consider that as "much power"? The TO's issue is much different: [quote:611e0efb7e]I = 2,33mA [/quote:611e0efb7e] Considered that, 18µA is in the range of measurement uncertainty.
Viewing all 20717 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>