Comments for Circuit Basics http://www.circuitbasics.com Raspberry Pi, Arduino, and DIY Electronics Projects and Tutorials Tue, 23 Jan 2018 14:42:23 +0000 hourly 1 Comment on How to Design and Build an Amplifier With the TDA2050 by priya coe http://www.circuitbasics.com/tda2050-diy-amplifier-build-guide/#comment-18030 Tue, 23 Jan 2018 14:42:23 +0000 http://www.circuitbasics.com/?p=421858#comment-18030 wow DIY will help to save amplifier cost.. i tried it your guide and its working great..
thanks for this awesome guide

]]>
Comment on Turn Any Appliance into a Smart Device with an Arduino Controlled Power Outlet by Santhamoorthy http://www.circuitbasics.com/build-an-arduino-controlled-power-outlet/#comment-17870 Mon, 22 Jan 2018 02:48:22 +0000 http://www.circuitbasics.com/?p=313743#comment-17870 Nice

]]>
Comment on How to Set Up an Ultrasonic Range Finder on an Arduino by JOZSEF FORDOS http://www.circuitbasics.com/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino/#comment-17790 Sat, 20 Jan 2018 12:10:26 +0000 http://www.circuitbasics.com/?p=230959#comment-17790 Hi,in your code you forget to read from your DHT11. The Speed will always be 331.4 as you add 0 to it.
Must include :
int chk = DHT.read11(DHT11_PIN);
after float declarations
then you will have a measurement that takes in count 2 parameters, and adapt the speed of sound,

Greets from Hungary

]]>
Comment on How to Set Up an Ultrasonic Range Finder on an Arduino by David http://www.circuitbasics.com/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino/#comment-17712 Fri, 19 Jan 2018 16:30:40 +0000 http://www.circuitbasics.com/?p=230959#comment-17712 okay got the redefinition of void setup figured out. now have expected ‘ } ‘ at end of input
the program looks like the one in the example?

]]>
Comment on How to Set Up an Ultrasonic Range Finder on an Arduino by David http://www.circuitbasics.com/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino/#comment-17711 Fri, 19 Jan 2018 16:15:36 +0000 http://www.circuitbasics.com/?p=230959#comment-17711 uploaded the ultrasonic program. I am getting an error. redefinition of ‘ void setup() ‘

]]>
Comment on How to Set Up an Ultrasonic Range Finder on an Arduino by David http://www.circuitbasics.com/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino/#comment-17710 Fri, 19 Jan 2018 16:09:22 +0000 http://www.circuitbasics.com/?p=230959#comment-17710 I am a first timer at this. uploaded the program and I am getting an error.
redefinition of ‘void setup()’

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by eDWARD http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-17709 Fri, 19 Jan 2018 16:08:01 +0000 http://www.circuitbasics.com/?p=420643#comment-17709 For me, my case is where 90% are failed check-sum [Data not good, skip] and only 10% data retrieved successfully. I’ve modified the code to “100% eliminated” the [Data not good, skip] statement display during the data retrieving. The code I modified didn’t actually eliminate the fail check-sum, but to decrease the looping m/s for faster refresh rate and removed printf( “Data not good, skip\n” ); to stop displaying the [Data not good, skip]

//Modified code block

if ( (j >= 40) &&
(dht11_dat[4] == ( (dht11_dat[0] + dht11_dat[1] + dht11_dat[2] + dht11_dat[3]) & 0xFF) ) )
{
f = dht11_dat[2] * 9. / 5. + 32;
printf( “Humidity = %d.%d %% Temperature = %d.%d C (%.1f F)\n”,
dht11_dat[0], dht11_dat[1], dht11_dat[2], dht11_dat[3], f );
}else {
//printf( “Data not good, skip\n” );// //<set this line as comment//
}
}

//and//

while ( 1 )
{
read_dht11_dat();
delay( 100 );
}

Correct me if I did a stupid mistake, thank you!

]]>
Comment on 42 of the Most Useful Raspberry Pi Commands by DIPEN http://www.circuitbasics.com/useful-raspberry-pi-commands/#comment-17529 Thu, 11 Jan 2018 09:01:15 +0000 http://www.circuitbasics.com/?p=312#comment-17529 HEY I HAVE N-COPUTING WITH RASPBERRY PI OS OK

