7 votes

How to make the motion of a servo motor smoother?

The most likely reason is be because you are using software timed servo pulses. Any variation in timing accuracy leads to jitter (servo trembling). I suggest you use hardware timed pulses to drive ...
user avatar
  • 66.5k
3 votes

How do the GPIO Pins actually work?

Study the Raspberry Pi pin-out. There are power pins, ground pins, and pins connected to General Purpose Input Output (GPIO). All the GPIO may be used to read and write digital values. Some of the ...
user avatar
  • 66.5k
2 votes

How to send sensor and analog data wirelessly to Pi without internet

You can use Ubiquiti AirMAX products to easily get a connection across 1 mile, if you have line-of-sight. Even the cheap Nanostation units would do it. I've used these on multiple setups with good ...
user avatar
2 votes

How can I control a small electro-magnet and sense when it has picked up an item?

You could put a "force sensitive resistor"(7usd on adafruit) on the face of the magnet that will make contact with the picked up object. If the magnet has successfully attached to the object the ...
user avatar
2 votes
Accepted

Misreadings from hall sensor after using a motor controller

This seems to be the wiring diagram for your motor: Your drawing doesn't show how you power the hall sensors, but just in case: you need to power them separately, with stable DC. If you power them ...
user avatar
2 votes
Accepted

what servos should I use?

Servo torque is specified in kg.cm, not kg/cm. To figure out how much torque you need to lift something, multiply the weight of the object by the distance from the pivot to the centre of mass of the ...
user avatar
1 vote

I am making a line following robot with obstacle detection

The code you provided is highly unlikely to work. The script trackok.py is going to be executed thousands of times in the loop, and each execution takes a huge time compared to how long the loop takes ...
user avatar
  • 728
1 vote

How can I control a small electro-magnet and sense when it has picked up an item?

To "control" the magnet you can either use a transistor (rated for the current you need) or any DC motor driver. They are easy to use and still relatively cheap. They also have protective free run ...
user avatar
  • 71
1 vote

How can I control a small electro-magnet and sense when it has picked up an item?

To sense when you have picked something up, my choice would be mechanical ( that is, a microswitch ), or a reflective eye; OR, use an AC electromagnet on a "U" core, might be able to tell by the ...
user avatar
1 vote

How to send sensor and analog data wirelessly to Pi without internet

If you ar trying to work within a mile then you need an NRF module. What you need is to porgram another microcontroller and then make a transmitter. It would be great if you use some sort of amplifier ...
user avatar
  • 1,650
1 vote

How to send sensor and analog data wirelessly to Pi without internet

I think the issue is that you are asking for a mile or more of range and that seriously limits the options here. You will need a radio service that has that sort of capability. Assuming you're ...
user avatar
  • 449

Only top scored, non community-wiki answers of a minimum length are eligible