Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 112 matches
www.mcselec.com Forum Index
Author Message
  Topic: Application for circuit simulation
krolikbest

Replies: 0
Views: 1486

PostForum: Various   Posted: Thu Nov 16, 2023 2:03 pm   Subject: Application for circuit simulation
I know that Proteus is for such purpose but for my needs it is too extensive. I've searched something similar but simpler (in my opinion) and recently I've found this simulation software https://www.s ...
  Topic: A device to control the heat buffer heater fed from the sola
krolikbest

Replies: 0
Views: 5613

PostForum: Green Energy   Posted: Mon Oct 02, 2023 12:06 pm   Subject: A device to control the heat buffer heater fed from the sola
Hi,
since I have owned a photovoltaic system for some time, I decided to add my three cents. I now want to buy a heat buffer with a built-in electric heater. My concern was that when the heater star ...
  Topic: arduino and watchdog
krolikbest

Replies: 3
Views: 9564

PostForum: BASCOM-ARDUINO   Posted: Fri Sep 29, 2023 8:51 am   Subject: arduino and watchdog
Hi,
I have no idea what value is set then and it is even hardly to check but project is not "time critical" so whatever is set seems to be ok in my case, so far Smile
  Topic: arduino and watchdog
krolikbest

Replies: 3
Views: 9564

PostForum: BASCOM-ARDUINO   Posted: Wed Sep 27, 2023 7:40 pm   Subject: arduino and watchdog
The issue is well known (although first time I encountered it using watchdog). So in short it seems that it is needed to burn different (the best from Uno) bootloader. It seems not hard, many tuts ho ...
  Topic: arduino and watchdog
krolikbest

Replies: 3
Views: 9564

PostForum: BASCOM-ARDUINO   Posted: Wed Sep 27, 2023 9:28 am   Subject: arduino and watchdog
Hi,

there is a simple code

'$sim
$regfile = "m328pdef.dat"
$crystal = 16000000
$baud = 9600
$hwstack = 32
$swstack = 16
$framesize = 32

Config Int0 = Low Level
Config Watchd ...
  Topic: 8 byte hex to single
krolikbest

Replies: 6
Views: 3036

PostForum: BASCOM-AVR   Posted: Mon Aug 07, 2023 1:28 pm   Subject: 8 byte hex to single
MWS, thanks for clarification.
  Topic: 8 byte hex to single
krolikbest

Replies: 6
Views: 3036

PostForum: BASCOM-AVR   Posted: Mon Aug 07, 2023 9:25 am   Subject: 8 byte hex to single
Hello,

you are right MWS, my bad. It should be 4 bytes hex..
Simply saying I try this 4 hex bytes to convert according to Big Endian into Single type.
For example this string "4368B333" shou ...
  Topic: 8 byte hex to single
krolikbest

Replies: 6
Views: 3036

PostForum: BASCOM-AVR   Posted: Sun Aug 06, 2023 7:28 pm   Subject: 8 byte hex to single
I've found good explanation how to deal with this problem:

Let's find the decimal value of the first hexadecimal number from the data above: 4367F3DD. We'll start by converting it into binary and l ...
  Topic: 8 byte hex to single
krolikbest

Replies: 6
Views: 3036

PostForum: BASCOM-AVR   Posted: Sun Aug 06, 2023 6:30 pm   Subject: 8 byte hex to single
Hello,

I'm working with some device in Modbus TCP and I get response from this device as 8 hex bytes and need to convert into single type value. I found some solution but it seems to convert 8byt ...
  Topic: xmega encoder
krolikbest

Replies: 9
Views: 2141

PostForum: BASCOM-AVR   Posted: Tue Jan 10, 2023 9:00 am   Subject: xmega encoder
Glad it works. Mine is already built into a bigger device so I'm unable to make any changes and somehow I don't see possibility to buy new ones, at least in Poland.
  Topic: xmega encoder
krolikbest

Replies: 9
Views: 2141

PostForum: BASCOM-AVR   Posted: Mon Jan 09, 2023 5:06 pm   Subject: xmega encoder
OK, I've found it. It is simplified version, original one handles additionally impulsator but in standard way, so I removed it from this source in order to make it more understandable. It compiles, bu ...
  Topic: xmega encoder
krolikbest

Replies: 9
Views: 2141

PostForum: BASCOM-AVR   Posted: Mon Jan 09, 2023 3:35 pm   Subject: xmega encoder
Hi, i try to find my code and tomorrow send.
  Topic: Vending machine modbus
krolikbest

Replies: 9
Views: 3618

PostForum: BASCOM Project Blog   Posted: Sun Dec 18, 2022 7:15 pm   Subject: Vending machine modbus
Impressive, congrats Smile
  Topic: xmega32e5 and interrupt nr 2
krolikbest

Replies: 1
Views: 659

PostForum: BASCOM-AVR   Posted: Fri Jun 10, 2022 1:07 pm   Subject: xmega32e5 and interrupt nr 2
Hi,
working with xmega32e5, Bascom 2.0.8.5 IDE ver 002, i try to write
on porta_int0 enkoder
on porta_int1 enkoder
enable porta_int0, lo
enable porta_int1, lo
Enable Interrupts but during comp ...
  Topic: xmega encoder
krolikbest

Replies: 9
Views: 2141

PostForum: BASCOM-AVR   Posted: Tue Jun 07, 2022 2:19 pm   Subject: xmega encoder
sadly true
Setting this bit enables rotary filter. This bit is available only for CH0CTRL page 90. yes, hope dies the last Wink Thanks for pointing this out
Regards,
Martin
 
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
All times are GMT + 1 Hour
Jump to: