Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 247 matches
www.mcselec.com Forum Index
Author Message
  Topic: Timers and Tiny 45: Can you help me?
pinkfloyd11

Replies: 10
Views: 1067

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 08, 2008 7:27 pm   Subject: Timers and Tiny 45: Can you help me?
Dear friends

I would realize a simply frequency counter on attiny 45.

In forum I have already found the code but I have never used timer so I do not well understand how to use prescaler, which i ...
  Topic: can you help me to correct the code?
pinkfloyd11

Replies: 1
Views: 303

PostForum: BASCOM-AVR Archive   Posted: Fri Nov 07, 2008 9:47 pm   Subject: can you help me to correct the code?
Dear Friends Very Happy

I'm developing an RFID application with Mifare MFRC500 chip and atmega16.

In attachment you can found how hardware is configured, and timing diagram for read and write.

I wou ...
  Topic: How to update to new version
pinkfloyd11

Replies: 1
Views: 280

PostForum: BASCOM-AVR Archive   Posted: Sat Nov 01, 2008 3:47 pm   Subject: How to update to new version
Dear friends

Which are the step to follow for update to latest version of bascom AVR?

Thanks
  Topic: how make simple remote control vith radio TX and RX?
pinkfloyd11

Replies: 2
Views: 273

PostForum: BASCOM-AVR Archive   Posted: Sat Apr 05, 2008 10:42 am   Subject: how make simple remote control vith radio TX and RX?
Dear Friend

look here: www.quasaruk.co.uk
  Topic: When XMEGA will be supported from Bascom?
pinkfloyd11

Replies: 0
Views: 371

PostForum: BASCOM-AVR Archive   Posted: Fri Apr 04, 2008 10:02 pm   Subject: When XMEGA will be supported from Bascom?
Dear MCSELEC Team

when you think to add XMEGA to Bascom Compiler?

I hope soon

Thanks
  Topic: Software Uart problem on Tiny25
pinkfloyd11

Replies: 3
Views: 393

PostForum: BASCOM-AVR Archive   Posted: Fri Mar 14, 2008 10:32 am   Subject: Done
Dear Luciano

this is a solution....:

$regfile = "attiny25.dat"
$crystal = 8000000

$hwstack = 32
$swstack = 8
$framesize = 24

Dim S As String * 1


Open "comB.0:9600,8,n,1" For Input ...
  Topic: Software Uart problem on Tiny25
pinkfloyd11

Replies: 3
Views: 393

PostForum: BASCOM-AVR Archive   Posted: Fri Mar 14, 2008 10:07 am   Subject: Now work but
Dear Luciano

your sample code work well but I must press enter after every char written on hyperterminal.

Since I must automatically read char from serial line and save it in a little ring buffe ...
  Topic: Software Uart problem on Tiny25
pinkfloyd11

Replies: 3
Views: 393

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 13, 2008 2:20 pm   Subject: Software Uart problem on Tiny25
Dear friends

I need to have an UART on tiny25. So I have try this code:

$regfile = "attiny25.dat"
$crystal = 8000000
$hwstack = 32
$swstack = 8
$framesize = 24

Dim Char_rx As Byte
Open " ...
  Topic: STK500 and USB serial Cable
pinkfloyd11

Replies: 2
Views: 469

PostForum: BASCOM-AVR Archive   Posted: Fri Feb 22, 2008 10:33 am   Subject: STK500 and USB serial Cable
Dear Friends

Until today I have used PCMCI-RS232 card for control STK500.

Since I should move from laptop to desktop that not have pcmci port, i have acquired USB-RS232 cable but with my surpris ...
  Topic: ATTiny25 software usart and other issue
pinkfloyd11

Replies: 3
Views: 360

PostForum: BASCOM-AVR Archive   Posted: Fri Feb 22, 2008 10:23 am   Subject: UART resoloved but...
Dear Luciano

I have resolved the problem with uart.

What I don't have still resolve is programmation by ISP but also in this case I have workaround by Serial High Voltage Programming

What I d ...
  Topic: ATTiny25 software usart and other issue
pinkfloyd11

Replies: 3
Views: 360

PostForum: BASCOM-AVR Archive   Posted: Thu Feb 21, 2008 6:38 pm   Subject: ATTiny25 software usart and other issue
Dear Friends

I'm trying to implement software uart on Attiny without success.
1)Can I use internal oscillator? (I need uart only for debug... )


This is a code:

$regfile = "attiny25.dat" ...
  Topic: Strange behavior of PINX
pinkfloyd11

Replies: 4
Views: 467

PostForum: BASCOM-AVR Archive   Posted: Thu Jan 24, 2008 11:40 am   Subject: Strange behavior of PINX
Dear Friends

I have written this code for read data from memory:

Dim Value_read as Byte

call set_address()

Config PORTC = INPUT
PortC = 255 'Set pull up on port C
Value_Read = PINC ...
  Topic: Why Cristal don't oscillate??
pinkfloyd11

Replies: 7
Views: 481

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 20, 2007 10:47 pm   Subject: Why Cristal don't oscillate??
Hello

I have set the fuse bit:

Ext. Crystal/Resonator High Freq.; Start-up time: 16K CK + 64 ms

and now work good also on bread board!

Thanks
  Topic: Why Cristal don't oscillate??
pinkfloyd11

Replies: 7
Views: 481

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 20, 2007 10:40 am   Subject: Why Cristal don't oscillate??
Hello

on chip there is this:

ATMEGA8515
16PU
0602

Howhewer on STK500 I have 16MHz crystal and when the same is placed on it, work good.

Thanks
  Topic: Why Cristal don't oscillate??
pinkfloyd11

Replies: 7
Views: 481

PostForum: BASCOM-AVR Archive   Posted: Wed Dec 19, 2007 11:14 pm   Subject: Why Cristal don't oscillate??
Dear Luciano

I use 16MHz quartz.
In this case which is the best fuse?
Are 33pF correct value?

Thanks

Hi,

Wrong fuse if you use a 8MHz crystal.

AVR Studio 4.13

Use this setting:
Ex ...
 
Page 15 of 17 Goto page Previous  1, 2, 3 ... 14, 15, 16, 17  Next
All times are GMT + 1 Hour
Jump to: