UPDATE v1.2: Low Cost DIY Electric Control line timer - RCCanada - Canada Radio Controlled Hobby Forum
RCCanada - Canada's Radio Control Hobby Forum
Control Line and Free Flight Discuss Control Line and Free Flight modeling here

Reply
 
Thread Tools Display Modes
Old 05-29-2021, 10:48 AM   #1
Silver Dart
RCC Apprentice
 
I am: Paul E
Join Date: Oct 2012
Location: Mississauga ON
Radio of choice:
Adjustable Hardpoint

Feedback: 0 / 0%
Posts: 78
Total Props: 0
UPDATE v1.2: Low Cost DIY Electric Control line timer


       Remove this ad - become a site supporter!
FYI - I have made some revisions and updated the code and instructions for my open source DIY low cost control line timer called the Touch_and_Go. Here is the link to the project - https://circuitflyer.com The button to download the files is at the top of the web page and the link to the instructions is at the bottom.

This update fixes a glitch I found when switching between different programming modes.

I also added a slightly higher minimum throttle setting to help some ESC's arm better. Unfortunately, if you are upgrading from a previous version this change will cause a slight increase in your saved RPM. So. before your next flight, double check your RPM setting. You may have to bump it back down a notch or two.

I also grouped some of the important variables together in the code so they are easier to find. This is only if you wanted to change the values assigned to the variables to better suit your needs.

If you have previously built some timers and want to update the program, you only have to replace your current version of main.py with the newer 1.2 version. main.py is the only file that has been updated all other files in the download are the same. Remember to touch and hold the sensor pin for about 4 seconds during boot up when you connect the USB cable. This is required to permit write access to the board memory from your computer so you can overwrite and save the new main.py file.

Paul

PS - Andrew, you have the latest.
__________________
_____________________________________________

Terrain, Terrain...Pull Up, Pull Up...Whoop, Whoop...Oh, Sh-
Silver Dart is offline   Quick reply to this message.

Sponsored Links - Subscribe to remove this ad.
Old 05-29-2021, 04:32 PM   #2
AJCoholic
Level 3 Supporter
★ Site Supporter ★
 
AJCoholic's Avatar
 
I am: Andrew Coholic
Join Date: Sep 2002
Location: Timmins, Northern Ontario
Radio of choice:
JR 12X, 28X

Feedback: 46 / 100%
Posts: 11,988
Total Props: 51
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

Quote:
Originally Posted by Silver Dart View Post
FYI - I have made some revisions and updated the code and instructions for my open source DIY low cost control line timer called the Touch_and_Go. Here is the link to the project - https://circuitflyer.com The button to download the files is at the top of the web page and the link to the instructions is at the bottom.

This update fixes a glitch I found when switching between different programming modes.

I also added a slightly higher minimum throttle setting to help some ESC's arm better. Unfortunately, if you are upgrading from a previous version this change will cause a slight increase in your saved RPM. So. before your next flight, double check your RPM setting. You may have to bump it back down a notch or two.

I also grouped some of the important variables together in the code so they are easier to find. This is only if you wanted to change the values assigned to the variables to better suit your needs.

If you have previously built some timers and want to update the program, you only have to replace your current version of main.py with the newer 1.2 version. main.py is the only file that has been updated all other files in the download are the same. Remember to touch and hold the sensor pin for about 4 seconds during boot up when you connect the USB cable. This is required to permit write access to the board memory from your computer so you can overwrite and save the new main.py file.

Paul

PS - Andrew, you have the latest.
I just sent you an email...
__________________
Andrew Coholic -MAAC #26287L

1/2A to giant scale, IMAC, SAM, R/C sport, turbine jets, Heli's...
if its got a wing or two and an engine - I like it!
AJCoholic is offline   Quick reply to this message.
Old 06-09-2021, 10:31 PM   #3
Cat 1
Level 3 Supporter
★ Site Supporter ★
 
Cat 1's Avatar
 
I am: Chris S.
Join Date: Feb 2004
Location: Prince Albert, Sask
Radio of choice:
Graupner MZ-24 PRO
# of RCs: 25

