Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 62 matches
www.mcselec.com Forum Index
Author Message
  Topic: Serial RS232 and Interrupt
Gianni

Replies: 5
Views: 1888

PostForum: BASCOM-8051   Posted: Sat Dec 13, 2008 8:25 pm   Subject: Serial RS232 and Interrupt
i already saw that but it takes the "INPUT" instruction.
That is the normally Bascom instruction.
Of course, this is the simplest way to implement a serial interrupt routine.
The received character ...
  Topic: Serial RS232 and Interrupt
Gianni

Replies: 5
Views: 1888

PostForum: BASCOM-8051   Posted: Sat Dec 13, 2008 7:24 am   Subject: Serial RS232 and Interrupt
In the samples folder there is "serialbuf.bas".
Regards
  Topic: bascom51 problem
Gianni

Replies: 7
Views: 1858

PostForum: BASCOM-8051   Posted: Tue Jul 15, 2008 12:37 pm   Subject: bascom51 problem
$romstart = &H0 'code
$ramstart = &H0 ' XRAM
$ramsize = &H200 ' XRAM

Regards
  Topic: Sending SMS over Siemens C45
Gianni

Replies: 3
Views: 693

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 02, 2008 7:56 am   Subject: Sending SMS over Siemens C45
Hi.

instead of "$baud = 9600"
use "$baud = 19200"
Anyway you can connect the cellphone (with the serial adapter) to your PC serial port, and use hyperterminal to send command.

Regards
  Topic: DCF77 & weather forecasts
Gianni

Replies: 0
Views: 489

PostForum: BASCOM-AVR Archive   Posted: Sun Feb 03, 2008 10:15 pm   Subject: DCF77 & weather forecasts
Hi.
Nobody has attempted to extract the weather forecasts transmitted together with the time signal (DCF77)

http://www.meteotime.com/Web/en/Home/Default.htm

Regards
  Topic: Direct Digital Synthesis. (DDS)
Gianni

Replies: 81
Views: 19081

PostForum: BASCOM-AVR Archive   Posted: Thu Jan 10, 2008 12:23 am   Subject: Re: Schematics, board layouts?
David, Luciano,

Just stumbled across this thread and wondered if either of you had any more details on your finished DDS generators? Do you have schematics or board layouts? Any further modificat ...
  Topic: Am I going mad?
Gianni

Replies: 2
Views: 932

PostForum: BASCOM-8051   Posted: Sun Nov 18, 2007 10:21 am   Subject: Am I going mad?
Please help me with a problem I have using Timers.

When I use the following code and simulate it,
I get the right value in variable A (i.e A=1001)

$regfile="reg51.dat"
$crystal=12000000
$noin ...
  Topic: Capture 1.2Khz. clock using 8052 MCU
Gianni

Replies: 1
Views: 769

PostForum: BASCOM-8051   Posted: Sun Oct 28, 2007 8:24 pm   Subject: Capture 1.2Khz. clock using 8052 MCU
Have a look here:

http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=4956

Hope this help.
Regards
  Topic: 80c52 multicounter
Gianni

Replies: 1
Views: 2458

PostForum: Share your working BASCOM-8051 code here   Posted: Sun Oct 28, 2007 8:17 pm   Subject: 80c52 multicounter
Frequency & period counter , milliHz counter (1/period) , rpm counter (tachometer)
Uses 80c52 , 12MHz crystal , 16*2 alfhanumeric LCD display , 1 led , 2 pushbutton switch

frequency range 1H ...
  Topic: Need help with person counter project
Gianni

Replies: 14
Views: 4010

PostForum: BASCOM-8051   Posted: Wed Jun 20, 2007 12:11 pm   Subject: Need help with person counter project
You forget to latch data into 4094; pulse pin 1

P3.2 = 1
nop
nop
P3.2 = 0

Pin 15 of 4094 must be High; connect to +5v

IMHO is not a good idea drive all the 7 leds with a single resisto ...
  Topic: Need help with person counter project
Gianni

Replies: 14
Views: 4010

PostForum: BASCOM-8051   Posted: Tue Jun 19, 2007 9:05 am   Subject: Need help with person counter project
Ok!
Try this.

Tmp1 = makebcd(value)
Tmp1 = Tmp1 and 15
Tmp1 = lookup(Tmp1,Bcd2_7seg)
shiftout Datapin,Clockpin,Tmp1,3 'send ones
Tmp1 = makebcd ...
  Topic: Need help with person counter project
Gianni

Replies: 14
Views: 4010

PostForum: BASCOM-8051   Posted: Tue Jun 19, 2007 7:30 am   Subject: Need help with person counter project
but i only need to count to 99

I suppose you do not use a bcd to 7 segment decoder but directly drive the display with the 4094.
Is that right ?
  Topic: Need help with person counter project
Gianni

Replies: 14
Views: 4010

PostForum: BASCOM-8051   Posted: Mon Jun 18, 2007 2:01 pm   Subject: Need help with person counter project
Makebcd works from 0 to 99 decimal
To convert number greater then 99 a different approach is necessary.
I do not remember how the 4094 clock works;
eventually try shiftout Datapin,Clockpin,one ...
  Topic: Need help with person counter project
Gianni

Replies: 14
Views: 4010

PostForum: BASCOM-8051   Posted: Mon Jun 18, 2007 8:19 am   Subject: Need help with person counter project
With a single 4094 you can count until 99; simply use makebcd and shiftout statement.
Do not forget to limit your counter to 99.

Regards
  Topic: Serial baud rate converter
Gianni

Replies: 4
Views: 1410

PostForum: BASCOM-8051   Posted: Fri Jun 15, 2007 6:42 pm   Subject: Serial baud rate converter
Have a look at
http://www.8052.com/tutser.phtml

Regards
Gianni
http://digilander.libero.it/mafragi/
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to: