- Netduino Forums
- → Kermit's Content
Kermit's Content
There have been 78 items by Kermit (Search limited from 18-June 23)
#26423 How to drive train models
Posted by Kermit on 04 April 2012 - 02:48 PM in General Discussion
After reading books, googling around, I decided to start from the first problem (probably the easy one): controlling a lot of leds or similar devices on a wide surface (10 meters x 4 meters). Since actually there are really a lot of wires and cables, I think that using shift registers chain-linked each other and put in smart positions can save a lot of these cables.
This simple drawing can give the idea, I hope: the shift registers act as local 'pits' where to connect leds to, so I need only a three wires cable going all around, and the local (short) connection to peripherals.
Moreover, I think that netduino cannot power everything, so I'll have to add a power line going all around, and transistors to act as switches to activate the single peripheral, when put on.
It looks like it can become all very clean and simple, if this is a feasible solution...
Before starting testing, I would like some good advice, if possible: thanks in advance, as always!
Andrea
#26795 How to drive train models
Posted by Kermit on 09 April 2012 - 05:57 PM in General Discussion
http://www.baciperug...na_history.html
But don'ask for more boxes, I'll send one only to Paul! :-)
Andrea
#26794 How to drive train models
Posted by Kermit on 09 April 2012 - 05:54 PM in General Discussion
#27831 How to drive train models
Posted by Kermit on 21 April 2012 - 05:40 PM in General Discussion
Ok, since I had started (and quickly closed!) a related thread, I consider the problem of the many PWMs closed (with just another order for new components!!! :-)))
Andrea
#27845 How to drive train models
Posted by Kermit on 21 April 2012 - 07:57 PM in General Discussion
#28436 How to drive train models
Posted by Kermit on 02 May 2012 - 09:53 AM in General Discussion
#28288 How to drive train models
Posted by Kermit on 29 April 2012 - 09:53 AM in General Discussion
#28276 How to drive train models
Posted by Kermit on 28 April 2012 - 10:25 PM in General Discussion
#26788 How to drive train models
Posted by Kermit on 09 April 2012 - 04:41 PM in General Discussion
#27645 How to drive train models
Posted by Kermit on 19 April 2012 - 02:20 PM in General Discussion
#26521 How to drive train models
Posted by Kermit on 05 April 2012 - 12:22 PM in General Discussion
Apart from this, I don't want to throw anything away, I'm not that kind of guy... only, I'll have to study much more, and understand how I can solve the problem: challenges are made to be solved! :-)
Done with Paint, here is an image of how the model is: 10mx4m, there are a lot of different devices to control (the image cannot convey how many different, and small, electric devices there are), and my friend kept adding every single device, linking cables from any single device to the control center.
So, other than the wires, other problems are all the power adapters (from 220VAC to 9V, to 12V, to 6V, to 16VAC..., many for each voltage), buttons, pulse buttons...
And he would like to go on adding other devices, so reordering things, finding a different solution than the brute force, is becoming NOT an option!
I was pretty sure that I could send signals over a 10meters span, it didn't look a so great distance, but I believe in you, so I only have to explore other possibile solutions!
Andrea
#26512 How to drive train models
Posted by Kermit on 05 April 2012 - 09:42 AM in General Discussion
#26785 How to drive train models
Posted by Kermit on 09 April 2012 - 03:38 PM in General Discussion
Coming to the problem, yes, I read about not too long distances with I2C, but then I also read documents like this:
http://www.esacademy...ns/i2c-faq.html
or this:
http://ics.nxp.com/products/i2chubs/
where is explicitly said about hundreds of meters or even kilometers...
Do you think they are believable, or is there something hidden? :-)
Andrea
#26472 How to drive train models
Posted by Kermit on 04 April 2012 - 08:39 PM in General Discussion
#26471 How to drive train models
Posted by Kermit on 04 April 2012 - 08:37 PM in General Discussion
#26776 How to drive train models
Posted by Kermit on 09 April 2012 - 02:01 PM in General Discussion
I still didn't try any of the solutions already kindly proposed (for example, direct SPI connection with a 74HC595): I made e new order of components, but they failed to arrive (it's Easter time! :-)).
So I went on looking at ways to solve *easily* the problem (SPI is not certain to function over a distance...).
Now I spot this component: http://www.nxp.com/d...eet/PCF8575.pdf
...that for a newbie like me looks like what I'm looking for! May I control this component (many of them) directly from a Netduino?
Thanks again to whoever will help me in choosing the solution.
Andrea
#26562 How to drive train models
Posted by Kermit on 05 April 2012 - 05:40 PM in General Discussion
#26480 How to drive train models
Posted by Kermit on 04 April 2012 - 10:11 PM in General Discussion
#27846 Many many PWMs
Posted by Kermit on 21 April 2012 - 08:01 PM in General Discussion
#27871 Many many PWMs
Posted by Kermit on 22 April 2012 - 06:45 AM in General Discussion
#27805 Many many PWMs
Posted by Kermit on 21 April 2012 - 11:09 AM in General Discussion
Yes, the first straight answer could be to buy more Netduinos, but it's not only a cost problem: then I'd have to sync all together, that would be another big problem!
What I'm thinking about, is there some solution where I first select an 'address' (to be considered in a wider sense...), and then I set a duty cycle? The 'subcircuit' (or something like that) should retain that value, be self-powered, and going on supplying the exact pulse until maybe I re-select the same 'address', and put out a new value.
The first idea coming to my mind is to use many shift register chained in SPI, where, using the output pins of each shift register, put out a 'value' to feed to something else to be used as a PWM source (and obviously I don't know how to create such a thing...).
I googled everywhere, but I couldn't find any good start, so I'm really at zero! :-(
Is there anyone pointing me to a good direction?
Thanks in advance
Andrea
#27812 Many many PWMs
Posted by Kermit on 21 April 2012 - 12:26 PM in General Discussion
PWM IC:
http://www.sparkfun.com/products/10136
On a breakout board:
http://www.sparkfun.com/products/10615
...ehm... I don't know how to tell it in English, but right now I have a big big red face... :-(
Andrea
#28712 Modbus-TCP is now for Windows Phone too
Posted by Kermit on 09 May 2012 - 12:04 PM in Project Showcase
#28692 Modbus-TCP is now for Windows Phone too
Posted by Kermit on 08 May 2012 - 09:20 PM in Project Showcase
So, the only way was connecting them via serial: specifically UART, using the RS-485 interface. That's still a very good solution, because it's the only answer to several constraints:
- simplicity (both hardware and software);
- cost effective (can be realized even on a half-Euro MCU);
- reliability (very high noise immunity);
- very long distance wiring (up to 1.2km);
- worldwide standard, thus thousands of sensors can be plugged without no effort;
- no need of permissions, instead of most radio-based systems (*).
Mario, here you said that we can realize an RS-485 connection with half-euro: could you elaborate on this, giving some advice, for us mere mortals? :-)
Thanks as usual from Città di Castello! :-)
Andrea
#28707 Modbus-TCP is now for Windows Phone too
Posted by Kermit on 09 May 2012 - 10:17 AM in Project Showcase
- Netduino Forums
- → Kermit's Content
- Privacy Policy