Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 27 matches
www.mcselec.com Forum Index
Author Message
  Topic: HX711 ADC 24 bits
hapra

Replies: 5
Views: 7720

PostForum: BASCOM-AVR Archive   Posted: Tue Oct 14, 2014 6:49 pm   Subject: HX711 ADC 24 bits
Hi Evert,
Yes, your suggestion correctly, I had to type Pind.5 not Portd.5
Why I always forget about Portx.y for output bit assignment and Pinx.y for input bit assignment Rolling Eyes
Thank you very much ...
  Topic: HX711 ADC 24 bits
hapra

Replies: 5
Views: 7720

PostForum: BASCOM-AVR Archive   Posted: Mon Oct 13, 2014 6:30 pm   Subject: HX711 ADC 24 bits
Hi all,

I hope my question is really new about Chip HX711 ADC 24 bits, in this forum.
I am using ATmega32 MCU with crystal 4Mhz to communicate with HX711 Dual-Channel Weighing Sensor Module, this ...
  Topic: problem with Val() and multiplying
hapra

Replies: 5
Views: 504

PostForum: BASCOM-AVR Archive   Posted: Sun Jan 15, 2012 8:30 am   Subject: problem with Val() and multiplying
Hi Albert and Evert,

After I do some trial, I think removal the comma from the string is a better solution so far.
Thank you for the explanation and suggestion.

Regards,
  Topic: problem with Val() and multiplying
hapra

Replies: 5
Views: 504

PostForum: BASCOM-AVR Archive   Posted: Sat Jan 14, 2012 2:15 pm   Subject: problem with Val() and multiplying
Hi Frank,

Yes, another way is to remove comma from string but for 1 digit decimal only is effective.
How about input string is 2.11 or 2.111 and so on ? it will be 211, 2111.
It is very big diff ...
  Topic: problem with Val() and multiplying
hapra

Replies: 5
Views: 504

PostForum: BASCOM-AVR Archive   Posted: Sat Jan 14, 2012 12:43 pm   Subject: problem with Val() and multiplying
Hi all,

I need conversion from decimal in string to integer, for example:
input string 2.1, multiply integer 10 and output integer 21.

Following is my simple code:

'----------------------- ...
  Topic: Forward jump out of range
hapra

Replies: 6
Views: 1085

PostForum: AVR-DOS   Posted: Thu Nov 24, 2011 7:45 pm   Subject: Forward jump out of range
Hi Albertsm,

Yes now it can work properly.
Thank you very much for your great advice.
  Topic: Forward jump out of range
hapra

Replies: 6
Views: 1085

PostForum: AVR-DOS   Posted: Thu Nov 24, 2011 1:19 pm   Subject: Forward jump out of range
Well, currently I already use BASCOM-AVR V.2.0.7.3.001 and AVR-DOS but error "Forward jump out of range" still occurs.

Albertsm, do you have any more suggestions please ?
  Topic: Forward jump out of range
hapra

Replies: 6
Views: 1085

PostForum: AVR-DOS   Posted: Mon Nov 21, 2011 11:08 am   Subject: Forward jump out of range
Thank you Albertsm for your suggestion,

I found problem at sub routine:

'----------------------------------------
Sub Save_mmc_data
'----------------------------------------
Open "List.txt" ...
  Topic: Forward jump out of range
hapra

Replies: 6
Views: 1085

PostForum: AVR-DOS   Posted: Mon Nov 21, 2011 9:48 am   Subject: Forward jump out of range
Hello...
I use ATmega128, BASCOM V.1.11.9.0 and AVR-DOS but Forward jump out of range occurs when it is compiled.
Please, take a look at the following snippet code and let me know what is wrong.

...
  Topic: Single variable, different value between input and output ?
hapra

Replies: 2
Views: 615

PostForum: BASCOM-AVR Archive   Posted: Wed Jul 13, 2011 7:52 pm   Subject: Single variable, different value between input and output ?
Hi Albertsm,

Thank you for your advice.
I already try with double variable and it's OK for small code.

But when I try at my huge code which achieves 70% capacity of Atmega32, then error message ...
  Topic: Single variable, different value between input and output ?
hapra

Replies: 2
Views: 615

PostForum: BASCOM-AVR Archive   Posted: Sun Jul 10, 2011 9:38 am   Subject: Single variable, different value between input and output ?
Hi all,

I am sorry if my question has ever be asked.
I have input value with single variable and then saving to eeprom, but after I print this variable or read it from eeprom, this value is differ ...
  Topic: RTC DS12C887
hapra

Replies: 0
Views: 326

PostForum: BASCOM-AVR Archive   Posted: Wed Jun 03, 2009 8:13 pm   Subject: RTC DS12C887
Hi all,

Has anyone ever made code for RTC DS12C887 with AVR such as ATmega16 ?
I try to make the code with Bascom many times but still unsuccessful.

I look at http://www.mcselec.com/index2.php? ...
  Topic: DTR and RTS signal at RS232
hapra

Replies: 3
Views: 635

PostForum: BASCOM-AVR Archive   Posted: Mon May 25, 2009 10:19 am   Subject: DTR and RTS signal at RS232
I found the cause of it.

I make a newer simulation without modem, between uC and my program acting as a virtual modem.
Then tryng to decrease delay time step by step among messages from PC to uC, ...
  Topic: DTR and RTS signal at RS232
hapra

Replies: 3
Views: 635

PostForum: BASCOM-AVR Archive   Posted: Sun May 24, 2009 8:34 pm   Subject: DTR and RTS signal at RS232
Thank you for your advice.

Ok, I want to use 3 cables only: RX, TX and GND.
Therefore I disable h/w handshake and flowcontrol of CDMA Modem.

I make a program under windows to substitute Hyper T ...
  Topic: DTR and RTS signal at RS232
hapra

Replies: 3
Views: 635

PostForum: BASCOM-AVR Archive   Posted: Sat May 23, 2009 6:51 pm   Subject: DTR and RTS signal at RS232
hi all...

I face problem with RS232, that is communication between ATmega32 + MAX232 and Modem CDMA.

When I test with Hyper Terminal from PC to Modem CDMA, everything is ok, but after I replace ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to: