Re: DALI Interface Proposal

2021-09-07 Thread murat tologlu
Alan > >> > >> On 9/6/21, Murat Tologlu wrote: > >> > SURPRISE ! > >> > > >> > > >> > > >> > Dali master worked quite fine on both esp32-wrover-kit and > >> > stm32f429i-disc1 > >> >

Re: DALI Interface Proposal

2021-09-07 Thread Alan Carvalho de Assis
at is the real surprise ! 😊 >> > >> > >> > >> > -Original Message- >> > From: Alan Carvalho de Assis >> > Sent: Wednesday, April 14, 2021 5:11 PM >> > To: dev@nuttx.apache.org >> > Subject: Re: DALI Interface Prop

Re: DALI Interface Proposal

2021-09-07 Thread murat tologlu
gt; > > > Guess, what is the real surprise ! 😊 > > > > > > > > -Original Message- > > From: Alan Carvalho de Assis > > Sent: Wednesday, April 14, 2021 5:11 PM > > To: dev@nuttx.apache.org > > Subject: Re: DALI Interface Proposal &g

Re: DALI Interface Proposal

2021-09-06 Thread Alan Carvalho de Assis
t; > > Guess, what is the real surprise ! 😊 > > > > -Original Message- > From: Alan Carvalho de Assis > Sent: Wednesday, April 14, 2021 5:11 PM > To: dev@nuttx.apache.org > Subject: Re: DALI Interface Proposal > > > > Hi Murat, > > >

Re: DALI Interface Proposal

2021-06-05 Thread murat tologlu
Hi, This is another good document for our DALI project : https://www.nxp.com/files-static/microcontrollers/doc/ref_manual/DRM004.pdf On 2021/04/22 17:49:08, murat tologlu wrote: > I forgot to say: Machester encoder is just an exclusive or gate, manchester > decoder is also an exclusive or gat

Re: DALI Interface Proposal

2021-04-22 Thread murat tologlu
I forgot to say: Machester encoder is just an exclusive or gate, manchester decoder is also an exclusive or gate ! If you ex-or the clock and the data then you get the manchester encoded code. At the receiver side, if you start and synchronize a same frequency free running clock with the negati

Re: DALI Interface Proposal

2021-04-22 Thread murat tologlu
This topic is your expertise ! On 2021/04/22 16:49:30, Gregory Nutt wrote: > > > Both the Microchip solution and the example I've mentioned above uses the > > UART to communicate with DALI Interface. I think we can consider the same. > > > A better design would be independent of the physical t

Re: DALI Interface Proposal

2021-04-22 Thread Gregory Nutt
Both the Microchip solution and the example I've mentioned above uses the UART to communicate with DALI Interface. I think we can consider the same. A better design would be independent of the physical transport layer .

Re: DALI Interface Proposal

2021-04-22 Thread murat tologlu
Both the Microchip solution and the example I've mentioned above uses the UART to communicate with DALI Interface. I think we can consider the same. On 2021/04/22 15:56:51, murat tologlu wrote: > One of the best brief explanation of the Dali protocol is in Microchip TB3200 > Technical Brief

Re: DALI Interface Proposal

2021-04-22 Thread murat tologlu
One of the best brief explanation of the Dali protocol is in Microchip TB3200 Technical Brief (https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en606182), also, DALI introduction on page 8 of this ( https://download.beckhoff.com/download/document/automation/twincat3/TwinCAT_3_PLC_Lib

Re: DALI Interface Proposal

2021-04-21 Thread murat tologlu
Wow! I am very glad to see that you are so involved in this subject. I have to be worthy of your attention. Firstly, let me explain what I am thinking about Hasseb USB-Dali Master device. You can consider it in place of the USB-RS485 Converter in Nuttx Modbus tutorial ( http://ta1db.5g.com.tr/

Re: DALI Interface Proposal

2021-04-19 Thread Gregory Nutt
The Infineon Dali Arduino board used a similar Infineon XC836 part that has a UART interface. Greg On 4/19/2021 1:35 PM, Alan Carvalho de Assis wrote: Hi Greg, This LW14 is interesting! It is possible to buy a module with it to use the I2C interface with any board (don't need to be an Arduino

Re: DALI Interface Proposal

2021-04-19 Thread Alan Carvalho de Assis
Hi Greg, This LW14 is interesting! It is possible to buy a module with it to use the I2C interface with any board (don't need to be an Arduino form-factor) see: http://www.saelig.com/product/lw14-02mod.htm I think the shipping cost will be higher the the product. BR, Alan On 4/19/21, Gregory

Re: DALI Interface Proposal

2021-04-19 Thread Gregory Nutt
Mouser has only this Infineon board: https://www.mouser.co.cr/datasheet/2/196/AP0810414_LightNet-1840577.pdf . It is based on an Infineon bridge part that has a USB/UART connection to the host. The Hasseb USB Dali Master that you referenced (http://www.hasseb.fi/shop2/index.php?route=product/

Re: DALI Interface Proposal

2021-04-19 Thread Gregory Nutt
Hi, Murat, At 95 euros that could be a turn off for some hobbyist.  I looked around for a low cost solution and found two pretty common solutions. 1. Aruino Dali Shield.  There are shields like the daliMaster https://github.com/davideloba/daliMaster that are reasonably priced.  These have an

Re: DALI Interface Proposal

2021-04-19 Thread murat tologlu
Hi Greg, I am going to order this ( http://www.hasseb.fi/shop2/index.php?route=product/product&product_id=50 ) USB Dali-2 Master unit to start playing and getting familiar with DALI commands. With this unit I will be able to test our own slave hardware - software as well. I will share my exp

Re: DALI Interface Proposal

2021-04-17 Thread Gregory Nutt
Hi, Murat, When you decide on your development/test hardware, let us know.  Maybe someone will get inspired to duplicate your setup and help at least with some testing. Greg On 4/17/2021 3:23 AM, murat tologlu wrote: Dear Greg, Thank you very much for your kind response, valuable warnings

Re: DALI Interface Proposal

2021-04-17 Thread murat tologlu
Dear Greg, Thank you very much for your kind response, valuable warnings and suggestions. I see a very good road-map in your answer. On the other hand I ( probably together with Alan and somebody else interested in participating us) will appreciate all other comments and suggestions. Best rega

Re: DALI Interface Proposal

2021-04-15 Thread Gregory Nutt
Before you start writing code, I think you should talk with the group about the architecture that you would develop. One of the essential, unbend-able rules is that any new development must not add new operating system interfaces that are not standard, not documented at OpenGroup.org, or are n

Re: DALI Interface Proposal

2021-04-15 Thread murat tologlu
Hi Alan, I am glad to hear that you found my proposal as a nice feature for Nuttx to have. I see you have made a good intruction; let me add something: Yes, DALI interface standard has DALI and DALI2 versions. DALI2 version was also extended with a feature set named as D4i. Therefore we have to

Re: DALI Interface Proposal

2021-04-14 Thread Alan Carvalho de Assis
Hi Murat, I think DALI support should be a nice feature to have! Well, I already search for this protocol some time ago, but I don't know much about it yet. The protocol uses Manchester encoding, maybe driver interface should be implemented using GPIO and freerunning timer. Suggestions are welco

DALI Interface Proposal

2021-04-13 Thread murat toloÄŸlu
I would very much like the DALI interface to be in Nuttx and I would like to learn your opinions on this issue. My knowledge and experience in Nuttx is not enough to do this work alone, but if we get a few people together, I can participate in the development work.