Would you guys be interested in an opensource version of this, that has both USB and Ethernet on it, and perhaps four DMX ports?
We did create something uin the early days that was called the Number8..
Kind Regards
Andrew Frazer
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
I’d imagine that we could make it run either.
I don’t’ have any call for artnet, but if its entirely opensource then you could add your own. Looks like it should be possible to get 6 ports of DMX out/in.
I’d like to
Kind Regards
Andrew Frazer
I’d probably go for a PIC32MZ2048EFM064. It has Ethernet MAC, USB, 6 UARTS and some othr useful bits to do some measurements with. Theres plenty of enough horsepower to make it do this task.
Ethernet via a LAN8740 or 9303 Phy. Probably add a small display as well.
I’d likely lean towards using an RTOS to keep the various bits from overrunning each other, as well.
Certainly Linux is ‘richer’, but that can make it less stable, and it’s a whole bunch more prone to crashes.
Updates are easy enough via a bootloader, and that’s now much more stable.
Kind Regards
Andrew Frazer
From: Peter Stuge
Sent: Saturday, 25 November 2017 1:20 PM
To: open-l...@googlegroups.com
Subject: Re: [open-lighting] 4 Universes out of a Number 1?
Stefan Krüger wrote:
--
An embedded Linux system means a far richer software stack. This has
both pros and cons. A clear pro is that it takes much less effort to
perform software updates. A clear con is the much greater software
complexity. But that complexity also allows different methodologies.
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
I am currently working on a artnet/sacn to 8 dmx ports (output only) using the cheap blue pill (stm32f103) with gpio DMA. Uses an enc28j60, i2c eeprom to save settings artnet v4 compliant. Finishing now the eeprom code, building a test rig and will do some heavy testing, will most likely place it on github. Any interest to have an early alpha?
I love the STM32 and use it together with ChiBios. I like ChiBios
a lot over FreeRTOS and have made a lot of good experience with
ChiCios. You could use an STM32 that has an ethernet MAC like
STM32F107 or use an STM32F407. Moving to an external PHY and use
the buildin MAC is not so complicative. There are a lot of code
example on how to use the internal MAC. I have some experience
with ethernet PHY's and If you like someone else to look over the
schemartics or layout, I can do so. When using an STM32F429/439
you might have up to 8 UARTS (4xUSART+4xUART) so you can do RDM as
well as DMX input. You can store setting within one or two pages
of the flash. Adding PoE is not so complicative, so you can also
do that later.
--
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
It is a good choice to learn. I understand that you get boards with the ENC27J60 with RJ45 on one side and a pin header for the SPI on the other side. But once you have that running and your prototype works, it comes to price reduction and integration. The 10BaseT might be to slow, if your device is bombarded with ethernet trafic. But when you change to 100MBit the 20K RAM of the STM32F103 will become a bottleneck. You get a 100MBit PHY + an STM32 with 64K RAM that does not really cost much more than the STM32F103 plus the ENC28J60. The buildin MAC can use a DMA for packet transfer and they often have a CRC engine buildin that you can use to generate and check the Ethernet checksum.
Do you know the STM32-E407 from Olimex, which costs about 40 EUR (https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware). You can get a 100BaseT PHY for about about 1 EUR @ 1K. The connector with buildin coil will not cost you more than 2 EUR @ 1K. Get the schematic of the STM32-E407 and search for the prices of the key components.
If you choose the right case, you can switch between STM32F107 and STM32F407 easily, as they are mostly pin compatible.
I think ChibiOS is a really good choice. I also use it for my fader wings and my USB-DMX interface and for a Display Button board with only 5 buttons/leds and an STM32F030 which can be exchanged by an STM32F042 to have CAN or USB in a TSSOP20 package.
Michael,
What is your fader wings?
++
On 25/11/2017 18:08, Michael Stickel wrote:
It is a good choice to learn. I understand that you get boards with the ENC27J60 with RJ45 on one side and a pin header for the SPI on the other side. But once you have that running and your prototype works, it comes to price reduction and integration. The 10BaseT might be to slow, if your device is bombarded with ethernet trafic. But when you change to 100MBit the 20K RAM of the STM32F103 will become a bottleneck. You get a 100MBit PHY + an STM32 with 64K RAM that does not really cost much more than the STM32F103 plus the ENC28J60. The buildin MAC can use a DMA for packet transfer and they often have a CRC engine buildin that you can use to generate and check the Ethernet checksum.
I understand all this and completely agree with you, the purpose to use the enc28j60/uIP with the STM32F103 (Blue pill) was targetted at people to just buy the modules around the internet and stick them into a 'shield' with the RS485 transceivers thus having quickly and low cost solution with 8 DMX outputs and ArtNet/sACN.
The enc can filter traffic, so, if correctly setup we can just ignore all traffic not pertaining to our node, and 10mb is more than enough for 8 DMX universes. It can be DDOS'ed ofc it can, any of them can, even 100mbit can, but, it should be run in a controlled environment. Note that it's purpose is not to be a commercial product for big live concerts/festivals/tours, for that it would be the project i'm thinking of for next year (8out + 8in/out with STM32F4 or F7)
Do you know the STM32-E407 from Olimex, which costs about 40 EUR (https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware). You can get a 100BaseT PHY for about about 1 EUR @ 1K. The connector with buildin coil will not cost you more than 2 EUR @ 1K. Get the schematic of the STM32-E407 and search for the prices of the key components.
Yes I do, an enc28j60 module costs 1.5€ and a STM32F103 blue pill costs 2.5€ tops + 8 x max485, 8 xlrs and a box will sort you out a pretty decent setup for your domestic or small needs.
If you choose the right case, you can switch between STM32F107 and STM32F407 easily, as they are mostly pin compatible.
I think ChibiOS is a really good choice. I also use it for my fader wings and my USB-DMX interface and for a Display Button board with only 5 buttons/leds and an STM32F030 which can be exchanged by an STM32F042 to have CAN or USB in a TSSOP20 package.
ChibiOS rocks :)
On 25.11.2017 15:57, rbarr...@gmail.com wrote:
I understand all that and agree with you.The option for the 'blue pill' was its easy availability (sells like hell on eBay) and price point. It's actually developed on ChibiOS (latest) and it was meant to be a low cost 8 dmx solution.
After finishing this, I'm thinking of an stm32f4 to run 8dmx outputs only (with gpio DMA like the stm32f1, and 8 bidirectional dmx inputs/outputs (with the uarts), but that's a project for next year.
On 25 Nov 2017 14:35, "Michael Stickel" <mic...@cubic.org> wrote:
--On 25.11.2017 15:01, rbarr...@gmail.com wrote:
I am currently working on a artnet/sacn to 8 dmx ports (output only) using the cheap blue pill (stm32f103) with gpio DMA. Uses an enc28j60, i2c eeprom to save settings artnet v4 compliant. Finishing now the eeprom code, building a test rig and will do some heavy testing, will most likely place it on github. Any interest to have an early alpha?
I love the STM32 and use it together with ChiBios. I like ChiBios a lot over FreeRTOS and have made a lot of good experience with ChiCios. You could use an STM32 that has an ethernet MAC like STM32F107 or use an STM32F407. Moving to an external PHY and use the buildin MAC is not so complicative. There are a lot of code example on how to use the internal MAC. I have some experience with ethernet PHY's and If you like someone else to look over the schemartics or layout, I can do so. When using an STM32F429/439 you might have up to 8 UARTS (4xUSART+4xUART) so you can do RDM as well as DMX input. You can store setting within one or two pages of the flash. Adding PoE is not so complicative, so you can also do that later.
Michael
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
I have the idea to have some PCB's, fader, button and encoder
wing, interconnected by some bus (CAN or UART with CAN
transceiver) and connected to some PC or RPi. Then build up an
individual console like witn the Strand MMS in the early days.
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
If you want to use SDRAM, then you would probably want to use the MZ DA Variants of IC’s, and yes, Linux is available for it. But for what I’m thinking, its way overkill.
Kind Regards
Andrew Frazer
From: Michael Stickel
Sent: Sunday, 26 November 2017 2:52 AM
To: open-l...@googlegroups.com
Subject: Re: [open-lighting] 4 Universes out of a Number 1?
On 25.11.2017 01:11, Peter Stuge wrote:
--