Тёмный

Reading absolute pressure with Bosch MAP sensor with Arduino #1 (actual measurements) 

more molecules
Подписаться 19 тыс.
Просмотров 20 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 64   
@moremolecules
@moremolecules 4 года назад
The Code is in the description of the video. Substitute LESS_THAN with < throughout the code. RU-vid does not allow < or > in the description of the video.
@mikecrane2782
@mikecrane2782 4 месяца назад
Well done, thanks for the code, as going to try it... much appreciated. Al the best
@moremolecules
@moremolecules 4 месяца назад
No worries, just be careful with where in the code says HASH it needs to be substituted with # and MORE_THAN and LESS_THAN with >= and
@derekhall2031
@derekhall2031 2 года назад
Thanks for taking the time and effort to share this with us. I think it could really come in handy for an upcoming project of mine.
@moremolecules
@moremolecules 2 года назад
You are welcome :-)
@user-ov7gm7mz2h
@user-ov7gm7mz2h Год назад
Thanks for the video! Good job!
@nurbaini4308
@nurbaini4308 2 года назад
Amazing channel.. I wanna try for measure cfm for my cylinder head motor bike
@murisoca1982
@murisoca1982 3 года назад
Hi !! Congratulations ! Very cool !!! Can I apply to other map bosh sensors? 4-wire ?
@moremolecules
@moremolecules 3 года назад
Hi ademir, it should work with any map sensor, as long as it is 5V and you know wht the different wires output.
@nickjames6013
@nickjames6013 2 года назад
ace works amazing I am using 3 bar version of this sensor what do i change to give the correct offset?
@moremolecules
@moremolecules 2 года назад
You need to update the linear model formula. First get the pdf of the sensor and see my video 2 after that one with the maths. If you still do not understand it, let me know and I can tell you what to change in the code.
@palomban
@palomban 4 года назад
Do you need to add a resistor to ground for the measurement signal to protect the Arduino analog pin? Should you add a capacitor to stabilize the measurement signal?
@moremolecules
@moremolecules 4 года назад
Hi Nicholas, absolutely agree that these should be done for better and more accurate measurements. It was just that I wanted something quick to measure the crankcase pressure in my car. I can of achieved that with multiple measurements to smooth the signal. Thank you again for the great suggestion and comment.
@Scarlet_1971_cuda
@Scarlet_1971_cuda 8 месяцев назад
@palomban @moremolecules Can you explain where to put the resister and cap (with values)? As you can tell from my avatar I have a 1971 Plymouth 'cuda. I'm working on a data logger to help accurately tune the carburetor. One of the items I need is vacuum. I figure using this will give pressure in the intake manifold and then use either another to open air or a DPS310 to measure pressure and altitude. Then subtract the pressures and / 33.8639 to convert result to in Hg. I know this is 3 years old but hoping you will reply.
@iHelpSolveIt
@iHelpSolveIt 4 месяца назад
Very handy...
@monkeeee7945
@monkeeee7945 2 года назад
Thanks for the video! I’m currently working on a project with the same sensor, but i can’t get it to work using the official Bosch wiring pinout. Could you explain briefly what pin does what?
@moremolecules
@moremolecules 2 года назад
There is a pdf manual for that bosch map sensor (e.g. here: secu-3.org/wordpress/wp-content/uploads/pdf/bosch_map_sensor_technical_specification.pdf), but pin 1 and it should be written 1 on the sensor is the +, pin 2 is the negative and pin 3 is the voltage output. The voltage output is the one that can be read with the arduino and one can calculate the air pressure from the voltage that is coming out.
@monkeeee7945
@monkeeee7945 2 года назад
@@moremolecules Thank you so much! I looked at another bosch manual for map sensors and pins 1 and 3 were swapped, I’m afraid I have broken the sensor by following the wrong manual….
@moremolecules
@moremolecules 2 года назад
@@monkeeee7945 I might be wrong, but I do not think you can damage it with dwapping the +feed with the output voltage. Probbaly you can, but try them the other way around and see if it give any readings.
@mikecrane2782
@mikecrane2782 4 месяца назад
Thanks!
@moremolecules
@moremolecules 4 месяца назад
Many thanks indeed mike, much appreciated!
@dieseltips
@dieseltips 5 лет назад
Good job!! A little tricky to understand. Where is that sensor installed?
@moremolecules
@moremolecules 5 лет назад
I was thinking of using this sensor to measure more accurately the crankcase pressure in my engine, following the oil catch can. Unfortunately, I did not think about that it measures absolute pressure and with change in atmospheric conditions my measurements will not be entirely accurate. I have another sensor that I can use. I will post once I get some measurements, as I was thinking of second oil catch can, so I was not too sure how much more the pressure will be, hence the sensor. This one is used to measure the manifold absolute pressure in the throttle body and in conjunction with the MAF sensor send information to the ECU about how much air goes through. Basically, how much boost the turbo generates, if I am not mistaken.
@dieseltips
@dieseltips 5 лет назад
@@moremolecules so, this sensor is located between the intercooler and the intake, and meassures the boost that the turbo blows. My motor is getting worse, i had to take out the catch can to let out free the pression in the crankcase, because started to leak oil though the turbo.
@moremolecules
@moremolecules 5 лет назад
@@dieseltips Hi mate, I am really sorry to hear about the oil leak. Where does it come from? Is it increased crankcase pressure and then the turbo oil outlet cannot drain into the crankcase? The strainer could be partially blocked on the oil return from the turbo. Good luck.
@dieseltips
@dieseltips 5 лет назад
@@moremolecules the oil comes from inside of the turbo, I had arranged the outlet of the gases and without the catch can the hose blows free to the back of the car, so now I dont see more oil smoke like it was before. I think the oil retourning back from the turbo to the block now that the pressure is going out. Thanks for your videos.
@moremolecules
@moremolecules 5 лет назад
@@dieseltips Yes, as you say, most likely the return strainer is partially blocked. This is fairly serious and you may want to check the strainer on the turbo return. If the strainer is blocked, it means that the turbo does not have fresh oil coming in to cool it down and could overheat and fail. I presume that the oil is not overfilled, this may lead to the same effect.
@franksmit4914
@franksmit4914 4 года назад
Sorry, doest`work; LESS_THAN is not been declared. exit status 1 expected ')' before 'LESS_THAN' Don`t understand where it goes wrong
@moremolecules
@moremolecules 4 года назад
Hi Frank, as I said in the code below, LESS_THAN is to be substituted throughout the whole code. It is just that RU-vid does not allow the symbol > and < in the description. So substitute LESS_THAN or MORE_THAN with < and >
@franksmit4914
@franksmit4914 4 года назад
Sorry didn`t seen that part. going to try yours aswell. This is my version to read the mapsensor: /* Mapping example connectors: 1 = sensor 2 = gnd 3 = 5volt Re-map a number from one range to another. */ int Value; // store the value coming from the sensor float mapped; // store the new value void setup() { Serial.begin(9600); while(!Serial); } void loop() { Value = analogRead(A0); // map(value, Min Sensor, Max Sensor, Min range, Max range) mapped = map(Value, 672, 144, 0, -8); mapped = mapped / 10; Serial.println(mapped); // wait for 1000 milliseconds ( 1 second ) to read every second delay(1000); }
@moremolecules
@moremolecules 4 года назад
@@franksmit4914 The mapping is the important bit, but I found that depending on where you use this sensor it may need a bit of averaging/smoothing of the signal. That is why I have the averaging of multiple signal readings. Good luck
@gregorykusiak5424
@gregorykusiak5424 4 года назад
How do you access the barometer on the iPhone?
@moremolecules
@moremolecules 4 года назад
Hi Gregory, depends on the type of iphone. As far as I know only iphone6 and above have a barometer electronics inside, the previous models would not have it. Then you need any free app that access the barometer and can display the pressure. Hope this helps.
@gregorykusiak5424
@gregorykusiak5424 4 года назад
@@moremolecules it looked like it was an iOS system app...thanks, I found one on the App Store.
@alexjohnston4872
@alexjohnston4872 3 года назад
Do you have an amazon link for the plug? I can't find the part number. Ta!
@moremolecules
@moremolecules 3 года назад
Hi Alex, unfortunately no, I think I bought it second hand from ebay.
@alexjohnston4872
@alexjohnston4872 3 года назад
@@moremolecules ta anyways, the code will be very helpful to get this going!
@moremolecules
@moremolecules 3 года назад
@@alexjohnston4872 Depending on the purpose, any of these should work. IMHO Bosch produce a variety of these with different codes, although the specs might be sightly different
@alexjohnston4872
@alexjohnston4872 3 года назад
@@moremolecules Do you have a link? I have found a code I think its a Bosch 1 928 403 110 but seeing if I can find it assembled
@moremolecules
@moremolecules 3 года назад
@@alexjohnston4872 The exact one I had bought it does not exist anymore, but I dound a few that should be the same. For example this one (www.ebay.co.uk/itm/Bosch-MAP-Sensor-Manifold-Absolute-Air-Pressure-0281002593/173328596452). On another video I had with the differential pressure (2 spouts): www.ebay.co.uk/itm/Bosch-DPF-Exhaust-Pressure-Sensor-Diesel-Particulate-Filter-MAP-0281002772/173328594132. The bosch is a bit expensive, but others that are not branded are cheaper.
@ytkdmr
@ytkdmr 3 года назад
@04:41 why does the pressure jump to 1000 altough you sucked air ?
@moremolecules
@moremolecules 3 года назад
Hi Utku, it does not jump, it is the scaling of the arduino graphing software. Because it is MAP (absolute pressure) without sucking on it or pushing, it will measure the atmospheric pressure, which at my place is ~1,000mbar or 1atmosphere. It is just that when I sucked, it dropped, then it stabilises at the atmospheric pressure (1000mbar)
@ytkdmr
@ytkdmr 3 года назад
@@moremolecules I dont understand, How the pressure rises altough it is under vacuum ? Is the sensor is not airtight ? You suck air , momentarily the air pressure inside the sensor drops and shows 700. What I understand is, your hose connection from sensors port to syrine is not airtight. Is it correct ?
@moremolecules
@moremolecules 3 года назад
@@ytkdmr It was awhle ago, but I think it should have been air tight, but it might not have been. It was just simple tubing without anything holding it. There might have been an air leak and getting back to normal pressure.
@جاسمميكانيك
@جاسمميكانيك 3 года назад
Please, I need this code
@moremolecules
@moremolecules 3 года назад
It is in the description of the video! Only substitute more_than or less_than with > or
@جاسمميكانيك
@جاسمميكانيك 3 года назад
@@moremolecules Thank you
@nuovovideo
@nuovovideo 2 года назад
Misura anche il vuoto?
@moremolecules
@moremolecules Год назад
It should yes.
Далее
How-to: Accurate Voltage Measurements with Arduino
12:15
Борщ в стиле высокой кухни!
00:57
Nah, if that's me? I'm tapping. 😤 #nocommentary
00:45
How to use a multimeter like a pro, the ultimate guide
12:55
Smart Meter Disaster!!
16:33
Просмотров 523 тыс.
MAP Sensor - Manifold Absolute Pressure - Explained
4:03
This should be illegal… Battery Repair Blocking
19:21