Author Topic: PID Arduino Control by Max  (Read 2859 times)

0 Members and 2 Guests are viewing this topic.

Offline ShiFu

  • eParrot.org
  • Admin
  • Posts: 1984
PID Arduino Control by Max
« on: December 14, 2018, 10:30:11 AM »
Welcome to Max

This is the hardware that was sourced through a Chinese website that you probably don't have access to so I've tried to provide links with pictures below of the hardware.

1. Arduino Uno 
no for links, commonly available

2. DS18B20 temperature sensor
no need for links, commonly available

3. Screw Shield (or order directly from Adafruit, or make your own)   

https://www.aliexpress.com/item/Proto-Screw-Shield-Assembled-prototype-terminal-expansion-board-For-Arduino-UNO-MEGA2560-One/32839587971.html?spm=2114.search0104.3.29.7e8e5193PCKBay&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10890_5730315_319_10546_317_10548_10696_453_10084_454_10083_10618_5729215_10307_538_537_536_10059_10884_10887_100031_321_322_10103-10890,searchweb201603_51,ppcSwitch_0&algo_expid=b4fa1c7b-b330-4f0c-8431-a9c16048b9e6-4&algo_pvid=b4fa1c7b-b330-4f0c-8431-a9c16048b9e6

(general)

https://www.aliexpress.com/wholesale?catId=0&initiative_id=AS_20181215043309&SearchText=arduino+screw+shield

(Adafruit)

https://www.adafruit.com/product/196

4.
servo tester 

https://www.aliexpress.com/item/Multi-Servo-Tester-3CH-ECS-Consistency-Speed-Controler-Power-Channel-CCPM-Meter-Master-Checker-RC-Dron/32915282482.html?spm=2114.search0104.3.1.542c4eb69gkt7B&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10890_5730315_319_10546_317_10548_10696_453_10084_454_10083_10618_5729215_10307_538_537_536_10059_10884_10887_100031_321_322_10103-5729215,searchweb201603_51,ppcSwitch_0&algo_expid=a07a8b2c-b56b-40af-82d0-5647a81df430-0&algo_pvid=a07a8b2c-b56b-40af-82d0-5647a81df430

(general)

https://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20181215043307&SearchText=servo+tester

5. servo reverser

https://www.aliexpress.com/item/RC-Servo-Signal-Reverser-Rotation-for-JR-Futaba-Aeroplane-V-Tail/32492084783.html?spm=2114.search0104.3.15.1c432e3byO4w8C&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10890_5730315_319_10546_317_10548_10696_453_10084_454_10083_10618_5729215_10307_538_537_536_10059_10884_10887_100031_321_322_10103,searchweb201603_51,ppcSwitch_0&algo_expid=8b223164-39cd-4144-b8d6-5cb48e4c18af-2&algo_pvid=8b223164-39cd-4144-b8d6-5cb48e4c18af

(general)

https://www.aliexpress.com/wholesale?catId=0&initiative_id=AS_20181215043146&SearchText=servo+reverser


6. display shield

https://www.aliexpress.com/item/LCD-Keypad-Shield-LCD1602-LCD-1602-Module-Display-For-Arduino-ATMEGA328-ATMEGA2560-raspberry-pi-UNO-blue/32334900048.html?spm=2114.search0104.3.1.7b40761a5N9noU&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10890_5730315_319_10546_317_10548_10696_453_10084_454_10083_10618_5729215_10307_538_537_536_10059_10884_10887_100031_321_322_10103-10890,searchweb201603_51,ppcSwitch_0&algo_expid=7e51132d-1d63-41fa-abc8-bca2c03b1ede-0&algo_pvid=7e51132d-1d63-41fa-abc8-bca2c03b1ede

(general)

https://www.aliexpress.com/wholesale?catId=0&initiative_id=AS_20181215043027&SearchText=arduino+display+shield

7. servo   20kg metal  (this is what i'm using),  180 degree

https://www.aliexpress.com/item/JX-PDI-6221MG-PDI-6221MG-20KG-Large-Torque-180-360-Degree-Digital-Servo-For-RC-Models/32902639315.html?spm=2114.search0104.3.8.63ac123aQD0JmO&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10890_5730315_319_10546_317_10548_10696_453_10084_454_10083_10618_5729215_10307_538_537_536_10059_10884_10887_100031_321_322_10103,searchweb201603_51,ppcSwitch_0&algo_expid=9b0c8efe-ec94-450f-9e85-198c98995d63-1&algo_pvid=9b0c8efe-ec94-450f-9e85-198c98995d63


(general)

https://www.aliexpress.com/wholesale?catId=0&initiative_id=AS_20181215042930&SearchText=20kg+servo

8. power supply,  6 vdc 3 amp

(I can't help here, its country specific. Very cheap for me about $2 in China but you need to source your own.)

9. metal servo plate 25T

https://www.aliexpress.com/item/JMT-1X-CNC-Aluminum-Alloy-Servo-Plate-Round-Disc-Horn-for-Futaba-TOWER-Series-25T-24T/32840021459.html?spm=2114.10010108.1000014.1.edfc33fbAU77tQ&gps-id=pcDetailBottomMoreOtherSeller&scm=1007.13338.112237.000000000000000&scm_id=1007.13338.112237.000000000000000&scm-url=1007.13338.112237.000000000000000&pvid=02a508f7-5a14-41b3-8ee0-a71af6d43c24

(general)

https://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20181215042928&SearchText=t25+metal+servo+plate

Stay calm and follow the screaming people.

Offline ShiFu

  • eParrot.org
  • Admin
  • Posts: 1984
Re: PID Arduino Control by Max
« Reply #1 on: December 14, 2018, 11:12:02 AM »
Attached is some code that does not quite work well enough but probably because it was using a stepper motor instead of a servo.
We had a lot of problems with the limit switches and mostly could not accept the temperature overshoot. 

You may find something useful in the menu section. 


Stay calm and follow the screaming people.

Offline ketel3

  • Admin
  • Posts: 1377
  • Eparrot.org
Re: PID Arduino Control by Max
« Reply #2 on: December 14, 2018, 01:09:04 PM »
Welcome Max ,hope you can help us with a fresh vieuw on the problem,and some nice coding.
Cheers K3
Better bad weather than no weather