Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 716 matches
www.mcselec.com Forum Index
Author Message
  Topic: Config 1WIRE PORT-PIN ?
EDC

Replies: 1
Views: 246

PostForum: BASCOM-AVR Archive   Posted: Fri May 02, 2014 5:25 pm   Subject: Config 1WIRE PORT-PIN ?
Hello. My friend can`t read DS18B20 on PORTD.0 in ATmega16 (ressistor attached)
Program run on test board on PORTD.7 successfully but don`t work on target board.

PORTD.0 is a RXD for RS232 but no ...
  Topic: wait vs timer
EDC

Replies: 21
Views: 1000

PostForum: BASCOM-AVR Archive   Posted: Tue Apr 29, 2014 1:42 pm   Subject: wait vs timer
In interrupts routines we try to not using ANY delay.
For this "job" a Time to interrupt should be delay.
In your code Return instruction dont have place to return Very Happy

Try this
$regfile = " ...
  Topic: MEGAMOS / RES datasheet
EDC

Replies: 0
Views: 338

PostForum: Various   Posted: Mon Apr 28, 2014 10:25 pm   Subject: MEGAMOS / RES datasheet
Hello. If anyone have som info about Megamos / RES chip please share. I have a lot of Immobox`es from cars and want use that chip like EM9540 (seems to be similar).
Thanks for any reply
  Topic: wait vs timer
EDC

Replies: 21
Views: 1000

PostForum: BASCOM-AVR Archive   Posted: Sun Apr 27, 2014 2:44 pm   Subject: wait vs timer
I write It by night and when now look into code i see so instruction "Incr Hours" must be after "End select" of Hours and before Writing to Eeprom

Time_check:

Select Case Minutes

Case 60 ...
  Topic: wait vs timer
EDC

Replies: 21
Views: 1000

PostForum: BASCOM-AVR Archive   Posted: Sun Apr 27, 2014 2:26 pm   Subject: wait vs timer
You can try but the internal oscillator is not very accurate. For short procedures is sufficient but I would advise here external oscillator. Therefore, Timer 1 is loaded into a constant. It can be ch ...
  Topic: wait vs timer
EDC

Replies: 21
Views: 1000

PostForum: BASCOM-AVR Archive   Posted: Sat Apr 26, 2014 10:14 pm   Subject: wait vs timer
Hello. Tell us what freq of oscilator you use. In new chip you have Divider by 8 and internal oscillator set by factory so freq is 1MHz.
If you want some other freq for your project then you must ch ...
  Topic: wait vs timer
EDC

Replies: 21
Views: 1000

PostForum: BASCOM-AVR Archive   Posted: Thu Apr 24, 2014 8:53 am   Subject: wait vs timer
I'm interested in what this device works. Is man at work? Very Happy And what if you do not press a button? Show for which it was not, or only seven leds lights?
  Topic: Speedometer prescaler
EDC

Replies: 6
Views: 392

PostForum: BASCOM-AVR Archive   Posted: Fri Mar 28, 2014 9:07 am   Subject: Speedometer prescaler
S_pulses should contain a Byte..if not I can short the time for sampling to 500ms.
Differences in the displayed speed are visible at higher speeds. The max displayed speed is 140 Km/h at now..
This ...
  Topic: Speedometer prescaler
EDC

Replies: 6
Views: 392

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 27, 2014 3:27 pm   Subject: Speedometer prescaler
Okay..that code work. If any one can optimize this, will be great.
It use 95% of flash space.
$regfile = "attiny2313.dat"
$crystal = 8000000

Config Portb = &B00001000 : Portb ...
  Topic: Speedometer prescaler
EDC

Replies: 6
Views: 392

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 27, 2014 2:35 pm   Subject: Speedometer prescaler
Thanks for reply. Its my fault and now I read them all, but I thing my problem is different.
I dont want to shoot for a fly with a cannon Very Happy so want use small Tinny2313.
I dont need to display any ...
  Topic: Speedometer prescaler
EDC

Replies: 6
Views: 392

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 27, 2014 12:14 am   Subject: Speedometer prescaler
Hello. With my friend we made a "buggy car" based on Fiat Seicento parts. After installing bigger tyres the speed showed is incorrect.
I want to build a device to incrase pulses from speed sensor. I ...
 
Page 48 of 48 Goto page Previous  1, 2, 3 ... 46, 47, 48
All times are GMT + 1 Hour
Jump to: