How to: multiple ds18b20 wiring?

I want to connect multiple ds18b20 temperature sensor in a single bus. My question is not about how to wire those sensors to have they working or how to write the code... is about how to physically wire and solder those sensors in a single cable. I will not use long cables, ever less than 4 or 5 meters, including about 10 sensors each line, not regularly distributed along this distance. Probably i will use normal power for them (not parasitic mode).

I readed in different places in this forum that the people connecting multiple sensor to a single bus use cat5 or cat6 cable... so, following their experience, i will do it in that way. But, how to connect the sensor? I know, i know, removing the plastic to three wires and soldering the legs of the sensor. :P

How do you wire them? Do you use a special connector to the cable to derive three of the wires to solder there the sensor? Do you solder the sensor directly to the cable?

In my project, some of the buses will be outdoor, so, i have on mind to protect inside a plastic tube (of something like this), with hole where the sensors will go outside to be exposed to the environment, but all the other connections will be inside the cable. To use somekind of tiny connector between the main cable and the sensor could be a nice idea just in case to replace a possible defective sensor in the future. The devide will be in the middle of anywhere, so to solder in the field is not an option, and to replace all the bus is a very remote option (require to have a copy of the cable and all the sensor already ready). I think that to have the sensor with an short cable, ready to connect to the main cable is the perfect solution. So, in case of fault of one of the sensor, to unplug the broked one and the connection of the new one is enough, remaining the main cable and all the other devides in place.

Now that you have the big picture of what i hace of mind, do you have ideas, proposals or comments about how could i do that? They will be wellcome. Thanks so much!

Need help how to control the stepper motor using PIC 16F84a?

Dear all
I am the new one of using PIC. Now I want to make the stepper motor control ciruict using PIC 16F84a and transistor to drive the stepper motor...
I want to control the speed and the direction of the motor...Would anyone like to show me or give me the circuit diagram? Thank a lot to all

DC Motor speed control

Hi guys!
I am creating musical fountain with arduino duemilonove. I want to drive DC motor with arduino, only thing i need to control is speed.
The motor i am using is here http://www.mabuchi-motor.co.jp/cgi-bin/catalog/e_catalog.cgi?CAT_ID=rs_360sh
To run motor i chose this scheme from youtube tutorial http://aksoapy29.comoj.com/diagram2.png
Well i have few problems, i tried this scheme without arduino, using 2 batteries that output 3V. 3V on transistors base and 3v on motor(as it is in the picture). I thought that maybe i should use higher voltage on motor, i bought 9V battery. Before i tried connecting my 3v battery directly to motor and motor worked, now i tried connecting 9V battery to the motor and it does not work.... Can u explain why it is that way? Why transistor may not work and is this scheme adequate at all? That video is here: http://www.youtube.com/watch?v=hcpqt-BREqI&feature=related
I would be really thankful for fast replys as it is my bachelors work and i am a bit low on time. Yes i know since i study in university i should know more, i forgot a lot of things that we learned since never practiced them, but well it comes back slowly:D
UPDATE: Transistor is 2n2222

help on DC motor simulation in proteus by using L293D chip

hi, i am working on a project which has the output of DC motor. This dc motor is control by L293D chip in proteus. My input is two LDR sensor which is connected to arduino uno. Arduino is used to compare the voltage differences between both of the sensor. if there is a difference of voltage between both sensor, it will send HIGH signal to L293D input to rotate the motor. but now im facing a problem where my dc motor could not rotate in either direction. i have try many ways, but nothing happen to the motor. for the coding, the simulation in proteus show it follows the coding flow. but still the dc motor could not rotate. I hope you guys can help me. thanks.... [code] int sensorPinA0 = A0; // pin that the Bottom/Left sensor is attached to int sensorPinA1 = A1; // pin that the Right sensor is attached to const int motor1Pin = 3; // H-bridge leg 1 (pin 2, 1A) const int motor2Pin = 4; // H-bridge leg 2 (pin 7, 2A) const int enablePin = 9; // H-bridge enable pin const int switchPin = 2; // variables: int sensorValueA0 = 0; // Bottom/Left photoresistor int sensorValueA1 = 0; // Right photoresistor void setup() { // Send debugging information via the Serial monitor Serial.begin(9600); analogReference(INTERNAL); //Assign and set motor driver pins to low pinMode(motor1Pin, OUTPUT); //digitalWrite(motor1Pin, LOW); pinMode(motor2Pin, OUTPUT); //digitalWrite(motor2Pin, LOW); pinMode(enablePin, OUTPUT); //digitalWrite(enablePin, HIGH); //pinMode(9, OUTPUT); pinMode(sensorValueA0, INPUT); pinMode(sensorValueA1, INPUT); pinMode(switchPin, INPUT); //digitalWrite(9, LOW); //pinMode(8, OUTPUT); //digitalWrite(8, LOW); } void loop() { // read the sensor: sensorValueA0 = analogRead(sensorPinA0); sensorValueA1 = analogRead(sensorPinA1); // if the switch is high, motor will turn on one direction: if (sensorValueA0 > sensorValueA1) { digitalWrite(switchPin, HIGH); // set the switch pin high digitalWrite(motor1Pin, LOW); // set leg 1 of the H-bridge low digitalWrite(motor2Pin, HIGH); // set leg 2 of the H-bridge high //digitalWrite(enablePin, HIGH); delay(100); } else { digitalWrite(switchPin, LOW); // set the switch pin high digitalWrite(motor1Pin, LOW); // set leg 1 of the H-bridge low digitalWrite(motor2Pin, LOW); // set leg 2 of the H-bridge high } if (sensorValueA0 < sensorValueA1) { digitalWrite(switchPin, HIGH); digitalWrite(motor1Pin, HIGH); digitalWrite(motor2Pin, LOW); //digitalWrite(enablePin, HIGH); } else { digitalWrite(switchPin, LOW); // set the switch pin high digitalWrite(motor1Pin, LOW); // set leg 1 of the H-bridge low digitalWrite(motor2Pin, LOW); // set leg 2 of the H-bridge high } //Print debugging information Serial.print("left reading = "); Serial.println(sensorValueA0); // the left/bottom sensor analog reading Serial.print("right reading = "); Serial.println(sensorValueA1); // the right sensor analog reading //Serial.print("Top reading = "); //Serial.println(sensorValueA2); // the top sensor analog reading delay(1000); } [/code]

MATLAB for imaging process

write a MATLAB code for zooming and shrinking an image by bilinear and bicubic interpolation. the input to your program is:
1)image
2)zooming/shrinking parameters along the image rows and columns
3)interpolation method

should include:
1)M-file
2)figure 1 showing the input image that is zoomed by 1.7 along rows and 2.4 along colomns using: a) bilinear interpolation, b) bicubic interpolation
3) figure2 showing the input image that is shrunk by 4.3 along rows and 3.6 along columns using a) bilinear interpolation, b) bicubic interpolation

Yun WiFi connection

Hi, I was wondering if is possible to configure the arduino yun to connect to several wifi's automatically without having to configure it for one in specific. Let's say I have WiFi A, B and C, and if I reach any of those wifi's my arduino will connect to it automatically.

Also, is there a way to prevent the yun from loosing it's connection to a wifi? I find myself sometimes working with the arduino and when I'm not using the arduino after a while it stop responding to the command I send over the internet, I hope I made myself clear enough.

Thanks in advance!

Interfacing of LM35 with PIC18F4550. Need Help.

Plz, Help me. Not able to get correct values on LCD.
I am interfacing LM35 temperature sensor with PIC18F4550 with 20Mhz frequency.
I tried a lot. But, not getting right output.

how to delay using 8051 timer 1 or 0?

how can i generate delay time such as 1 ms or 10 ms or 1 second ..any..using timer 0 or 1 of 8051??
plz give me the code..
thank you

PIR sensor in Proteus???

does any1 know where to find PIR sensor in proteus? i found ACS755XCB-100. It is available in Analog IC's >> Miscellaneous >> Allegro but i dont quite understand how to use it. what's the IP+ and IP- pin do and can i really use it to replace my pir sensor for simulation?

Look for library xbee for proteus

Anyone have library isis for xbee? Help me please I need that in the urgent to make my project worked
Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir