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...
Type: Posts; User: muggins
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...
Oh well.... I'll have a go
thanks
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...
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...
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...
Hi
It's running on a fixed IP.
thanks
John
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...
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...
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...
Can anyone give guidance please. I'm pretty badly stuck with this.
I might be imagining it but I think I was getting solid results before upgrading to teensyduino 1.29..... I may be mistaken.
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...
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...
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...
I'm really out of my depth here not understanding how SPI transactions work. The other library that I want to use is:...
Thanks for all of that. Very useful.. Some more research is required.
thanks
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....
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...
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...
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.
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...
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
Thank you both for good advice. I'll investigate ...
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...
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...
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...
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...
Paul forgive me if I'm being stupid, but since I am compiling in Teensyduino why do I get the error.
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
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)...
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...
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...
Thanks for that. Looks like I have a bit of reading to do!!
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.
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...
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...
That's great, got it now..thanks
OK I'll try messing picking the bones of that. thanks
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:
...
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
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?
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...
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...
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...
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...
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...
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...
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...
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...
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...