IN RASPBERRY OS USER WILL CRASH SO HOW CAN I RESET THAT OS

WHAT IS THE RESET COMMAND OF RASPBERRY OS

]]>
Comment on Getting Started with the Arduino – Controlling the LED (Part 1) by mohammed http://www.circuitbasics.com/arduino-basics-controlling-led/#comment-17470 Wed, 10 Jan 2018 09:41:36 +0000 http://www.circuitbasics.com/?p=130#comment-17470 please , how can I change the power of led ( I want to change its power highest or lowest while the led is on )
without using a manual method .
I want automatic way for this .

by programming .

]]>
Comment on How to Set Up a Static IP on the Raspberry Pi by Xiufen Zhang http://www.circuitbasics.com/how-to-set-up-a-static-ip-on-the-raspberry-pi/#comment-17435 Wed, 10 Jan 2018 01:56:55 +0000 http://www.circuitbasics.com/?p=230925#comment-17435 Hi, we have the products of raspberry pi and arduino components, and very interest in working with you.

]]>
Comment on How to Set Up a 5V Relay on the Arduino by Anika http://www.circuitbasics.com/setting-up-a-5v-relay-on-the-arduino/#comment-17350 Tue, 09 Jan 2018 05:49:42 +0000 http://www.circuitbasics.com/?p=417132#comment-17350 How did you draw the relay in Fritzing software? Please help me with this.

]]>
Comment on Raspberry Pi Zero USB/Ethernet Gadget Tutorial by stefan http://www.circuitbasics.com/raspberry-pi-zero-ethernet-gadget/#comment-17328 Mon, 08 Jan 2018 21:43:23 +0000 http://www.circuitbasics.com/?p=421535#comment-17328 I was struggling at the same point as many of you that are using Windows 10.
The main key for me was the following procedure:

1. Download and install “Bonjour Print Services for Windows” from the Apple Homepage
2. A RNDIS Driver can be downloaded here:
http://domotique.caron.ws/wp-content/uploads/telechargement/RPI%20Driver%20OTG.zip
3. Open Putty, SSH:
Host: raspberrypi.local
Port: 22
4. A window pops up an a login is required, password is “raspberry”
–> GREAT, IT WORKS!!!

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by adrew http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-17314 Mon, 08 Jan 2018 19:36:21 +0000 http://www.circuitbasics.com/?p=420643#comment-17314 Hi there,

How do I transfer this information to the mobile app? Is there a way to code this simply so it shows live on the android app?

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Bogd http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-17309 Mon, 08 Jan 2018 18:15:24 +0000 http://www.circuitbasics.com/?p=420643#comment-17309 This has been asked at least 4 times before (and answered). Please search the comments (Ctrl-F, and type “driver”, for example) – you will find possible solutions.

]]>
Comment on Getting Started with the Arduino – Controlling the LED (Part 1) by collin http://www.circuitbasics.com/arduino-basics-controlling-led/#comment-17303 Mon, 08 Jan 2018 16:03:43 +0000 http://www.circuitbasics.com/?p=130#comment-17303 curious to see if the code for this could be fed by way of an xml file or something, to control when the light is on and off.

]]>
Comment on Basics of the SPI Communication Protocol by Alin http://www.circuitbasics.com/basics-of-the-spi-communication-protocol/#comment-17287 Mon, 08 Jan 2018 12:01:45 +0000 http://www.circuitbasics.com/?p=420646#comment-17287 Hello! Nice article, but i think there is a small mistake in section “Steps of SPI Data Transmission” where step 1 should be step 2, and 2 should be 1 because the clock follows the chip select.

Have a nice day!

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by shuou http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-17260 Mon, 08 Jan 2018 08:03:46 +0000 http://www.circuitbasics.com/?p=420643#comment-17260 Hi.

I’m new at Pi3.I have a question. I see this below message. I have no idea what to do.

