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

BASCOM-AVR : Temperature differences between two DS18B20 sensors. : NEWTOPIC

Hi there, I am using thermometer with ATmega88 and two DS18B20 sensors in multi node bus. The resolution is 0.1 °C and all work well except one unusual thing. I found a difference between the two...

View Article


BASCOM-AVR : Temperature differences between two DS18B20 sensors. : REPLY

First I would try what the sensors show when they are both in the same place.

View Article


BASCOM-AVR : Temperature differences between two DS18B20 sensors. : REPLY

I assume you are using 12-bit mode. I assume you are looking at the data readings before any rounding. They are spec'd to +/- 0.5 deg C at that temperature. You should test them with the sensors...

View Article

BASCOM-AVR : Xmega USART in SPI MODE - Please Help! : REPLY

[quote:04d64e2d72]Please Help with Example settings COM2 (PORTC.7 PORTC.6) in MASTER SPI MODE. [/quote:04d64e2d72]This makes little sense. SPI mode has nothing to do with COM port. What do you want to...

View Article

BASCOM-AVR : Temperature differences between two DS18B20 sensors. : REPLY

@Visovian and JC You're right I put them on the same point the difference has decreased, now it's about 0.2 - 0.4°C I think it's normal in this case. Thank's again for the reply.

View Article


BASCOM-AVR : data problem : REPLY

Hello All, Can 'Data' be configured as a 2 o3 dimensional structure, with varying lengths of elements like this C code - which consists of constants and a structure: #define RF_POWER_UP 0x02, 0x01,...

View Article

BASCOM-AVR : data problem : REPLY

Hi Tim, In my example the "Names" are just constants defined else where in the code. It just makes the code easier to read. It give it a unique Name just define a Label (Rx_structure: in this case)...

View Article

BASCOM-AVR : data problem : REPLY

Hi Ian, That is exactly what I was getting at. Except I wanted to know if it could be expanded to a 'Data' type (I know it is is not a type, but for lack of a better word...). What they (HopeRF) did...

View Article


BASCOM-AVR : data problem : REPLY

Hello, The data Statement just writes the following values to Flash without any "structure". As a programmer you'll have to create/define the structure of the Information yourself. In your example you...

View Article


BASCOM-AVR : data problem : REPLY

OK, It did not look like there was any way to do that, this thread had code similarly from Dave, but I suppose just reaching for something clear, concise and simple. Thank you Ian and all, for your...

View Article

BASCOM-AVR : data problem : REPLY

Hello Tim I would put this in eeprom The bytes stored in eeprom will line up with the variable so all I have done is dim the variables in order then load the data into eeprom you can see this in the...

View Article

BASCOM-AVR : data problem : REPLY

Hi and Thank you Paulvk. Can you link me to the samples you mentioned? Thanks again, Tim

View Article

BASCOM-AVR : Xmega USART in SPI MODE - Please Help! : REPLY

[quote:57cdcfb8e8="Visovian"]This makes little sense. SPI mode has nothing to do with COM port.[/quote:57cdcfb8e8] Manual XMega A 21. USART 21.10 USART in Master SPI Mode [quote:57cdcfb8e8]With what...

View Article


Share your working BASCOM-AVR code here : Big digits on cheap Lcd loaded from...

Hello. You can run this in simulator to see how this work. Digits running and You can see it all. This is cutted presentation. You can load multiple characters. All readed from eeprom to spare place...

View Article

BASCOM-AVR : data problem : REPLY

Thanks Paul, Interesting idea, I will consider that option. Mark, MWS Thanks for the look inside bascom. Mostly over my head but very interesting. Dave

View Article


BASCOM-AVR : Xmega USART in SPI MODE - Please Help! : REPLY

Devices like the Mega1284 also have Uarts with SPI mode it would be nice not to switch from SD card to Wiznet W5100 but Bascom does not support this yet. Regards Paul

View Article

Share your working BASCOM-AVR code here : Big digits on cheap Lcd loaded from...

Hello EDC Did you have a look at AN#196 where I used eeprom for character rom ? To leave space at the front of eeprom I would dim an eeprom variable eg I want 5 bytes of eeprom free When you dim eram...

View Article


BASCOM-AVR : Xmega USART in SPI MODE - Please Help! : REPLY

Hi All! Thanks MWS for the tip! :idea: [quote:072e7db019="Paulvk"]Devices like the Mega1284 also have Uarts with SPI mode it would be nice not to switch from SD card to Wiznet W5100 but Bascom does...

View Article

BASCOM-AVR : Xmega USART in SPI MODE - Please Help! : REPLY

[code:1:799bc35070]$Regfile = "xm128a1def.dat" $Crystal = 32000000 $hwstack = 32 $swstack = 8 $framesize = 24 Config Osc = Enabled , 32mhzosc = Enabled Config Sysclock = 32mhz Config Com1 = 250000 ,...

View Article

BASCOM-AVR : Xmega USART in SPI MODE - Please Help! : REPLY

Print works. And how to read? INPUT ????

View Article
Browsing all 20567 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>