- Видео 4
- Просмотров 196 868
Aidan
Австралия
Добавлен 4 янв 2013
Raindrop Detection Sensor - Arduino Tutorial
Raindrop Detection Sensor
Code: pastebin.com/nunLa6q0
Code: pastebin.com/nunLa6q0
Просмотров: 6 865
Видео
RC522 RFID Card Reader - Arduino Tutorial
Просмотров 10 тыс.7 лет назад
RC522 RFID Card Reader - Arduino Library: github.com/miguelbalboa/rfid
TTP223B Capacitive Touch Sensor - Arduino Tutorial
Просмотров 43 тыс.7 лет назад
TTP223B Capacitive Touch Sensor Code: pastebin.com/N4d6vXgU
BMP280 Pressure Sensor Module - Arduino Tutorial
Просмотров 137 тыс.7 лет назад
BMP280 Pressure Sensor Module Library: www.sparkfun.com/products/13676
Thanks man! Appreciate it!
Дай тобі Господь Бог здоров'я, добра людино.
Is there a way to integrate this with a fingerprint sensor as well ?
Do you play minecraft.
Good Tuto, thanks!!
Very crisp and clear video.
I want a blood pressur sensor module and a blood glucose sensor module PLEASE
Could you use a smaller font please? Damn !
This sensor seems pretty cool. Ill be soldering this in a bit. :P
you idiot i probably destroy my sensor cause you said 5v THANKS A LOT
lo vas a chingar wey no mames
new to arduino ....please.what is the gui used to program the nano?? perhaps a link to DL . ? thanks
Weird..... My altitude stays in the same number even thought im lifting it up and down
Its is because when you lift it, the value is slightly changing and because in the serial monitor, they round it off and show you, that's why the number remains the same. maybe if you go to the next floor or something, then you might see a change.
@@VANTABL4CK Its my sensor thats broken. It cant read the temp, humidity, pressure, and the altitude
@@DichillDichill does it say that the sensor wasn't identified pls check the wiring? I had the same problem I think i didn't solder the pin properly or maybe i burnt it
@@VANTABL4CK I didnt soldered it
@@Dichill use 3.3v for the Vcc
VERY USEFULL! THANK YOU!
outdated video. code is not similar now
3.3 VOLTS ONLY 5 VOLTS WILL DAMAGE
That is correct. Some of these BMP/BME280 breakout boards have a voltage regulator to allow higher input voltages. The board in this video is obviously NOT one of those. 3.3V for this one.
the sensor gets the 3.3V from the arduino board, but the I2C lines operates at which voltage level? Can they damage the sensor? Thanks
@@fabricio.ferrari Not knowing what board you have; I would think it would be the typical I2C 3.3V. If so; no problem.
whew that was close thanks 😳
FUCK
You idiot, your code takes 5% of the screen how are we supposed to read it ?
Can this read through material or can be attached to metal and still be able to read touches?
I'm trying to connect the RFID card reader to an Arduino Mrk1000 - can't seem to find anything online... any help would be appreciated
Great explanation, I got working with a Nano and Reader I got on Amazon, next steps to hook up solonoid and project done, thanks
Hi I have a project that I need to use this code and I have no idea about coding, is there any possibility in you helping me with it?
Please , I Have An RFID Card Could This Project unables me to read the code on it and put it on another id which come with Qunqi Kit
Hi Aidan; I need to have three sensors on the same bus... Any thoughts/suggestions? TY (to subtract differences between temps and pressures)
This sensor can also use the SPI connection, which will allow multiple sensors to share the bus. You can see tutorials on using SPI by Googling for them, and you'll need an SPI library for the Arduino. I believe that on this sensor, SCL=SCLK, SDA=MOSI, SDO=MISO, CSB=SS. You use a different Arduino pin for each sensor's SS line, but the others are common.
Very Simple and clear thank you ;)
Fantastic vid man, thanks a lot for sharing your knowledge!
What arduino progtam is this?
how to read the vacuum using pirani gauge and arduino?
how u conect it to 5v?????
there are diferrent versions of the board and some can work with 5v
@@IAmRedNez This doesn`t seem to be the 5v board. I think he is connecting 5v to the 3.3v poor board :((
@@sergiourquijo4000 maybe, good thing these boards are dirt cheap
question: Would there be any way to take the data info (the numbers) and then assign them to a name? I am a teacher looking to make an attendance system for my classroom!
ruclips.net/video/ENMul9eAB00/видео.html
Thanks for the video. I'm curious, is this sensor sensitive and fast enough to measure air speed differences when blowing on it through a small tube glued to the hole on the sensor? And also the tube itself will have a small hole to make it possible to blow through, like if when playing a flute. I'd like to use it for MIDI controller, but I'm not sure if it won't be too slow or not enough sensitive (not detecting enough levels of blowing).
Thanks m8
Can you tell me how to get the readings from 2 BMP280s using one Arduino? (I know that I would need a Multiplexer but is there any other solution?)
YES DO NOT Put 5V to these They fry
Thanks for breaking my BMP280, it simply fries if you put 5v.
There are many different versions of this sensor. If you are using the BMP280-3.3 then you cannot just connect it to the 5V - you need to use an Arduino with 3,3V
sir can we on and off the same output with that sensor? , like when we sense first light is on and when we sense again light is off?
Rahul Sharma You can write the sketch that way. Here's a way to do this: Keep counting the number of times the button has been pressed in void loop() since the beginning. Suppose that the LED is initially OFF. So if the counter is an odd number (counter%2==1), turn ON the LED. Otherwise, turn it OFF. Its just one of the many ways to do this. I hope that it helps!
Is it possible to program the button with edge-triggered interrupts? For example, when pressed once, the state stays HIGH until a second press. Basically a toggle switch
This specific button doesn't have that feature. But you can tweak your sketch to make the button work like a toggle switch.
Michael Garcia Here's a way to do this: Keep counting the number of times the button has been pressed in void loop() since the beginning. Suppose that the LED is initially OFF. So if the counter is an odd number (counter%2==1), turn ON the LED. Otherwise, turn it OFF. Its just one of the many ways to do this. I hope that it helps!
thanx for a good video. to the point and clearly understandable.
nice video bro
ruclips.net/video/TKokduTu5Tw/видео.html more info on this magic little switch.
Hi i just tried it but i am getting a negative numper of pressure and nan m for altitude can you help me;
tnx man, u really helped me
I want to use this with a small OLED display, which requires pins A4 and A5 as output pins. Is there any way to assign these pins alternately to input and output in the sketch, or can I/must I use different pins for each device?
You can plug up to 255 devices on those 2 pins. As long as they have different addresses, they will all show up. But you will have trouble plugging in 2 of the same screen for example, as they are going to have the same 'unique' address. (This can also be changed by changing a resistor on the screen / peripheral) I've personally made several devices using a screen (usually SCL SDA) and the BMP180 (the old version of this altitude chip) also SCL SDA, and it works fine. I've had 4 SCL SDA devices running at the same time on an arduino nano before, all off pins A4 and A5. The only thing i'd say is be careful how much power you are drawing from the pins overall. But definitely a display and this module will be fine.
@@nataliesilsbury1888 generally speaking you can only have 128 devices, unless you have 10 bit addresses. bit zero is used for read and write. the other 7 bits form the device address.
Much appreciated.
Hi Aidan, thanks for taking the time to post this video - very helpful. Once I had figured the baud rate issue I finally got data on the Serial Monitor but it was unchanging with a very high altitude and zero pressure/temp. Admittedly, I haven't soldered the connections yet and I am hoping that this might solve the problem (solder is in the post!). I used the Sparkfun Library as per your video but I have BMP280 sensor, the Library seems to be for the BME290 but I don' think this is an issue? Am I doing anything fundamentally wrong (I am very much a newbie). Best wishes Phil
Phil Cox I've found that these cheap eBay chips aren't all that reliable with their namings, but if you've got the same chip as the one I have in the video then the library will work. Don't forget to change the I2CAddress as per the video, and I would definitely recommend soldering the pins on, as I don't believe it will work properly until you've done that. When I buy these sorts of chips off eBay I usually buy 2-3 of them even if I only need one. That way you can test between them to see if one of them are faulty. Cheers
Thanks Aidan, I'm hoping it's the solder too. The chip should be ok as I bought it from a recommended UK firm, not ebay. Incidentally, the Sparkfun library was the only one that worked (to a degree) compared to Adafruit and a couple of others I tried.Really appreciate the reply.Best wishes,Phil
Good morning (or evening), I managed to get the sensor to work so thought I would share my experiance. I gave up trying to get the thing to work on I2C and wired the Arduino for SPI, changed the two lines of code in the sketch to switch over to SPI: //For SPI enable the following and dissable the I2C section //mySensor.settings.commInterface = SPI_MODE; //mySensor.settings.chipSelectPin = 10; And it worked a treat (not forgeting to select the Baud rate to that of the Sketch). I'm convinced this would have worked before soldering but I've soldered anyway to rule this issue out. The altitude is reading 243ft on average and I think this may have something to do with the pressure reading at my location so I will do some sums. All this can be accounted for and factored into the results as long as I know what I am dealing with. My only grumble is the % relative humidity is reading zero so ssome more research required. Next bit of the project is to add an SD card so I can record the data from the balloon flight. Thanks for your help again, much apprecited. Best wishes Phil
Where it is available please Tell me
Buy it from here more cheaper : www.electronicscomp.com/sensors-module/sensors/touch-sensor/ttp223-1-channel-capacitive-touch-sensor-module-india
www.ebay.com.au/itm/132765502035
Great vid! Would this code work with a TL-W5MC1 sensor? ( www.aliexpress.com/item/Different-Quality-30-x-18-x-10mm-1PC-TL-W5MC1-5mm-Detecting-Inductive-Proximity-Sensor-Detection/32736026084.html )
hey when I click on "ADD.zip library..."I am getting the following error: Arduino: 1.8.1 (Windows 7), Board: "Arduino/Genuino Uno" Specified folder/zip file does not contain a valid library Specified folder/zip file does not contain a valid library Specified folder/zip file does not contain a valid library please help....
Ciao, e possibile collegare più touch per eccitare diversi relè? mi piacerebbe usarli come interruttori per casa. Sarebbe molto bello. Grazie per i tuoi progetti, ciao
Really helpful videos except the code was a little hard to read because of short fonts.
Is there a way to distinguish between a really long press on the sensor and a really short touch?
2501Pearl I think you would have to do it using a counter for how long your finger was on the sensor, then once your finger leaves the sensor you have the program decide what to do based on the length of the counter
Nathan Jackson yeah, that's how I am currently doing it! It's working pretty well so far
You reckon a basic timer? Will have to try then...
You can write something like: long totalTime=0; long touchON=millis(); if(digitalRead(touchPin)==HIGH) { while((digitalRead(touchPin)==HIGH) continue; long touchOFF=millis(); totalTime= touchOFF - touchON; } So this totalTime will give you the time in milliseconds.