Traceback (most recent call last):
File “t.py”, line 7, in
humidity, temperature = Adafruit_DHT.read_retry(11, 4)
File “/home/pi/Adafruit_Python_DHT/Adafruit_DHT/common.py”, line 94, in read_retry
humidity, temperature = read(sensor, pin, platform)
File “/home/pi/Adafruit_Python_DHT/Adafruit_DHT/common.py”, line 80, in read
platform = get_platform()
File “/home/pi/Adafruit_Python_DHT/Adafruit_DHT/common.py”, line 55, in get_platform
from . import Raspberry_Pi_2
File “/home/pi/Adafruit_Python_DHT/Adafruit_DHT/Raspberry_Pi_2.py”, line 22, in
from . import Raspberry_Pi_2_Driver as driver
ImportError: cannot import name Raspberry_Pi_2_Driver

Could someone tell me what is problem?
Thank you.

]]>
Comment on 555 Timer Basics – Astable Mode by Akash srivastava http://www.circuitbasics.com/555-timer-basics-astable-mode/#comment-17231 Sun, 07 Jan 2018 14:37:00 +0000 http://www.circuitbasics.com/?p=166#comment-17231 In my circuit control volt 0- 10 v on pin no 4 (reset pin ) the output is controling. Please explain

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on an Arduino by Jeremy http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-an-arduino/#comment-17224 Sun, 07 Jan 2018 09:40:14 +0000 http://www.circuitbasics.com/?p=251022#comment-17224 Hi, is it possible to control a servo motor using the DHT11 humidity sensor?

]]>
Comment on How to Set Up an IR Remote and Receiver on an Arduino by peter obasa http://www.circuitbasics.com/arduino-ir-remote-receiver-tutorial/#comment-17148 Sat, 06 Jan 2018 13:41:50 +0000 http://www.circuitbasics.com/?p=423736#comment-17148 Hi, please i try loading the code on uno and nano board this is the error message (

Build options changed, rebuilding all
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: ‘TKD2’ was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to

^

exit status 1
Error compiling for board Arduino/Genuino Uno.
)

please what should i do , thanks in advance

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Bogd http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-17139 Sat, 06 Jan 2018 11:38:57 +0000 http://www.circuitbasics.com/?p=420643#comment-17139 Short answer: yes.

Long answer: you will need to read on how to send an email from python, and how to run a program at regular intervals.

For the first part, see here for some examples: https://docs.python.org/2/library/email-examples.html

For the second part, you can run your program at startup and keep it running continuously (a “while True:” loop that simply sends the email, then sleeps for the desired time). Or, even better, you can run your program periodically using cron.

]]>
Comment on How to Setup an LCD on the Raspberry Pi and Program It With Python by Perry http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-python/#comment-17099 Fri, 05 Jan 2018 20:14:29 +0000 http://www.circuitbasics.com/?p=839#comment-17099 Have you used lcd’s assembled with trackpads? Do you have a tutorial on how to use these types of lcds with raspberry pi?

Thank you

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by jk http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-17092 Fri, 05 Jan 2018 15:20:54 +0000 http://www.circuitbasics.com/?p=420643#comment-17092 ((((could u make it to send results in our desired regular intervals of time to our mentioned mail from this below program))))

#!/usr/bin/python
import sys
import Adafruit_DHT

while True:

humidity, temperature = Adafruit_DHT.read_retry(11, 4)

print ‘Temp: {0:0.1f} C Humidity: {1:0.1f} %’.format(temperature, humidity)

]]>
Comment on How to Make an Arduino Capacitance Meter by sai http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/#comment-17061 Fri, 05 Jan 2018 07:24:46 +0000 http://www.circuitbasics.com/?p=841#comment-17061 i am using Arduino observe capacitance of f300 capacitance level. is it possible

]]>
Comment on How to Make an Arduino Capacitance Meter by saiteja http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/#comment-17059 Fri, 05 Jan 2018 07:12:59 +0000 http://www.circuitbasics.com/?p=841#comment-17059 wt is the maximum capacitance that arduino can observe

]]>
Comment on How to Connect to a Raspberry Pi Directly with an Ethernet Cable by Roshan http://www.circuitbasics.com/how-to-connect-to-a-raspberry-pi-directly-with-an-ethernet-cable/#comment-16959 Wed, 03 Jan 2018 21:07:44 +0000 http://www.circuitbasics.com/?p=420635#comment-16959 Sir,I am using raspberry pi zero I followed your instructions but my gatway is coming as 0.0.0.0 and only one name server 192.168.137.1 which is also it’s preferred ip address.
I am having error: temporary failure in name resolution while running code ping http://www.google.com

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Bogd http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16864 Tue, 02 Jan 2018 15:05:01 +0000 http://www.circuitbasics.com/?p=420643#comment-16864 It’s a stray character from the editor you used for the code. Did you by any chance copy/paste the code (including some smart quotes)?

Double-check your quotes, and make sure the editor you use is a text-only (even better, ASCII-only) one 🙂

See here for more details:
https://stackoverflow.com/questions/21639275/python-syntaxerror-non-ascii-character-xe2-in-file

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by girish pillai http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16830 Tue, 02 Jan 2018 09:20:13 +0000 http://www.circuitbasics.com/?p=420643#comment-16830 i am getting the o/p as shown below,can someone help me whats wrong in the code?

import sys
import Adafruit_DHT
import RPi.GPIO as GPIO
from RPLCD import CharLCD
GPIO.setwarnings(False)

lcd = CharLCD(numbering_mode=GPIO.BCM,cols=16, rows=2, pin_rs=26, pin_e=19, pins_data=[13,6,5,11])

while True:
humidity , temperature = Adafruit_DHT.read_retry(11, 4)
lcd.cursor_pos = (0, 0)
lcd.write_string(“Temp: %d C” %temperature)
lcd.cursor_pos = (1, 0)
lcd.write_string(“Humidity: %d %%” %humidity)

pi@piadi:~$ python dhtlcd2.py
File “dhtlcd2.py”, line 14
SyntaxError: Non-ASCII character ‘\xe2’ in file dhtlcd2.py on line 14, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

]]>
Comment on How to Make an Arduino Ohm Meter by Panos http://www.circuitbasics.com/arduino-ohm-meter/#comment-16794 Mon, 01 Jan 2018 21:42:27 +0000 http://www.circuitbasics.com/?p=257#comment-16794 If V out / Vin = R1 / (R1 + R2) is the right form of voltage divider equation
keeping in mind that V out is the voltage drop across your unknown resistor R2
Isn’t it better to write : V out / Vin =R2/ (R1 + R2) ?
Thank you in advance

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by marius http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16773 Mon, 01 Jan 2018 12:54:14 +0000 http://www.circuitbasics.com/?p=420643#comment-16773 Well, I think there are two resistors, but on the other side of the sensor, comparing to the image.
My wiring is good, I tried to get input with the sensor disconnected… values were all 0. Right after I connected the sensor back, the values became all 1.
Thanks for trying and sorry for wasting your time! 🙂

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Bogd http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16717 Sun, 31 Dec 2017 19:50:19 +0000 http://www.circuitbasics.com/?p=420643#comment-16717 No, the page is not mine. I’m just another user trying to help people out 🙂

The pull-up resistor should be a 10K resistor connected between Vcc (+5V) and the signal pin of the DHT. The 3-pin version should already have a pull-up resistor on the board (see the first picture of the 3-pin DHT sensor in the article above) – but I did have some 3-pin DHT sensors from China that were missing that resistor.
However, if the sensor works on Arduino, this is probably NOT the issue.

Right now, the only other advice I can give you is “double- and triple-check all your wiring”. Maybe also try with another GPIO pin, to make sure that is not the issue.

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by MARIUS http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16712 Sun, 31 Dec 2017 18:29:57 +0000 http://www.circuitbasics.com/?p=420643#comment-16712 Sorry for asking… are this photos and videos made by you? The problem doesn’t seem to be only at me, I made some research and there are plenty of people complaining about exactly the same problem. It’s still doesn’t make any sense since in the datasheet it’s written that the input is digital signal…

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Marius http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16711 Sun, 31 Dec 2017 18:25:59 +0000 http://www.circuitbasics.com/?p=420643#comment-16711 Yes, exactly the code from article.
I have the 3 pin version. Sorry but I don’t know what is exactly a pullup resistor. There is only the sensor and the Raspberry.
Nope, I don’t have another DHT11, but I know 100% that it’s working because I just tested it today on Arduino. I think it’s a configuration problem… I can’t get the LCD display working, neither the gas sensor. The raspberry it’s not broken neither, I have two of them and the problem is the same… also, I can turn on and off leds, and I also can get input from a button, but not from the sensors.
Thanks for your time

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Bogd http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16706 Sun, 31 Dec 2017 17:07:36 +0000 http://www.circuitbasics.com/?p=420643#comment-16706 Many things that could go wrong here…

1) Are you using the code in the article? (exactly that code, or a modified version?)
2) What type of DHT11 do you have (3-pin, or 4-pin)? Do you have a pullup resistor in place?
3) Just in case, do you have another DHT11 you could test with?

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Marius http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16690 Sun, 31 Dec 2017 14:02:41 +0000 http://www.circuitbasics.com/?p=420643#comment-16690 Well I have the + to PIN 2, – to PIN 9 and OUT to pin 7. That’s all… The code should do the magic, but seems like it does not.
I read the datasheet and I understod that input from sensor is actually a message formed by 5 bytes and all the other details, nothing too fancy… the main problem is that every single bit from my message is equal to 1.

]]>
Comment on How to Setup an LCD on the Raspberry Pi and Program it With C by Radoslaw http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-c-with-wiringpi/#comment-16595 Sat, 30 Dec 2017 19:04:45 +0000 http://www.circuitbasics.com/?p=421141#comment-16595 I connected all cables exactly the same and it doesn’t work. LCD is bright but doesn’t show text on RPI 3B with Raspbian

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on an Arduino by Ethan http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-an-arduino/#comment-16574 Sat, 30 Dec 2017 16:19:21 +0000 http://www.circuitbasics.com/?p=251022#comment-16574 Hello,
May I ask why is there a decimal point but the numbers after it are always .00?
Also, I get that every other temp and humidity is -999 if I check at a rate of 1 sec, why is that so and how may I fix it?
Thanks in advance,
Ethan

]]>
Comment on Build a Great Sounding Audio Amplifier (with Bass Boost) from the LM386 by NOME http://www.circuitbasics.com/build-a-great-sounding-audio-amplifier-with-bass-boost-from-the-lm386/#comment-16559 Sat, 30 Dec 2017 13:43:21 +0000 http://www.circuitbasics.com/?p=843#comment-16559 Hi I was wondering about this amp are those mono amps?
and also due to you used the Lm386N-1 will this IC work with 16-32 ohm speakers?

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Bogd http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16555 Sat, 30 Dec 2017 13:04:50 +0000 http://www.circuitbasics.com/?p=420643#comment-16555 You _really_ need to provide more details… What is connected to the pin that you are reading? If it is the DHT11 sensor, you don’t simply read the pin – read the datasheet (or the code in the article above) to see what you need to send, and what the sensor sends back to you on that pin.

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Marius http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16554 Sat, 30 Dec 2017 12:56:34 +0000 http://www.circuitbasics.com/?p=420643#comment-16554 digitalRead gives me always 1 as value…

]]>
Comment on Turn Any Appliance into a Smart Device with an Arduino Controlled Power Outlet by ashburn http://www.circuitbasics.com/build-an-arduino-controlled-power-outlet/#comment-16551 Sat, 30 Dec 2017 12:43:01 +0000 http://www.circuitbasics.com/?p=313743#comment-16551 Thank you for the guide but 1 major issue above is about powering the Arduino itself. A compact solution would be to use a battery but unless u make it rechargeable, eventually u will need to change it. Another way would be to use an ac-dc adapter connected to 1 of the twin ac sockets above but that has got to be always on instead of being controlled. That can be achieved by using 2 individual sockets and daisy-chaining the Live and Neutral wires accordingly. So you will end up with twin sockets but 1 will always have power (for the Arduino) and the other can be used as a controlled socket for other appliances.

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on an Arduino by Matthew http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-an-arduino/#comment-16440 Fri, 29 Dec 2017 20:23:13 +0000 http://www.circuitbasics.com/?p=251022#comment-16440 Why does my LCD display switch back a forth between 999.000 and the correct measurement?

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Bogd http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16376 Fri, 29 Dec 2017 07:27:46 +0000 http://www.circuitbasics.com/?p=420643#comment-16376 @Marius – what are you talking about? Raspberry has TONS of digital I/O pins 🙂

Yes, it doesn’t have any analog pins (no ADC/DAC onboard), but since this is a digital sensor, you don’t need those anyway 🙂

]]>
Comment on How to Setup a Raspberry Pi Without a Monitor or Keyboard by Nicolo A Michelli Jr http://www.circuitbasics.com/raspberry-pi-basics-setup-without-monitor-keyboard-headless-mode/#comment-16352 Thu, 28 Dec 2017 22:30:09 +0000 http://www.circuitbasics.com/?p=310#comment-16352 I tried scanning my network for Pi using the recommended software but can not locate Pi. What am i doing wrong?

]]>
Comment on How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi by Marius http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comment-16344 Thu, 28 Dec 2017 21:44:54 +0000 http://www.circuitbasics.com/?p=420643#comment-16344 How the heck do you read digital input for that sensor? Raspberry doesn’t have any digital or analog output.

]]>
Comment on Build a Great Sounding Audio Amplifier (with Bass Boost) from the LM386 by Velyx http://www.circuitbasics.com/build-a-great-sounding-audio-amplifier-with-bass-boost-from-the-lm386/#comment-16320 Thu, 28 Dec 2017 15:43:07 +0000 http://www.circuitbasics.com/?p=843#comment-16320 Where is the PCB layout / PCB diagram?

]]>
Comment on Basics of the SPI Communication Protocol by Tseganeh http://www.circuitbasics.com/basics-of-the-spi-communication-protocol/#comment-16221 Wed, 27 Dec 2017 13:05:54 +0000 http://www.circuitbasics.com/?p=420646#comment-16221 how do the master know if there is data sent from slave? doesn’t there need to be clock signal sent by slave like master do to be synchronize the returning data?

]]>
Comment on How to Make an Arduino Ohm Meter by Panos http://www.circuitbasics.com/arduino-ohm-meter/#comment-16105 Tue, 26 Dec 2017 21:30:29 +0000 http://www.circuitbasics.com/?p=257#comment-16105 Hi, using a 10000 ohm as known resistor and a LED as unknown resistor
I find Rled = 4202.5 [ohm] / Vout = 3.52 [v]
aiming to verify the result I used the equation R2/R1 = (Vin/Vout) -1, and the measured resistance (Rled = 4202.5 [ohm])
I verified the measured voltage Vout = 3.52 [v].

applying voltage divider in the circuit (using an op. amplifier) gives the following equation
Vout/Vin = (R1+R2)/R1 which is different from the Vout / Vin = R1 / ( R1 + R2 ).
Where am I wrong?
P.S If the circuit is needed I can send you by email.
Thank you in advance,
PD

]]>
Comment on How to Make an Arduino Capacitance Meter by Sanhita Ray http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/#comment-16044 Tue, 26 Dec 2017 11:54:19 +0000 http://www.circuitbasics.com/?p=841#comment-16044 I need to simultaneously measure capacitance and resistance using two seperate interdigitated electrode complexes.. tutorial on this will be much appreciated!!

]]>
Comment on How to Setup a Raspberry Pi Without a Monitor or Keyboard by SUraj pawar http://www.circuitbasics.com/raspberry-pi-basics-setup-without-monitor-keyboard-headless-mode/#comment-16034 Tue, 26 Dec 2017 10:26:18 +0000 http://www.circuitbasics.com/?p=310#comment-16034 Hey sheelbrat, just make sure that you have enabled the SSH from Raspberry-pi configuration preferences or do the alternatives from this link
https://www.raspberrypi.org/documentation/remote-access/ssh/README.md

]]>