« first day (918 days earlier)      last day (4021 days later) » 
00:00 - 15:0015:00 - 00:00

3:15 PM
GrEEts all - mind if I comment?
@AnindoGhosh how about micro stepper driven motors? I thought that was how they achieved sub angular resolution is through a continuous dithering process?
 
@rawbrawb Yup, microstepping and power-off-holding are mutually exclusive
 
user61389
Why do we add caps to a RESET circuit, actually?
 
@CamilStaps To avoide resets due to EMI
 
@AnindoGhosh does that mean they have a brake that holds? because if you were mid-pole (for example) you'd need to actively control the coils to ensure the right placement hold.
 
@rawbrawb Hi!
 
user61389
3:19 PM
@AnindoGhosh thanks :)
 
@rawbrawb Mid-pole = not a full step, so it won't hold AFAIK if power is switched off.
 
@CamilStaps can you give an example? Not all require that, in some cases they can't get large enough C inside.
 
user61389
3
A: Connecting the RESET pin of AT8051

Camil StapsA fast search on Google gave me this: The first circuit pulls the RESET pin low to enable the chip. The second circuit is the same, but with a reset button. If you press that, the chip will get reset.

 
@AnindoGhosh that's what I thought, so it has to be actively controlled.
@abdullahkahraman greetings
 
@CamilStaps And also, if there is a glitch on the supply, for example a dip, the capacitor will be a voltage reservoir.
 
user61389
3:21 PM
@abdullahkahraman that doesn't apply on RESETs that want you to pull-down, or am I mistaken here?
 
@rawbrawb Whenever there's reference to power-off-holding of steppers, that's purely for full-step operation. The nice thing is, even the cheap hobby steppers have some amount of gearing in place so a full step is still pretty small.
 
@CamilStaps funny story, when I first read that I was thinking " not everyone SPELLS reset in CAPS as RESET"
 
@CamilStaps Yeah, it does. :)
 
@AnindoGhosh but the whining is typically in the control of microstepping no?
 
user61389
@rawbrawb hahaha, I had to reread that message a few times before I understood
 
user61389
3:23 PM
@abdullahkahraman oh :)
 
@rawbrawb Whining was being discussed in context of servos not steppers. Servos whine when they correct, such as if the load is moved due by a person's hand, or even a breeze for the really neat high sensitivity servos. The hysteresis is easily overcome due to the gearing down that the rotary position sensor uses.
Actually no, I misspoke. The gearing has nothing to do with the hysteresis. The gearing just ensures that a gentle touch still moves the position sensor sufficiently to register.
 
@AnindoGhosh okey dokey,
 
Now if that registered variation is greater than designed hysteresis, the motor inside will whine while it counters the difference, or at least tries to.
Anyone seen this thing all the papers are talking about? edition.cnn.com/2013/05/01/tech/innovation/bug-eye-camera/…
I think the mainstream press loves the story because they get to incorporate big huge insect photos. :-)
 
@AnindoGhosh oh yeah.
 
@rawbrawb What specifically was the oh yeah about? :-) The papers, the bugs or the technology?
 
3:30 PM
There is a trend towards computation photography. People confuse this with the ability to use less expense sensors etc. with is a red herring, interesting process technology though.
@AnindoGhosh let's just say I'm not that interested in insects.
 
@rawbrawb Or in newspapers I venture.
 
@AnindoGhosh precisely, I am aware of that group, I didn't know precisely what they were working on. Had seen earlier papers.
 
@CamilStaps I hate how these microcontrollers make active HIGH reset.. As Andy Aka noted, there may be negative voltage seen on RESET pin.
 
user61389
@abdullahkahraman hmm, yes
 
@CamilStaps I still cannot understand the joke.. :(
 
user61389
3:38 PM
@abdullahkahraman NO? LET ME GIVE YOU A HINT
 
@CamilStaps yeah.. CAPS.. I don't get it, still?
 
user61389
Why the caps are used? And why the pull up & pull down? — abhisekp 20 mins ago
 
@abdullahkahraman caps can be Capacitors, CAPS can be CAPITAL letters, so reset in CAPS is RESET but @CamilStaps was referring to reset with capacitors.
 
user61389
@rawbrawb actually, RESET with capacitors.
 
@CamilStaps you still haven't answered me, not all resets need caps (the device), in fact few do.
 
3:41 PM
@rawbrawb @CamilStaps Yeah, whatever, I am a dumbass..
@rawbrawb I have finished my homework!
 
user61389
@rawbrawb still haven't answered what question?
 
user61389
@rawbrawb the answer was this: electronics.stackexchange.com/a/67769/17592 (I don't know if caps in this circuit are necessary, but it at least shows we use them)
 
@rawbrawb I am planning on publishing it as a paper.. I am sure they will give me Prof. "badge" as soon as I publish.. But I don't know if I could cope with the fame.
 
@CamilStaps typically, but not always, you want a delay on your reset circuit to make sure that the power is stable before starting up. THis can be implemented a number of ways and sometimes they need a cap outside because inside it would take up too much area.
@abdullahkahraman published papers on resumes are always good.
 
user61389
3:45 PM
@rawbrawb we have a PWRTE function for that, or is that for something else / don't all chips have such a function?
 
@CamilStaps what is a PWRTE?
 
@rawbrawb Power-up Timer Enable
 
user61389
@rawbrawb a config setting for at least PICs, PoWeR Timer Enabled or so, but that won't be general for all chips then. Anyway, I have to go, see you!
 
@CamilStaps when you designing with transistors you can do anything you want. Generally you have too much opportunity to do things, so it's very different than board design. Therefore, NO it's safe to say that you can't make assumptions as to exact implementation.
@abdullahkahraman another turkish paper?
 
3:48 PM
@rawbrawb lol..
 
@abdullahkahraman So, tell me the truth. They are kinda cool circuits aren't they?
 
I hate it, I have completed my bachelor's in English and now in Master's everything is in Turkish. I am re-learning all the terms..
@rawbrawb I am in love with these circuits.
@rawbrawb Just that I hate they are not going to work as they look; I am afraid of the non-idealities.
 
@abdullahkahraman Aaaahhh, but that is the distinction between talent and mere technician. That's were the interesting stuff is.
 
@rawbrawb I wish I was so smart and was a analog IC designer..
 
@abdullahkahraman well you're on the road to making it happen, I wish for the same for me ... I'm not sure when I'll get there, maybe I won't ever.
 
3:56 PM
@rawbrawb lol
 
user61389
4:49 PM
That TCP is driving me crazy!! Hey thanks, @abdullahkahraman :P
 
5:43 PM
good morning
 
user61389
@jippie hi :)
 
@CamilStaps did you upvote me minimum 3 times and maximum 4 times today?
 
user61389
@jippie uhh, let me check, why?
 
@jippie What is this? Performance review time?
 
@ThePhoton +1
 
user61389
5:45 PM
@jippie okay, I got an answer, first tell me why :P
 
@CamilStaps What are you guys talking about?
Oh, and HELLO EVERYBODY!
 
user61389
Hey @angelatlarge, you're here. You missed the free beer this afternoon! (meaning: UPVOTE ME)
 
user61389
7
A: Creating a lookup table in a microcontroller using in C

Camil StapsI'll give a general answer since the question lacks information. Suppose you have an char as input and a char as output and you want to create a full lookup table (i.e. every input has an output). You'd need 256 values, as the input can have 256 different values. You can now create a table wit...

 
@CamilStaps You think that answer deserves more than +7?
 
user61389
@angelatlarge doesn't matter, you think it isn't useful?
 
5:49 PM
@CamilStaps No it's good. Needs some editing :)
 
user61389
@angelatlarge what for?
 
@angelatlarge It needs "I hope this helps." added at the end.
And a signature line
 
@CamilStaps In section 2 you are "missing" a close angle brace
 
Or "thanks for asking"
 
user61389
Blog link, e-mail, telephone number
 
user61389
5:51 PM
@angelatlarge you're right, do you want to edit it? For your badge ;)
 
@CamilStaps I say "missing" in quotes because angle braces are not ideal for setting off metavariables in C/C++ because [@ThePhoton: Ignore the rest of this line please] angle braces have special meaning in C++
 
user61389
Oh I can't use anything anymore since C++ :(
 
@CamilStaps Also "amount of possible input values" should be "number of possible input values". Usually in (American) english, amount is used for mass nouns (water, sand) and not countables, i.e. things that have a plural form outside of special contexts.
@CamilStaps Shall I go on?
 
user61389
@angelatlarge yes please
 
@CamilStaps just checking if I should answer any @CamilStaps questions today
 
5:53 PM
@CamilStaps Too many paragraph breaks: the answer could be much more compact, I don't think you need them all.
 
user61389
@jippie well if you ask :) Anindo told me to ask you about TCP, the handshaking between client (PC) and server (embedded board I'm developing) fails
 
You probably should be using uint8_t for your greycode lookup, and not a char, since char is supposed to represent... well... character types.
 
user61389
3
Q: TCP handshaking fails - what's wrong with the server's reply?

Camil StapsI'm building a server with the ENC28J60 chip and a PIC18F4620. The chip is connected to my PC via ethernet. Currently, I'm trying to set up the TCP connection over which I'll build an HTTP connection later on. I have never worked with TCP before. I'm implementing TCP on the embedded device only,...

 
@CamilStaps Should I still keep going?
 
user61389
@angelatlarge just edit it all please :P
 
5:54 PM
@CamilStaps the coincidence!
 
@CamilStaps Ok, will do. Roll back if you don't like.
 
I have some thoughts on that, but I have to eat something first
 
@CamilStaps And @jippie has an incisive criticism of your greycode example
 
user61389
@jippie take your time! :)
 
user61389
@angelatlarge yes please :) well it was @AnindoGhosh's example anyway ;) I wonder what would be faster though. However, @jippie only used simple instructions, so it's probably his code which is faster
 
5:58 PM
@CamilStaps And takes up no data space!
 
user61389
@angelatlarge good point
 
@CamilStaps Speedwise it depends actually
 
user61389
Ah it's just an example. I could've used AES's S-byte, but that would be a huge array :)
 
@CamilStaps didn't see that, but I answered that in a comment too. It takes a single clock cycle.
thanks to ARM's barrel shifter.
out for dinner and shopping
 
user61389
@jippie see you!
 
user61389
6:02 PM
@angelatlarge good idea to use the italic font
 
@CamilStaps I don't know if I made it better. But I am done :)
@CamilStaps It was a hack :)
 
@CamilStaps now I made you doubt between PIC, AVR and ARM :-p
 
user61389
@jippie as long as it isn't Arduino :)
 
user61389
@angelatlarge I see, I'll edit it a bit to make the italic monospaced as well ;)
 
user61389
It looks better indeed. Thanks (also for the upvote :))
 
6:36 PM
0
Q: Arduino DHCP error

andrepcgI'm testing the Ethernet Shield with and Arduino Uno and I'm getting a DHCP error just using the example sketch. #include <SPI.h> #include <Ethernet.h> byte mac[] = { 0x90, 0xAD, 0xDA, 0x0D, 0x96, 0xFE }; EthernetClient client; void setup() { Serial.begin(9600); while (!Serial) { ; ...

 
user61389
@jippie no thanks :)
 
@CamilStaps there have been couple questions about enc-something ethernet shields during the past year, where apparently the shield was only able to send data and not recieve it. In my memory, you use the same chip. So you can say no thanks, but I do think you should try find these questions and see how they were solved.
 
user61389
@jippie I thought it was just some arduino question, sorry. Let's have a look
 
@CamilStaps you should react so panicy to things that go a little outside your comfort zone
@CamilStaps I've seem at least three questions on that exact topic. Not saying it is the same issue, but it may be similar.
 
user61389
@jippie only because we talked about arduino before - but the Arduino's ethernet shield has a different chip, the W5100 (I'm using the ENC28J60) - would it still be useful? Probably it would, doesn't seem like a chip issue to me, what do you think?
 
6:41 PM
Advantage for you is that I've only been on this site for about a year, so that would limit the questions.
@CamilStaps Did I copy the wrong question?
@CamilStaps I'm sure the question I remember used ENCsomething.
Other chips have more IP offloading stuff, therefore easier to program, but more expensive
 
user61389
@jippie we have a tag for that chip, let's hope the question you're looking for is well-tagged
 
user61389
Can't find it.. but could this be a chip issue? I mean, I see data coming in in wireshark, it's only not the correct data. Then there must be something wrong with my code, not with the chip. Or am I missing something here?
 
Does any one know of a method to determine the largest fundamental frequency in a periodic function's amplitude vs frequency spectrum?
 
6:57 PM
@CamilStaps If you have well optimized code, you can fit a TCP stack in about 2kB RAM. Make sure you don't have a memory overflow.
 
user61389
@jippie according to MPLAB I'm using 0x774 / 0xF80 bytes in RAM, 48% - that can't really get more on-the-fly, right?
 
@CamilStaps Are you writing your own TCP/IP stack or are you using an existing library?
 
user61389
@jippie I'm porting the Jalv2 libraries
 
@CamilStaps Did you try to analyze a simple / short http request to/from a real webserver?
 
user61389
@jippie yes, it's on the bottom of the SO question - I did link to that one, didn't I?
 
7:03 PM
@jippie There's more than one possible Gray Code for any given number of bits greater than 2, I believe... or greater than 3. Not sure.
 
user61389
Yes I did. You'd have missed important information without that question.
 
@jippie Therefore, while the ^= generates one such sequence, that's not the only possible one.
 
@CamilStaps oh I missed the google sentence, sorry
@AnindoGhosh I think it is time for bed. You are talking nonsense :-p
 
@ThePhoton You left a dangling sentence in that answer: "bandwidth of the amplifier circuit depends on the"
2
A: what is meaning of infinite bandwidth of an amplifier

The PhotonAn amplifier with infinite bandwidth would be able to reproduce any input, no matter how fast it changes. Even if the input were a 100 terahertz sine wave, or had steps from 1 V to 10 V in a fraction of a femtosecond, the amplifier would be able to reproduce that signal (scaled) at the output. B...

 
user61389
@jippie no problem - I checked more options in wireshark and at least found the problem! The TCP checksum is incorrect. Now only checking the code where the problem is... thanks a lot!
 
7:09 PM
@CamilStaps that would cause a retransmit, yes
 
user61389
Ha, funny, there's an answer that says the same now :)
 
@AnindoGhosh Good catch on the double negative. Aren't you worried that the question will become CW that much sooner though? :)
 
@angelatlarge 10 edits to CW, yes?
@angelatlarge Also, that question just got closed, I struck the last nail. So yeah, CW isn't going to happen.
@jippie BRGC is just one of the possibilities.
 
7:24 PM
@AnindoGhosh Hence the smiley face. It was a joke. Ha-ha
 
@AnindoGhosh Thanks, I was not writing that answer in linear order.
 
@angelatlarge Hmm, he missed the <joke>...</joke> tags again.
 
@AnindoGhosh I'll try to remember to use bigger font for that next time. Cymbal crash does diminish the comedic effect though.
 
@ThePhoton Heh, I have just been OCDing on spellings, grammar, double negatives etc today - and then that floating <s>gate</s> sentence comes up :-)
 
8:05 PM
Yo yo yo!
@AnindoGhosh OCD is part of my life too... :)
 
@coding_corgi No!!! Really?
 
@AnindoGhosh All my jumper wires must in perfect placement!
@AnindoGhosh Yes, it is...
A VERY big part... sadly...
 
@coding_corgi :-D
 
@AnindoGhosh Where are the smileys for chat?!
 
@coding_corgi That's why I prefer ribbon cable jumpers, with crimped end-pins.
 
8:07 PM
I mean really!
What kind of chat service doesn't have smileys?!
 
@coding_corgi On your keyboard. :-) :-( :-/
 
@AnindoGhosh Yeah, I have those too
 
@coding_corgi This isn't a chat service, it's merely a support chat for the parent SE site.
 
@coding_corgi Why do you need to smile? This is a professional site.
 
@AnindoGhosh You know what I mean! A curved black line in a yellow circle and two dots for eyes...
 
8:09 PM
@W5VO My dentist is a professional, and she smiles a lot. More so when the upcoming procedure is going to be agonizing.
2
 
@W5VO Ok, let's start talking about: "vacuum nanotubes ... and beer.."
 
@coding_corgi These are special silent type nanotubes.
Later all.
 
@AnindoGhosh Oh, okay... SHHHH!!! Were going by the special silent type nanotube room...
 
9:00 PM
@ThePhoton excellent Princess bride reference "so I'm not sure you are seeing the type of connector you think you are seeing"
 
9:14 PM
you know what is the worst thing for a rep whore that can happen?
rep cap
only 20 to go for today, any more and I will be depressed all weekend ...
time for bed
/me is out
 
9:37 PM
Yo yo yo!
@jippie Can you help me (AGAIN), I am seeing different results now with my ArduinoISP programmer
 
9:52 PM
What do all those results mean? Thanks in advance...
 
 
2 hours later…
11:53 PM
@PeterJ Badge hunting?
 
00:00 - 15:0015:00 - 00:00

« first day (918 days earlier)      last day (4021 days later) »