Recent Posts

Pages: 1 2 [3] 4 5 ... 10
Project Guidance / Re: The USB Port - Full of mag...
Last post by PieterP - Today at 07:08 pm
Am I interpreting the 200mA note correctly?  It sure seems low.
It means that the total current drawn from or sunk to the Nano's microcontroller cannot exceed 200mA, so this is only the current going through the I/O pins (and reset).
The current that can be drawn from the 5V pin is limited to 500mA by the on-board voltage regulator, or by the polyswitch (resettable fuse) when using USB power.

Keep in mind that the Arduino itself also takes power from this 5V rail (+/- 30mA), and all the power drawn from the I/O pins comes from the 5V as well.

Also, 200mA is quite a lot of current actually, @5V, that means 1W of power.
Code: [Select]
#include "dht.h"

// include the library code:
#include <LiquidCrystal.h>

// set the DHT Pin
#define DHTPIN8

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

#include <LiquidCrystal.h>
#include <dht.h>
dht DHT;

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("Temp:  Humidity:");

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // read humidity
  float h = DHT.readHumidity();
  //read temperature in Fahrenheit
  float f = DHT.readTemperature(true);

  if (isnan(h) || isnan(f)) {


Arduino: 1.6.11 (Mac OS X), Board: "Arduino/Genuino Uno"

/Users/shelbyreid/Downloads/sketch_aug26b/sketch_aug26b.ino: In function 'void setup()':
sketch_aug26b:21: error: 'class dht' has no member named 'begin'
/Users/shelbyreid/Downloads/sketch_aug26b/sketch_aug26b.ino: In function 'void loop()':
sketch_aug26b:33: error: 'class dht' has no member named 'readHumidity'
   float h = DHT.readHumidity();
sketch_aug26b:35: error: 'class dht' has no member named 'readTemperature'
   float f = DHT.readTemperature(true);
exit status 1
'class dht' has no member named 'begin'

Programming Questions / Re: Serial buffer clear
Last post by Tady - Today at 07:07 pm
I like the OR gate idea :) that is one possible hardware solution:)
I have a mega that has multiple serial ports. But the problem is baudrate... K-line uses 10400.. I was searching the web and i think hardware serial doesn't work with 10400 so i use software serial...
I can't filter out data.. As i said software serial doesn't work very well if you loopback... In my case i get some clear data end in some cases i ger garbage
This project simulates a moon moving across the sky over the course of the night using a strip of NeoPixels. The paramters (ride time, set time, colour.brighness/size) are controlled by an Android app, which talks to the Arduino via bluetooth.

Youtube Demo Here
Github project here

Hi!, I've a problem.
I want to measure the angle for a project (self balancing robot).
My problem is that all projects have an integrated accelerometer and gyroscope (MPU6050) and I have 2 separated sensors:
--> Accelerometer: GY-61
--> Gyroscope: GY-50

My question is. Can I calculate angle with complementary filter with this two? And if so, How can i do it / implement it? I'm not that good of a programmer, and I need help.
That seems to be a very complex program. You need to provide an explanation of how each of the different parts work and interact with each other.

If I were to create a .ino file with the code in your Reply #4 would it compile and work to demonstrate your problem?

How quickly does the filling sequence start after a stop command?
If you look at uno led 13, does it blink after a stop command when filling occurs? If it does it indicate your uno restart, and as you start in filling mode it will start to fill.

Also if it goes directly to filling instead of first flushing, I am pretty sure start command comes from setup() after a restart.
Hello guys i have designed 2 different PCB. And This product is gonna be a commercial product so it must be perfect. However i got some bad comments about my PCB design from 2 guys but i am not sure about trusting them. They said it will not work well and have some unstability in the future. Is there any exprienced guy who can check my EAGLE brd files and tell his comments.
Generale / Re: Il modulo NodeMCU non funz...
Last post by Dinamo2016 - Today at 07:04 pm
Premendo il pulsate "flash" durante l'inserimento del cavo la porta viene creata (COM4) ed è funzionante.

Rimane il fatto che come attivo ESP8266Flasher, la porta si sconnette e il flash non avviene, potrebbe essere il driver non perfettamente compatibile con Windows 10 ?

Ho anche altro problema legato a ON-Off Setup, lanciandolo ottengo un messaggio che dice di abilitare il servizio "UPnP" del router (D-Link DSL 2570B) anche se questo servizio è già attivato.

Ciò provoca la mancata connessione al router.

Ho interpellato il servizio tecnico D-Link, la risposta e stata che oltre a spuntare il servizio, non si può fare!


Software / Re: problema libreria tvout
Last post by ceccopesce - Today at 07:03 pm
perciò cosa dovrei fare?
Pages: 1 2 [3] 4 5 ... 10

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131