Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 387 matches
www.mcselec.com Forum Index
Author Message
  Topic: Internal Calibrated RC Oscillator
Arera

Replies: 2
Views: 404

PostForum: BASCOM-AVR   Posted: Mon Jun 01, 2015 6:17 pm   Subject: Internal Calibrated RC Oscillator
Hi,
using the internal osc. sets PB6/7 to be used as any other Pxn. So, like on every other I/O, it is a good idea to set unused pins to be inputs with pullups.
Anyway, letting them flow does not af ...
  Topic: Only hieroglyphic text in Terminal emulator
Arera

Replies: 16
Views: 1560

PostForum: BASCOM-AVR   Posted: Sun Feb 08, 2015 9:12 pm   Subject: Only hieroglyphic text in Terminal emulator
MWS, my attept is to help an absolute beginner to a first success the most simple way one can think of.
  Topic: Only hieroglyphic text in Terminal emulator
Arera

Replies: 16
Views: 1560

PostForum: BASCOM-AVR   Posted: Sun Feb 08, 2015 8:04 pm   Subject: Only hieroglyphic text in Terminal emulator
Suggestion for a simple try:
If you have more samples of the micro, swap them and count blinks until you find one with 30 blinks.
MWS concern about the precision of the the internal RC is only half ...
  Topic: Only hieroglyphic text in Terminal emulator
Arera

Replies: 16
Views: 1560

PostForum: BASCOM-AVR   Posted: Sun Feb 08, 2015 12:17 pm   Subject: Only hieroglyphic text in Terminal emulator
Welcome to this friendly forum and to the world of bascom!

The good news: If it's your first attempt ever to print something from a micro to a PC, seeing crap is better than seeing nothing, at leas ...
  Topic: read of flash memory
Arera

Replies: 7
Views: 947

PostForum: BASCOM-AVR   Posted: Sat Feb 07, 2015 1:46 pm   Subject: read of flash memory
maybe it's faster to copy the eeprom byte to RAM at powerup, and after changing the content. Then use the RAM.
You could even easily do calculations on the RAM-byte, and afterwards copy it back to t ...
  Topic: Best practice - waiting for an interrupt - do nothing loop?
Arera

Replies: 9
Views: 1234

PostForum: BASCOM-AVR   Posted: Sun Nov 23, 2014 2:17 pm   Subject: Best practice - waiting for an interrupt - do nothing loop?
Hello Tim,

after a couple of hours here is the firt reply to you question. It might have take so long, because it seems there is a deeper fault in the structure of your prog.
I think the core of t ...
  Topic: ADC Reference voltage
Arera

Replies: 8
Views: 2923

PostForum: BASCOM-AVR Archive   Posted: Fri Sep 19, 2014 8:30 am   Subject: ADC Reference voltage
OK, you know what you are doing!
I thought you expectet to decrease the ADC's resolution from 10 to 8 bit by using a Byte....
  Topic: ADC Reference voltage
Arera

Replies: 8
Views: 2923

PostForum: BASCOM-AVR Archive   Posted: Thu Sep 18, 2014 2:19 pm   Subject: ADC Reference voltage
Hi Don
You must use a word for the adc. A byte would not reduce accuracy, but lead to completely false results.
  Topic: 'Split' seems to breakup a string wrong
Arera

Replies: 4
Views: 1012

PostForum: BASCOM-AVR Archive   Posted: Sat Sep 06, 2014 11:16 am   Subject: 'Split' seems to breakup a string wrong
It is always a good idea to dim strings a bit longer than you would expect them to be.
Strings can be (invisibly) terminated by one or two characters, or grow for any other reason. The only disadvant ...
  Topic: Question about programming
Arera

Replies: 9
Views: 1170

PostForum: BASCOM-AVR Archive   Posted: Sun Aug 10, 2014 1:03 pm   Subject: Question about programming
My opinion:

As a beginner, I would not spend time and money in an "as cheap as possible" programmer. What a beginner needs is a reliable, rock solid programmer, like the AVR MK2. Imagine your first ...
  Topic: Ethernet Bootloader for Easy TCP/IP
Arera

Replies: 1
Views: 3311

PostForum: EASY TCP/IP   Posted: Wed Aug 06, 2014 12:05 pm   Subject: Ethernet Bootloader for Easy TCP/IP
Hi Mark and welcome!

I'm afraid there is no simple answer, that why there is no response yet.
I got an ethernet bootloader running, but you cannot just copy it, unless you use

-WIZ820IO module ...
  Topic: ACS712 for AC Current measurement
Arera

Replies: 15
Views: 3642

PostForum: BASCOM-AVR Archive   Posted: Thu Jul 17, 2014 6:55 am   Subject: ACS712 for AC Current measurement
If that solves your problem of unstable reading - fine!
But please note that the reading does not show an exact value of what you acheive to measure, but the highest value out of a row over a time!
...
  Topic: ACS712 for AC Current measurement
Arera

Replies: 15
Views: 3642

PostForum: BASCOM-AVR Archive   Posted: Mon Jul 14, 2014 9:27 pm   Subject: ACS712 for AC Current measurement
I edited my last post, due to the fact that I missed that naseeraks formula is not "moving".
As this is crutial, please read the edited version.
  Topic: ACS712 for AC Current measurement
Arera

Replies: 15
Views: 3642

PostForum: BASCOM-AVR Archive   Posted: Mon Jul 14, 2014 9:02 pm   Subject: ACS712 for AC Current measurement
Naseeraks solution returns the arithmetic average of 16 measures, that's all.
It's integration time is as short as it takes to perform 16 a/d convertions.
We do not know how long that is, nor do ...
  Topic: ACS712 for AC Current measurement
Arera

Replies: 15
Views: 3642

PostForum: BASCOM-AVR Archive   Posted: Mon Jul 14, 2014 8:34 pm   Subject: ACS712 for AC Current measurement
Your measured value varies unexpectedly.
First, I would find out why!
Maybe the values are good and load or voltage at load vary.
Maybe the current to voltage converter gives bad results for any r ...
 
Page 3 of 26 Goto page Previous  1, 2, 3, 4 ... 24, 25, 26  Next
All times are GMT + 1 Hour
Jump to: