- Netduino Forums
- → Kermit's Content
Kermit's Content
There have been 78 items by Kermit (Search limited from 22-May 23)
#27846 Many many PWMs
Posted by Kermit on 21 April 2012 - 08:01 PM in General Discussion
#27845 How to drive train models
Posted by Kermit on 21 April 2012 - 07:57 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
#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
#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
#27796 How to drive train models
Posted by Kermit on 21 April 2012 - 08:48 AM in General Discussion
Did you spot the problem? - The Netduino only has 4 PWM outputs, so you might need to use a PWM shield to get enough PWM outputs for your 5 sets of rails.
Hi, Paul, since my first tests are ok, I'm now thinking again to the problem of loco controlling.
You told me about a pwm shield, I saw it, and I think it can be a good (and cheap!) solution. What I cannot understand is that to me it seems that I'm using in the shield the same PWM pins that I have on the Netduino, so I cannot reach the five PWM that I need.
Moreover, if I understand it well, I need TWO PWM pins to control a single loco? Forward/reverse? Please, can you give me some hint?
Andrea
#27752 How to drive train models
Posted by Kermit on 20 April 2012 - 09:10 PM in General Discussion
#27722 How to drive train models
Posted by Kermit on 20 April 2012 - 03:12 PM in General Discussion
#27645 How to drive train models
Posted by Kermit on 19 April 2012 - 02:20 PM in General Discussion
#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
#26788 How to drive train models
Posted by Kermit on 09 April 2012 - 04:41 PM 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
#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
#26590 How to drive train models
Posted by Kermit on 05 April 2012 - 09:41 PM in General Discussion
#26570 How to drive train models
Posted by Kermit on 05 April 2012 - 06:54 PM in General Discussion
http://www.ti.com/li...441/slyt441.pdf
It looks interesting.
Andrea
#26564 How to drive train models
Posted by Kermit on 05 April 2012 - 06:01 PM in General Discussion
can you give a look at this thread?
http://www.avrfreaks...ewtopic&t=60979
It looks like leveraging low data frequencies, some result can be obtained.
I cannot understand the technical details, but someone agrees, some other not! :-)
Andrea
#26563 How to drive train models
Posted by Kermit on 05 April 2012 - 05:41 PM in General Discussion
#26562 How to drive train models
Posted by Kermit on 05 April 2012 - 05:40 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
#26480 How to drive train models
Posted by Kermit on 04 April 2012 - 10:11 PM in General Discussion
#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
#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
- Netduino Forums
- → Kermit's Content
- Privacy Policy