mhoneywill
Member since Oct 2014 • Last active Jul 2015Most recent activity
-
- 3 comments
- 3,082 views
-
I guess you could connect two Espruino's together via I2C, SPI, UART and use one as a DMX processor the other as an Ethernet / Wifi / WS2811 processor. Although I'm not using WS2811 I'm trying to think of something that would be of most use to everyone.
Raw DMX running at full bore is just continuous data with a break every 513 bytes. Note you do not need to send 513 bytes it could be less. This would put quite a load on the receiving device so using one Espruino just to handle DMX receiving might be a good idea.
When I've implemented DMX before on other processors, I've cheated by detecting a framing error and assuming that this is a received break.
Transmitting 4 x 128byte chunks for the output would be fine I think as in my experience DMX recievers only wait to see a break to restart comms, so do not care about a slight gap in the data stream.
Does the STM chip warn when the TX buffer is getting empty, to give the software time to re-fill it? Or can it be fed from DMA?
-
Hi
When I receive my PICO one of the projects I want to look at is a DMX to Ethernet gateway, initially I will be receiving DMX data, but may want to transmit in the future. Does anyone have any experience of DMX on the Espruino?
DMX is a serial protocol that runs at 250kbaud see http://en.wikipedia.org/wiki/DMX512
Its very simple in structure the message stream is started by receiving a Break the a control byte which is 0 followed by up to 512 bytes of data.
Regards
Martin
-
Thought this might be of interest to you
http://www.seeedstudio.com/depot/EMW3162-WiFi-Module-p-2122.html
EMW3162 is the new module that design by MXCHIP in the 2013. For the embedded products applications, it focus on the ultra-low power low cost. This Wi-Fi wireless LAN module. It combines the latest Wi-Fi technology and microcontroller technology, within IEEE802.11b/g/n wireless communications and a variety of energy-saving mode, widely used in a variety of new intelligent electronic products. It has the latest features EMW316x series modules, but also keep the pin is fully compatible with EMW3280 module.
EMW3162 built-in frequency up to 120MHz Cortex-M3 microcontroller STM32F205RG, 1M byte of Flash, 128k bytes of SRAM and extensive peripheral functions with the MxchipWnet embedded Wi-Fi firmware.
-
See this posting and the last comment by me http://forum.espruino.com/conversations/258182/#comment11952575
Also this ADC from ebay http://goo.gl/zC8B2n should allow you to read the very small signals from the strain gauge
Cheers
Martin
-
In terms of examples of how to implement USB support you could have a look at this project called LUFA http://www.fourwalledcubicle.com/LUFA.php its for AVR micros but it might give some idea's
-
Is it just the w5500.h and w5500.c files that define the interface to the Wiznet chip? I like the idea of being able to choose what image to use within the web IDE. You would probably only have wired or wireless Ethernet for instance. Do you have a link to the Wiznet libraries, I could have a look at the different chip types.
-
Earlier on in this post you were talking about PCB layout software, Have you see the free DesignSpark software from RS components http://www.rs-online.com/designspark/electronics/eng/page/designspark-pcb-home-page its based on EasyPC http://www.numberone.com/easypc.asp by Numberone systems, which was pretty good 10 years ago when I used to use it.
Think it might be more intuitive than Eagle. It also supports 3D models etc.
See http://data.designspark.info/uploads/knowledge-items/designspark-pcb-version-5-brochure/DesignSpark_PCB_V5_Brochure(ELE_0076-01).pdf
Cheers
Martin