Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
I wonder what causes it to grow over time? Maybe Peter's suggestion about a grunty power reserve cap would help. I was using a 3A switching supply when I was trying it but it was still flaky - I didn't put the 'scope on it though.
Greg
paceman Guru
Joined: 07/10/2011 Location: AustraliaPosts: 1328
Posted: 10:49pm 21 May 2015
Copy link to clipboard
Print this post
Are things looking a bit shaky over there again TZ?
MicroBlocks
Guru
Joined: 12/05/2012 Location: ThailandPosts: 2209
Posted: 11:13pm 21 May 2015
Copy link to clipboard
Print this post
@Paceman, I must say it is much better now then with the corrupt politicians in power. People feel more sfae, confident etc. It show how people are on the streets and there is now much more relaxed then before.
Thailand where coups are different. :)
Microblocks. Build with logic.
paceman Guru
Joined: 07/10/2011 Location: AustraliaPosts: 1328
Posted: 11:27pm 21 May 2015
Copy link to clipboard
Print this post
Well that's good news. Hope things are well with you - haven't heard from you for a while.
CarlRanson Newbie
Joined: 08/05/2015 Location: New ZealandPosts: 30
Posted: 12:24am 22 May 2015
Copy link to clipboard
Print this post
having added the biggest cap I could find on the bench, 2200uf, Ive got the power droops limited to about -130mv. every once in a while there are spurious readings about 3 times that but they seem brief.
It's been running now for 2 hrs now and seems stable. I've also learned a lot about the rolling mode of my rigol.
matherp Guru
Joined: 11/12/2012 Location: United KingdomPosts: 8592
Posted: 01:17am 22 May 2015
Copy link to clipboard
Print this post
Make sure the caps are as close to the pins of the wifi unit as possible. I would also add a 10uF ceramic and a 0.1uF ceramic. You may find that a 100uF tantalum is better than the 2200uF electrolytic. What you are trying to do is buffer the voltage until the voltage regulator in the power supply has time to react to the voltage drop.
CarlRanson Newbie
Joined: 08/05/2015 Location: New ZealandPosts: 30
Posted: 10:36pm 26 May 2015
Copy link to clipboard
Print this post
mounting the caps on the esp board was good advice. I've got the noise on the power line down to 20mv typical. I've seen it have a spasm every now and then but it seems to stay with 200mv.
I've had it running for 24 hrs now and still going.
I think i'll still need to change the code to cope with the esp crashing but if its infrequent it won't be a problem.
thanks for all the advice.
CR
CarlRanson Newbie
Joined: 08/05/2015 Location: New ZealandPosts: 30
Posted: 01:12am 28 May 2015
Copy link to clipboard
Print this post
with some tweaks to the code i've got the code running and stable at up to 4 messages/sec to the display. Fast enough for what I need.
viscomjim Guru
Joined: 08/01/2014 Location: United StatesPosts: 925
Posted: 01:44am 28 May 2015
Copy link to clipboard
Print this post
Hi Carl, so thats good news! Do you think that the power was the major problem or did you still get error messages from the esp8266? Can you post your stable code? Thanks for your efforts and reports.
paceman Guru
Joined: 07/10/2011 Location: AustraliaPosts: 1328
Posted: 02:43am 28 May 2015
Copy link to clipboard
Print this post
It's been good to see where the main problem really is Carl, i.e. the ESP8266's thirst - and even better that Peter's suggestion nailed it! BTW what sort of power supply are you using (switched/linear/chip type/output cap) and what's it's rating? Also what did you end up with in the way of extra caps on the module?
Greg
CarlRanson Newbie
Joined: 08/05/2015 Location: New ZealandPosts: 30
Posted: 12:31am 29 May 2015
Copy link to clipboard
Print this post
I'm pretty sure power was the major problem, yes, but I can still crash the esp8266 if i feed data at it fast enough.
Am I right in thinking that the com ports on the mk1 only go up to 19k2?
I'm powering straight from the mk1 micromite as I'm still at the breadboard stage. I need to get it together to make a breakout board and properly power the esp.
Will post code once I've tarted it up a bit.
paceman Guru
Joined: 07/10/2011 Location: AustraliaPosts: 1328
Posted: 02:09am 29 May 2015
Copy link to clipboard
Print this post
Yes, see page 55 of the V4.5 Manual which was the last one for the Mk1.