Quantcast
Channel: MCS Electronics Forum
Browsing all 20685 articles
Browse latest View live
↧

BASCOM-AVR : mathematical equation : REPLY

Good point Duval. Judging by the OP's question, he is having trouble translating from math theory notation to Bascom language notation and implementation. The finer details about how stuff is stored,...

View Article


BASCOM-AVR : DS1307 xMega issue : REPLY

But... this part doesnt have a battery input...

View Article


BASCOM-AVR : Serialin and data corruption : NEWTOPIC

Does Serialin use TIMER1 for anything? I cant recall if it does or not. Basically, my project is a 16x16 LED Tile that is run from an ATmega8, making it a "smart" tile. the ATmega8 uses SPI to drive...

View Article

Various : Atmel bought by Microchip : REPLY

This... is going to be... Very bad IMHO. Maybe they will make things more superior? Or maybe Microchip will steal certain qualities of the AVR for the PIC line, and bury the rest into the ground. And...

View Article

BASCOM-AVR : Serial Input with Atemega 128 : REPLY

Hi Mark, with your sample code it works. I don't see the difference to my code but i think i find it out later. Another question. I use Bascom now since 5 years and i'm very pleased with it. I payed...

View Article


Various : Atmel bought by Microchip : REPLY

I close this topic. All this panicking and crystal ball viewing does not help. the forum is not intended for that. if you want to know more, send an email to atmel and ask them. atmels sells millions...

View Article

BASCOM-AVR : Serialin and data corruption : REPLY

serialin does not use timer1. if a timer is used it is mentioned in the help. buffered serial uses the URX interrupt. if you use a timer interrupt, depending on the interval, it will take time, while...

View Article

BASCOM-AVR : Serial Input with Atemega 128 : REPLY

you did not post complete code so it is hard to tell. at first glance it should work. only trap with M128 is the M103 compatibility fuse bit. but that was not the problem in this case. good to hear...

View Article


BASCOM-AVR : Serialin and data corruption : REPLY

Likely the timer-ISR is crap, i.e. delays too long, which in turn makes RS485 loose bytes and thus packets. The hardware UART itself basically provides a two byte buffer, one byte data actually in UDR...

View Article


BASCOM-AVR : Serialin and data corruption : REPLY

It is 1 to 2 multiplexing. Meaning, 8 columns are on at a time instead of all 16. I was using 1 to 16 multiplex, then tried 1 to 8 multiplex and it was just too dim. Increasing the voltage would get...

View Article

BASCOM-AVR : Virtual USB-port for AVR : REPLY

hi guys! excuse my by the poor english, i got sucess when i write the .hex file off ollopas examples diret to a chip but when i compile the source and write this hex toa chip this not work, can this...

View Article

BASCOM-AVR : Serialin and data corruption : REPLY

Here is the code: [code:1:6c3d2abeaa] ' * Title : Tile16x16.bas ' * Version : 1.0 ' * Target : ATMega8 ' * Author : Mike Bates ' * Program code : BASCOM AVR ' * Hardware req. : ' * Description :...

View Article

BASCOM-AVR : MAKEMODBUS command & Modbus RTU Function Code 04 : NEWTOPIC

Hi every one, I have an industrial device that communicates with Modbus RTU protocol (run via a half-duplex RS485 line) and implements function codes 03,[b:445807a717]04[/b:445807a717],& 06. As we...

View Article


BASCOM-AVR : Serialin and data corruption : REPLY

Getting ready to throw in the towel on this one. Maybe I am just inexperienced in matrix design... I did some code modifications to get it stable, and I can get it working with one tile no problem....

View Article

BASCOM-AVR : Virtual USB-port for AVR : REPLY

Which version of BASCOM? In attachment, files for Bascom-AVR 2.0.7.7 or later. For compiling, you must copy the file "swusb.LBX" in the folder "LIB", BASCOM.

View Article


BASCOM-AVR : Serialin and data corruption : REPLY

Using a can of freeze spray, I narrowed it down to the ATXmega128. Ive had more trouble with this darn chip than I have had in anything... If I hit it with freeze spray, or let it cool down to a balmy...

View Article

BASCOM-AVR : Serialin and data corruption : REPLY

Are you sure about the hardware ? Current limit resistors ? An AVR getting warm sounds supicious. If you don't have an external crystal, the PLL at 32MHz has nothing to sync with. Yeah, the internal...

View Article


BASCOM-AVR : Serialin and data corruption : REPLY

So fingers have 3 properties: Pressure - user defined. Good for finding dodgy solder joints Heat - source, or if unlucky, sink. Capacitance - about 50pF. Which of these is the most likely enabler?

View Article

BASCOM-AVR : Analog comparator interrupts : NEWTOPIC

Hi How to set up 4 interrupts of from analog comparator? I use this code: [code:1:7908f17f8b] Config Aca0 = On , Hysmode = Large , Muxplus = 0 , Muxmin = Dac , Output = Enabled Config Aca1 = On ,...

View Article

BASCOM-AVR : Serialin and data corruption : REPLY

Do you have [url=http://www.ni.com/support/serial/resinfo.htm]bias resistors[/url] on your rs485 network to get it in defined state when there's not transmission? (depends on the drivers you use) Are...

View Article
Browsing all 20685 articles
Browse latest View live