Feedback: 54 / 100%
Posts: 521
Total Props: 6
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

I have just picked up a couple M0 boards to give this a try... Any thoughts to incorporating a simple "inertia switch" to shut it off in case of impact. I think I can come up with a "switch" but might need some code guru to help implement it.
Cat 1 is offline   Quick reply to this message.
 
Old 06-10-2021, 10:14 AM   #4
Silver Dart
RCC Apprentice
 
I am: Paul E
Join Date: Oct 2012
Location: Mississauga ON
Radio of choice:
Adjustable Hardpoint

Feedback: 0 / 0%
Posts: 78
Total Props: 0
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

My latest experimental timer uses an accelerometer to incorporate an auto-shutdown when it detects an unscheduled sudden stop. It also adds the benefit of increasing the RPM whenever the nose points up. (Yes, it also decreases the RPM when the nose points down. But, thanks to Newtonian physics that won't happen in actual flight.) So far, I really like it. I think it's better than a governor/constant RPM ESC or timer. Not as good as Igor Burger's active timer but close enough for my sport flying.
__________________
_____________________________________________

Terrain, Terrain...Pull Up, Pull Up...Whoop, Whoop...Oh, Sh-
Silver Dart is offline   Quick reply to this message.
Old 06-10-2021, 11:38 AM   #5
AJCoholic
Level 3 Supporter
★ Site Supporter ★
 
AJCoholic's Avatar
 
I am: Andrew Coholic
Join Date: Sep 2002
Location: Timmins, Northern Ontario
Radio of choice:
JR 12X, 28X

Feedback: 46 / 100%
Posts: 11,988
Total Props: 51
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

Quote:
Originally Posted by Silver Dart View Post
My latest experimental timer uses an accelerometer to incorporate an auto-shutdown when it detects an unscheduled sudden stop. It also adds the benefit of increasing the RPM whenever the nose points up. (Yes, it also decreases the RPM when the nose points down. But, thanks to Newtonian physics that won't happen in actual flight.) So far, I really like it. I think it's better than a governor/constant RPM ESC or timer. Not as good as Igor Burger's active timer but close enough for my sport flying.
How would that be to add to a current timer?
__________________
Andrew Coholic -MAAC #26287L

1/2A to giant scale, IMAC, SAM, R/C sport, turbine jets, Heli's...
if its got a wing or two and an engine - I like it!
AJCoholic is offline   Quick reply to this message.
Old 06-10-2021, 02:03 PM   #6
Silver Dart
RCC Apprentice
 
I am: Paul E
Join Date: Oct 2012
Location: Mississauga ON
Radio of choice:
Adjustable Hardpoint

Feedback: 0 / 0%
Posts: 78
Total Props: 0
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

Unfortunately, I don't have a simple way of doing that just yet.

I initially did wire an analog accelerometer to the Trinket M0 and tested it last Summer. The wiring gets a very messy so I designed and ordered a custom printed circuit board to simplify things. My intention is to eventually offer a circuit board that folks can solder on the Trinket, program and go fly. I haven't been able to make any more progress on the idea due to the worldwide chip shortage. It's very real. Many of the lower cost accelerometers are sold out everywhere with long lead times, shipping dates getting pushed back and prices going up. It looks like it may be a project for next Summer.

In the meantime, I have been experimenting with a different microprocessor board and a digital accelerometer. Initial flights look good. I currently have more components on the way. It's a work in progress but, I'll keep you guys posted if I can get all of the bugs worked out.
__________________
_____________________________________________

Terrain, Terrain...Pull Up, Pull Up...Whoop, Whoop...Oh, Sh-
Silver Dart is offline   Quick reply to this message.
Old 06-13-2021, 11:05 PM   #7
Cat 1
Level 3 Supporter
★ Site Supporter ★
 
Cat 1's Avatar
 
I am: Chris S.
Join Date: Feb 2004
Location: Prince Albert, Sask
Radio of choice:
Graupner MZ-24 PRO
# of RCs: 25

Feedback: 54 / 100%
Posts: 521
Total Props: 6
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

SO... In trying to make a neat, small package for a small 1/2A size electric I came up with this.. I found a "tiny" 20A ESC but its an OPTO from a quad- After some thought, I knew it must still have MPU power on the board so I probed and traced to find it and found it did have 3.3 V control power and even a nice little "test" port where it was avalilable. Dragged that over to power the Trinket and used a little 3d printed case to tie it all together and included a "mini" fuse to help protect things if it has a dirt nap. The terminals in the fuse holder were harvested from a Princess Auto fuse tap adapter.

Hope the pictures help explain.

Kudos to Paul for the excellent program to make this all work. I love the setting interface with the touch pin.

Chris
Attached Thumbnails
Click image for larger version

Name:	IMG_7936.jpg
Views:	6
Size:	135.5 KB
ID:	1732199   Click image for larger version

Name:	IMG_7937.jpg
Views:	8
Size:	112.7 KB
ID:	1732201   Click image for larger version

Name:	IMG_7938.jpg
Views:	6
Size:	106.3 KB
ID:	1732203   Click image for larger version

Name:	IMG_7939.jpg
Views:	4
Size:	67.7 KB
ID:	1732205  

Click image for larger version

Name:	IMG_7940.jpg
Views:	6
Size:	109.3 KB
ID:	1732207  
Cat 1 is offline   Quick reply to this message.
Old 06-14-2021, 08:33 AM   #8
Silver Dart
RCC Apprentice
 
I am: Paul E
Join Date: Oct 2012
Location: Mississauga ON
Radio of choice:
Adjustable Hardpoint

Feedback: 0 / 0%
Posts: 78
Total Props: 0
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

Very cool, I like it! Hmmm, the Trinket can do Oneshot. I wonder if there is any advantage to that. More things to tinker with.

Thanks for sharing.

Paul
__________________
_____________________________________________

Terrain, Terrain...Pull Up, Pull Up...Whoop, Whoop...Oh, Sh-
Silver Dart is offline   Quick reply to this message.
Old 06-14-2021, 10:17 AM   #9
Cat 1
Level 3 Supporter
★ Site Supporter ★
 
Cat 1's Avatar
 
I am: Chris S.
Join Date: Feb 2004
Location: Prince Albert, Sask
Radio of choice:
Graupner MZ-24 PRO
# of RCs: 25

Feedback: 54 / 100%
Posts: 521
Total Props: 6
Re: UPDATE v1.2: Low Cost DIY Electric Control line timer

Paul. The opti quad Esc’s offer such a small footprint and I think this is what makes them good for this application. Didn’t trace back to see what the ratings were on the voltage regulator but all works well so far. The LED is probably the biggest load here but it seems to handle it ok.
Not sure if one shot would be an advantage here other than from a code standpoint . I’m a hardware guy and coding is “above my pay scale”

Would like to work on a simple impact switch (or accelerometer)to replace the fuse. Don’t need the full blown 3 axis for the simple 1/2 a stuff just a kill switch for when the dirt naps happen. Teaching my young daughter to fly and I can build a durable enough plane but need it to shut off to prevent magic smoke.
Cat 1 is offline   Quick reply to this message.
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the RCCanada - Canada Radio Controlled Hobby Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

Member names may only be composed of alpha-numeric characters. (A-Z and 0-9)

!!ATTENTION ADVERTISERS!! If you intend on advertising anything on this forum, whatsoever, you are required to first contact us here . Additionally, we do NOT allow BUSINESS NAMES unless you are an Authorized Vendor. If you own a business, and want to do sales on this site via posting or private message, you will need to follow the rules. Shops, Stores, Distributors, Group Buys without being authorized will see your account terminated.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:
Radio of choice?
Which radio is your current favorite to use?
Number of RC Vehicles?
How many boats, cars, planes do you own?

Log-in



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
vBulletin Message

Thread Tools
Display Modes

Forum Jump


All times are GMT -5. The time now is 12:53 PM.


vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.