I took 1.5mg of melatonin, and went to bed at ~1:30AM; I woke up around 6:30, took a modafinil pill/200mg, and felt pretty reasonable. By noon my mind started to feel a bit fuzzy, and lunch didn’t make much of it go away. I’ve been looking at studies, and users seem to degrade after 30 hours; I started on mid-Thursday, so call that 10 hours, then 24 (Friday), 24 (Saturday), and 14 (Sunday), totaling 72hrs with <20hrs sleep; this might be equivalent to 52hrs with no sleep, and Wikipedia writes:
Smart pills have revolutionized the diagnosis of gastrointestinal disorders and could replace conventional diagnostic techniques such as endoscopy. Traditionally, an endoscopy probe is inserted into a patient’s esophagus, and subsequently the upper and lower gastrointestinal tract, for diagnostic purposes. There is a risk of perforation or tearing of the esophageal lining, and the patient faces discomfort during and after the procedure. A smart pill or wireless capsule endoscopy (WCE), however, can easily be swallowed and maneuvered to capture images, and requires minimal patient preparation, such as sedation. The built-in sensors allow the measurement of all fluids and gases in the gut, giving the physician a multidimensional picture of the human body.
Adderall increases dopamine and noradrenaline availability within the prefrontal cortex, an area in which our memory and attention are controlled. As such, this smart pill improves our mood, makes us feel more awake and attentive. It is also known for its lasting effect – depending on the dose, it can last up to 12 hours. However, note that it is crucial to get confirmation from your doctor on the exact dose you should take.
That doesn’t necessarily mean all smart drugs – now and in the future – will be harmless, however. The brain is complicated. In trying to upgrade it, you risk upsetting its intricate balance. “It’s not just about more, it’s about having to be exquisitely and exactly right. And that’s very hard to do,” says Arnstein. “What’s good for one system may be bad for another system,” adds Trevor Robbins, Professor of Cognitive Neuroscience at the University of Cambridge. “It’s clear from the experimental literature that you can affect memory with pharmacological agents, but the problem is keeping them safe.”
Like caffeine, nicotine tolerates rapidly and addiction can develop, after which the apparent performance boosts may only represent a return to baseline after withdrawal; so nicotine as a stimulant should be used judiciously, perhaps roughly as frequent as modafinil. Another problem is that nicotine has a half-life of merely 1-2 hours, making regular dosing a requirement. There is also some elevated heart-rate/blood-pressure often associated with nicotine, which may be a concern. (Possible alternatives to nicotine include cytisine, 2’-methylnicotine, GTS-21, galantamine, Varenicline, WAY-317,538, EVP-6124, and Wellbutrin, but none have emerged as clearly superior.)

Smart drugs offer significant memory enhancing benefits. Clinical studies of the best memory pills have shown gains to focus and memory. Individuals seek the best quality supplements to perform better for higher grades in college courses or become more efficient, productive, and focused at work for career advancement. It is important to choose a high quality supplement to get the results you want.
Eugeroics (armodafinil and modafinil) – are classified as "wakefulness promoting" agents; modafinil increased alertness, particularly in sleep deprived individuals, and was noted to facilitate reasoning and problem solving in non-ADHD youth.[23] In a systematic review of small, preliminary studies where the effects of modafinil were examined, when simple psychometric assessments were considered, modafinil intake appeared to enhance executive function.[27] Modafinil does not produce improvements in mood or motivation in sleep deprived or non-sleep deprived individuals.[28]