Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 376 matches
www.mcselec.com Forum Index
Author Message
  Topic: Holding a value in a variable.
Arera

Replies: 25
Views: 718

PostForum: BASCOM-AVR   Posted: Tue Sep 15, 2015 6:58 am   Subject: Holding a value in a variable.
V2 and V1 cant be differentiated as both are reading the same adc and cell.
But you GET V1 without load, then switch on the load, then GET V2, right?

Now threr are 8 cells; I STILL don't get what ...
  Topic: Holding a value in a variable.
Arera

Replies: 25
Views: 718

PostForum: BASCOM-AVR   Posted: Mon Sep 14, 2015 7:13 pm   Subject: Holding a value in a variable.
I almost do not dare to ask you:
Do you know how to use variables?
Dim V1 as word
Dim V2 as word
  Topic: Holding a value in a variable.
Arera

Replies: 25
Views: 718

PostForum: BASCOM-AVR   Posted: Mon Sep 14, 2015 4:59 pm   Subject: Holding a value in a variable.
I still don't get what you are trying to do.
Afaiu you get the bat voltage, then put a load on the bat and measure again.
This way you find the inner resistance, right?
Then you repeat this to fi ...
  Topic: F2F Magstripe library?
Arera

Replies: 1
Views: 291

PostForum: BASCOM-AVR   Posted: Tue Aug 25, 2015 11:40 am   Subject: F2F Magstripe library?
I've used the intellihead shift-out reading-head by magtek with success. If you are interested, let me know!

From datasheet (messy format...):
MagTek’s
Shift
-
Out
IntelliHead
consists of a ...
  Topic: Internal Calibrated RC Oscillator
Arera

Replies: 2
Views: 371

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: 579

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: 579

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: 579

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: 487

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: 563

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: 1293

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: 1293

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: 694

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: 772

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: 882

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 ...
 
Page 2 of 26 Goto page Previous  1, 2, 3, ... 24, 25, 26  Next
All times are GMT + 1 Hour
Jump to: