Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 69 matches
www.mcselec.com Forum Index
Author Message
  Topic: Modbus slave number
krolikbest

Replies: 10
Views: 921

PostForum: BASCOM-AVR   Posted: Sat Nov 25, 2017 7:32 pm   Subject: Modbus slave number
Finally i've done. Now i know how to set an address of device (AVR as a slave) an the rest is to take apart the frame. Piece of cake Wink
Thank you.
Thread to close.
  Topic: Modbus slave number
krolikbest

Replies: 10
Views: 921

PostForum: BASCOM-AVR   Posted: Sat Nov 18, 2017 6:55 pm   Subject: Modbus slave number
Thank you for an idea hot to respond when modbus frame arrives. I was a little way-out in this subject because i thought that slave number should be written somewhere... Now i understand.
  Topic: Modbus slave number
krolikbest

Replies: 10
Views: 921

PostForum: BASCOM-AVR   Posted: Fri Nov 17, 2017 1:04 pm   Subject: Modbus slave number
Hi,

I would like to send some modbus frame from advantech panel to ATMega8 in modbus, rs 485. Panel is a master, avr is a slave. First problem i encountered is that i don't know how to set up a sla ...
  Topic: twi slave how to send more than one byte?
krolikbest

Replies: 2
Views: 345

PostForum: BASCOM-AVR Unsupported versions   Posted: Thu Mar 23, 2017 10:15 am   Subject: twi slave how to send more than one byte?
Thank ypu for an answer. I'll check it at home.

Martin
  Topic: twi slave how to send more than one byte?
krolikbest

Replies: 2
Views: 345

PostForum: BASCOM-AVR Unsupported versions   Posted: Thu Mar 23, 2017 7:40 am   Subject: twi slave how to send more than one byte?
Hello,

I made a short program to read encodoer with 500 ppr on ATMega8. ATMega8 is the slave and I would like to send some values to the master which is RaspberryPi. When it goes about to send one ...
  Topic: two stepper independent
krolikbest

Replies: 2
Views: 474

PostForum: BASCOM-AVR   Posted: Thu Feb 02, 2017 4:25 pm   Subject: two stepper independent
Thank you! I've so many times checked where could bug(or bugs..) be that i didn't notice
that timer2 is 8bit! Now works fine!

<SOLVED>
  Topic: two stepper independent
krolikbest

Replies: 2
Views: 474

PostForum: BASCOM-AVR   Posted: Wed Feb 01, 2017 8:30 pm   Subject: two stepper independent
Hello,

i would like to run two independent steppers and decided to use timer1 for 1-st stepper and timer2 for second stepper.
The code lokks like

$regfile = "m8adef.dat"
$crystal ...
  Topic: ATMega8 i2cslave display and button
krolikbest

Replies: 2
Views: 394

PostForum: BASCOM-AVR Unsupported versions   Posted: Mon Jan 09, 2017 7:01 pm   Subject: ATMega8 i2cslave display and button
Thank you for answer.
Of course, You are right, so i did as suggested but unsuccessful. I remarked print even removed, but nothing has changed.
But under simulator the whole program works, at least ...
  Topic: ATMega8 i2cslave display and button
krolikbest

Replies: 2
Views: 394

PostForum: BASCOM-AVR Unsupported versions   Posted: Sun Jan 08, 2017 9:25 pm   Subject: ATMega8 i2cslave display and button
Hello,

recently I've made one of my ATmega8 as a slave (I2C).Master is RaspberryPi. I can discover its address so far Smile But now I would like to implement some additional operations like button and ...
 
Page 5 of 5 Goto page Previous  1, 2, 3, 4, 5
All times are GMT + 1 Hour
Jump to: