Hi thanks yes im new in forum ,i was looking for dmx sample code in picbasicpro and came here
i have forund that code in the forum here (There is Same Code İn All thread ) :-) is it so difficult in PBP ?
and just tryed it but not working it is not real code ithink only sample
((( Schema is not so problem if you have any pic that which one has Usart (Rx) and (Hpwm) than it is ok and also u will need an for example SN75176A,SN75179B ( i use them in my controller ) i fu need more wpm chanels then u have to writte pwm code but if u need only 1 or 2 than you have to find a pic that which one has 2-3 hpwm ))) and 20 MHZ osc for 250kb baud rate
I know everything about the dmx512 protocol ,
http://www.dmx512-online.com/
http://www.usitt.org/standards/DMX512.html
it is 8n2 1 start 8 data and 2 stop , it is easy to receive it with usart config i know
What is it, how does it work and how can we receive it and i use it also in my projects and i dont have any problem i use pic assembly in my projects ,you can find example code in microchip website also for dmx512 transmitter and receiver master - slave
i just wanted to learn i have seen many code in forum about dmx512 and highspeed comm.. and some body said that has solved his dmx problem whit this code here in this adress in the forum
************************************************** *******
http://www.picbasic.co.uk/forum/show...ghlight=dmx%2A
************************************************** *******
Im not so good on the PicBasicPro i use assembly for my devices but when i look to code i didnt see any interupts and something also missing here
how is it possible to use it for pwm ?
did you make also any trying for dmx512 in pbp?
i just want to learn how is the interupts here cause when i use it in assembly i have some interupts routin in code and i i can make dmx512 receive in pbp too then it can be fine for me cause it takes more time to make projects in assembly pbp and c is better for time if you have big projects
When i look to exapmles also for rs485 they give it as a lowbaudrate(9400 and serin command to use) and PC to Pic not so high baudrate in examples what you found on the net..
************************************************** *******
Maybe SomeBody Can develop This code here and can teach us how to use "hserin" command to decode chanel and make interrupts code.
if anybody need in assembly i can help but here is pbp forum and when i look to forum many friends has problem in dmx512 protocol to decode it in pbp and also same code in everythread.
There is many site about the dmx512 protocol but they just tell the protocol not any code example or schema you can learn it in 20 min that what is it but the problem is how to use it in code ...




Bookmarks