Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: muggins

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Hi Please forgive me if this is a trivial...

    Hi
    Please forgive me if this is a trivial matter...
    I have a Teensy/W820io running as a server on fixed IP. A client connects to it to send commands and extract info.
    On occasion I get lockups...
  2. Replies
    15
    Views
    3,192

    Oh well.... I'll have a go thanks

    Oh well.... I'll have a go
    thanks
  3. Replies
    15
    Views
    3,192

    Thank you I'm clearer on that now. I will...

    Thank you I'm clearer on that now. I will experiment with dissecting the W820io and getting a transformer package. Ultimately though I will be producing quite a lot of these and will need to lay out...
  4. Replies
    15
    Views
    3,192

    Hi Thanks for that. The W820io does not include...

    Hi
    Thanks for that. The W820io does not include these 2 extra components which confuses me. I have a prototype board made which currently houses the T3.2 and a W820io as well as all my other...
  5. Replies
    15
    Views
    3,192

    Hi I have decided to go with the Teensy 3.2...

    Hi
    I have decided to go with the Teensy 3.2 board as is and add the W5500 with associated components to my own design board. I would really appreciate some guidance. The W550io schematic shows the...
  6. Replies
    2
    Views
    1,127

    Hi It's running on a fixed IP. thanks John

    Hi
    It's running on a fixed IP.
    thanks
    John
  7. Replies
    2
    Views
    1,127

    Wiz820io connection fail

    Hi
    I have Teensy 3.2 and Wiznet820io setup as a server with a client sending commands via TCP. On occasions this connection has broken down. Is there any way the server can detect this disconnection...
  8. Replies
    0
    Views
    760

    OTA updates for confused beginner.

    Please forgive me for going over old well covered ground. I have spent many hours on the forum researching and getting more confused. There seems to be solutions using serial, wifi using ESP8266 and...
  9. Replies
    9
    Views
    4,488

    Paul uncommenting debug just shows that device is...

    Paul uncommenting debug just shows that device is not responding to every poll.
    I have 5 teensys and 5 of these devices. All work flawlessly with Arduino UNO and all "stutter" on the teensys. Did...
  10. Replies
    9
    Views
    4,488

    Can anyone give guidance please. I'm pretty badly...

    Can anyone give guidance please. I'm pretty badly stuck with this.
  11. Replies
    9
    Views
    4,488

    I might be imagining it but I think I was getting...

    I might be imagining it but I think I was getting solid results before upgrading to teensyduino 1.29..... I may be mistaken.
  12. Replies
    9
    Views
    4,488

    AS5048A rotary magnetic encoder.

    Hi
    I've been struggling for quite some time with this encoder.
    It behaves perfectly when attached to the standard SPI pins (11,12,13 + CS) on an Arduino UNO
    The library is located at...
  13. Replies
    10
    Views
    2,604

    Thank you Paul for that and yes maybe my query...

    Thank you Paul for that and yes maybe my query wasn't comprehensive enough. Before hearing of transactions I assumed that in programming you had to "release" one CS before selecting another. Because...
  14. Replies
    10
    Views
    2,604

    I have to say I haven't tried them together as I...

    I have to say I haven't tried them together as I had never heard of transactional "sharing" until now and assumed that network communication needed to be "always on"
    I will breadboard it up and try...
  15. Replies
    10
    Views
    2,604

    I'm really out of my depth here not understanding...

    I'm really out of my depth here not understanding how SPI transactions work. The other library that I want to use is:...
  16. Replies
    15
    Views
    3,192

    Thanks for all of that. Very useful.. Some more...

    Thanks for all of that. Very useful.. Some more research is required.
    thanks
  17. Replies
    15
    Views
    3,192

    Thank you both for the advice. I need to decide...

    Thank you both for the advice. I need to decide now whether to go for the newer chip W5500. Funny I can't find the "not recommended for new product" comment relating to the 820io on the Wiznet site....
  18. Replies
    15
    Views
    3,192

    Hi thanks for the advice. When I say flatten I...

    Hi
    thanks for the advice. When I say flatten I mean lay out all the network adapter components on a new pcb layout to include lots of other stuff. This would include the transformer but instead of...
  19. Replies
    15
    Views
    3,192

    "Flattening" the WIZ820io

    Hi
    I currently have a working Teensy 3.2 and WIZ820io however..
    I have a requirement to build both into a very small enclosure and to design a brand new board to house both along with some other...
  20. Replies
    10
    Views
    2,604

    Thanks, I did see that but not sure how to...

    Thanks, I did see that but not sure how to implement it as the SPI stuff is all buried in the Ethernet library. I'll have another look.
  21. Replies
    10
    Views
    2,604

    Ethernet share SPI

    Can someone please guide me. I have a Wiznet module attached to the teensy using SPI. It uses pin 10 as CS. I want to also use SPI for a rotary encoder using CS on pin 5. My question is, does the...
  22. Hi Eduardo I too have been researching this as I...

    Hi Eduardo
    I too have been researching this as I have the same requirements. Have you found this method to be reliable? Is there a better way maybe using CLI.
    thanks
    John
  23. Replies
    9
    Views
    2,267

    Thank you both for good advice. I'll investigate...

    Thank you both for good advice. I'll investigate ...
  24. Replies
    31
    Views
    10,778

    Paul I am very grateful for help that you...

    Paul
    I am very grateful for help that you provide to all of us and really don't want to waste your valuable time.. I already posted a simple sketch in post #11 which throws up
    " 'max' was not...
  25. Replies
    6
    Views
    2,696

    Hi I do want to take as many measurements as...

    Hi
    I do want to take as many measurements as possible in the 2ms. I think? I'm doing what you suggest, that is a continuous measurement within the loop. Then during each interval I add all the...
  26. Replies
    6
    Views
    2,696

    Thanks Paul I'll have a look at the Pedvide...

    Thanks Paul
    I'll have a look at the Pedvide library. I'm a little confused about using analogRead inside an IntervalTimer. Surely inside the timer actions occur more slowly dependent on the...
  27. Replies
    9
    Views
    2,267

    I have declared an integer array and a string...

    I have declared an integer array and a string
    String FullString;
    int JMarray[1200];

    1200 values is the maximum I need.
    This gets populated regularly with values and then I do an iteration...
  28. Replies
    31
    Views
    10,778

    Paul forgive me if I'm being stupid, but since I...

    Paul forgive me if I'm being stupid, but since I am compiling in Teensyduino why do I get the error.
  29. Replies
    6
    Views
    2,696

    That equates to 200 readings in a 2ms interval. I...

    That equates to 200 readings in a 2ms interval. I have a lot going on in my sketch and am only getting 18 readings per 2ms
  30. Replies
    31
    Views
    10,778

    The little bit of example code I uploaded breaks...

    The little bit of example code I uploaded breaks the min/max functionality ie no other libraries.
    I found a workaround on the web
    #define min(a,b) ((a)<(b)?(a):(b))
    #define max(a,b)...
  31. Replies
    31
    Views
    10,778

    I really appreciate your comprehensive response....

    I really appreciate your comprehensive response. I've got it now. As for the extended set do I use ram.initialize?
    Just for interest I still have the strange max/min error which only happens when I...
  32. Replies
    31
    Views
    10,778

    I've tried to follow the wiki but I'm just...

    I've tried to follow the wiki but I'm just learning...
    Do I just add this code to my sketch or should it be "included as a dot h file.
    Does initialize require the parameters StackAllocation and...
  33. Replies
    9
    Views
    2,267

    Thanks for that. Looks like I have a bit of...

    Thanks for that. Looks like I have a bit of reading to do!!
  34. Replies
    9
    Views
    2,267

    Hi Thanks for coming back. Actually I'm not...

    Hi
    Thanks for coming back. Actually I'm not having problems with this. I was just wondering if there was a better way to approach this.
  35. Replies
    9
    Views
    2,267

    integer array to string

    Hi
    I have read that intensive string concantenation is memory hungry and I could use a little help.
    I have a very large integer array of analogue readings and I need to parcel them up to send over...
  36. Replies
    6
    Views
    2,696

    Teensy 3.2. A little guidance on ADC please

    I have a project requiring 3 low resolution measurements at say 5 second intervals. More importantly I need to sample at 12 bit resolution another input at precise 2ms intervals. A couple of...
  37. Replies
    122
    Views
    54,615

    That's great, got it now..thanks

    That's great, got it now..thanks
  38. Replies
    122
    Views
    54,615

    OK I'll try messing picking the bones of that....

    OK I'll try messing picking the bones of that. thanks
  39. Replies
    122
    Views
    54,615

    Hi thanks I tried that but I'm not sure if I'm...

    Hi thanks
    I tried that but I'm not sure if I'm doing the right thing but..
    I have put code (class) in my sketch and made a request for mac in setup. I get:
    ...
  40. Replies
    122
    Views
    54,615

    Hi My module is WIZ820. I have several and I...

    Hi
    My module is WIZ820. I have several and I want to get a unique MAC address from the Teensy in my sketch and then start an Ethernet session using it.
    thanks
    John
  41. Replies
    122
    Views
    54,615

    Hi I'm new to this .... The T3Mac library...

    Hi
    I'm new to this ....
    The T3Mac library provides functionality to print MAC address.
    I need to extract it so I can write it to my ethernet module. I don't know how to do that.
    Any one help?
  42. Replies
    3
    Views
    1,196

    Hi It's not solder. The voltage on pin 2 is only...

    Hi
    It's not solder. The voltage on pin 2 is only drops to 1.1, unlike its neighbouring LED pin which drops to zero. I've moved the LED up to pin 4 and all is good. Must be a fault on pin 3. Should I...
  43. Replies
    3
    Views
    1,196

    teensy 3.2 dead pin??

    I have been working on a project that involves various button inputs and an LED indicator.
    All good until a few hours ago.
    The pin next to a flashing LED, although set up as input pullup is...
  44. Replies
    34
    Views
    7,094

    At last... now I've got it. In my loop I had a...

    At last... now I've got it.
    In my loop I had a global variable "targetPos" which got updated by various means. What I had to do was create an event when there was a call for a change and then update...
  45. Replies
    34
    Views
    7,094

    Christoph as always thank you for taking the...

    Christoph
    as always thank you for taking the time to respond. My more recent version of code calculates a delay based on a ramp up- linear- ramp down model. I use a variable delay instead of...
  46. Replies
    34
    Views
    7,094

    I thank you for your comments which are accurate....

    I thank you for your comments which are accurate. I am quite far into this project and have committed to purchase of some high torque hobby servos. My theory is that if I keep the shortest delay...
  47. Replies
    34
    Views
    7,094

    Paul, I fully understand and thank you for your...

    Paul, I fully understand and thank you for your code. I didn't post up my code as it is too long. Christoph has been very helpful and gave me an example which is nearly there but I just cannot...
  48. Replies
    34
    Views
    7,094

    Christoph Putting this in a class would indeed...

    Christoph
    Putting this in a class would indeed be an elegant way to present this. However despite having spent a couple of decades doing VB programming and now having attacked this code with loads...
  49. Replies
    34
    Views
    7,094

    Christoph Sorry you did in fact make that clear....

    Christoph
    Sorry you did in fact make that clear. My mistake. I jumped straight into your code without reading your post again. So I need another function within the loop containing a boolean...
  50. Replies
    34
    Views
    7,094

    Christoph I don't think this will work because...

    Christoph
    I don't think this will work because it recalculates a new delay with each iteration and loses track of the original difference in positions.
    The calculation works out the ramp up and...
Results 1 to 50 of 64
Page 1 of 2 1 2