Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 376 matches
www.mcselec.com Forum Index
Author Message
  Topic: Atmega48 - If i use the internall oscilator...
Arera

Replies: 15
Views: 1044

PostForum: BASCOM-AVR Archive   Posted: Sun May 18, 2008 10:20 am   Subject: Atmega48 - If i use the internall oscilator...
Jabberwocky is right.
But I experienced no problems with internal osz. 8 MHz and 9600 BAUD when sending only a few bytes. I think frequ. deviation becomes a problem when sending larger amounts of dat ...
  Topic: Atmega 8 hangup
Arera

Replies: 2
Views: 382

PostForum: BASCOM-AVR Archive   Posted: Wed Apr 30, 2008 10:59 am   Subject: Atmega 8 hangup
itīs never a good idea to do many things in an ISR.
Try to change your prog in an way like this:

Rs232_isr:
Chrx = Udr
Flag_new_data = 1
return

let the rest be done in your main loop, depend ...
  Topic: slightly OT, but related - processor current measurement
Arera

Replies: 9
Views: 274

PostForum: BASCOM-AVR Archive   Posted: Thu Apr 17, 2008 11:31 am   Subject: slightly OT, but related - processor current measurement
Take care for the IN-Pins!
A pin, switched to "input with pull-up", which is connected to GND will draw current thoug the internal pull-up(30k-50K, I guess).
In my application I set the inputs to "h ...
  Topic: help for wireless commounication
Arera

Replies: 4
Views: 648

PostForum: BASCOM-AVR Archive   Posted: Tue Apr 15, 2008 9:10 am   Subject: help for wireless commounication
What does "fsk" mean?
  Topic: interrupt count and easy tcp ip
Arera

Replies: 5
Views: 230

PostForum: BASCOM-AVR Archive   Posted: Tue Apr 08, 2008 9:18 pm   Subject: interrupt count and easy tcp ip
mega128 is not available in DIL, but shure is a good ĩC.
Why do you stick to interrupts so much?
  Topic: interrupt count and easy tcp ip
Arera

Replies: 5
Views: 230

PostForum: BASCOM-AVR Archive   Posted: Tue Apr 08, 2008 3:45 pm   Subject: interrupt count and easy tcp ip
good idea.
How long are your input signals?
canīt you just check the inputs in the main loop?
Have you checked if DEBOUNCE (see help) is a solution?
  Topic: Ip to long conversion question
Arera

Replies: 3
Views: 835

PostForum: EASY TCP/IP   Posted: Mon Apr 07, 2008 7:09 am   Subject: Ip to long conversion question
Frankemann wanted to say

To make a conversion from 141.100.250.141 to a variable of the type LONG use the MAKETCP command..

Just to avoid confusion...
  Topic: Software UART question
Arera

Replies: 4
Views: 384

PostForum: BASCOM-AVR Archive   Posted: Fri Apr 04, 2008 9:20 am   Subject: Software UART question
Hi Alexander,

befor sending strings, have a look at this topic:
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=5267
Skip the first page, the last 3 or 4 ...
  Topic: sending a string of HEX via serial port.
Arera

Replies: 20
Views: 2047

PostForum: BASCOM-AVR Archive   Posted: Tue Apr 01, 2008 11:40 am   Subject: sending a string of HEX via serial port.
Hi D!
I just joined the Anti-String Coalition. After having done the first 10 steps in your cool programm, can I be graded an officer? Or do I really have to climb the last two steps? Maybe inreasing ...
  Topic: sending a string of HEX via serial port.
Arera

Replies: 20
Views: 2047

PostForum: BASCOM-AVR Archive   Posted: Tue Apr 01, 2008 10:48 am   Subject: sending a string of HEX via serial port.
Hi,
in order to send/receive DATA (not Strings) it is useful NOT to mess around with strings, but with arrays. I have a ISM-Band transmission working with this code:
(only transmission-part is shown ...
  Topic: synchronus clock
Arera

Replies: 8
Views: 608

PostForum: BASCOM-AVR Archive   Posted: Fri Mar 28, 2008 1:29 pm   Subject: synchronus clock
I hope you didnīt get me wrong! I tried to be funny Embarassed
Why do you know almost erverything was meant to be a big "thank you" and a compliment!
Thank you!
  Topic: synchronus clock
Arera

Replies: 8
Views: 608

PostForum: BASCOM-AVR Archive   Posted: Fri Mar 28, 2008 12:32 pm   Subject: synchronus clock
YES!
Thatīs exactly what I was lookig for!

BTW: Why do you know almost erverything, and how can you spend time on helping all of us? Are you locked up in a dungeon? Do You need help? Very Happy
  Topic: synchronus clock
Arera

Replies: 8
Views: 608

PostForum: BASCOM-AVR Archive   Posted: Fri Mar 28, 2008 10:54 am   Subject: synchronus clock
mega8
int RC clock, 1, 2, 4, or 8MHz possible
no timer used yet.

Iīve created a universal modul with 4 inputs, 3 relays. LCD or RS232 as optional feature. PB6 and PB7 are hardware IOs, so no asyn ...
  Topic: synchronus clock
Arera

Replies: 8
Views: 608

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 27, 2008 11:01 pm   Subject: synchronus clock
OK, thatīs half the way...
to get Timer1 to to do something every second is not my main problem.
I would like to use all the little helpers from the async clock, e.g. _day , _month, _year , _sec, _h ...
  Topic: synchronus clock
Arera

Replies: 8
Views: 608

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 27, 2008 6:26 pm   Subject: synchronus clock
Hi all!

Is there a way to run the clock with the seconds ticked by timer1? Instead of 32kHz christal?
Itīs easy to generat an 1s interrupt with timer1, but can I use that to inrease the syssec?
...
 
Page 23 of 26 Goto page Previous  1, 2, 3 ... 22, 23, 24, 25, 26  Next
All times are GMT + 1 Hour
Jump to: