Hacking COMPLETED My dongle project, internal/external SAMD Loader with CR2032 Holder

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,288
Trophies
4
Location
Space
XP
13,846
Country
Norway
Pretty cool project, although I'm not sure why anyone would install this internally. Surely the Trinket M0 is a better fit for that since you won't be able to use the main feature of this, which is the battery.
 

WarmSmells

Member
Newcomer
Joined
Mar 8, 2016
Messages
7
Trophies
0
Age
26
XP
45
Country
United States
Awesome job, man. I'll be purchasing one from you via Tindie.

Pretty cool project, although I'm not sure why anyone would install this internally. Surely the Trinket M0 is a better fit for that since you won't be able to use the main feature of this, which is the battery.

Its built to be easy to install internally, if you want to install internal you would use the version without the battery backpack. It just boils down to using one or the other, they should perform the same, but yes m0 is more readily available and not limited quantity. It would probably be the preferred method in that case.
 

xeswitched

Active Member
Newcomer
Joined
Jun 23, 2018
Messages
31
Trophies
0
Age
41
XP
204
Country
United States
Hey, nice to see you again! I have seen your build and it looks great. Is that a reset button glued at the top there? I was trying to figure it out, that's all I could come up with.
Power button. Cuts voltage from positive Cr2032. I'm going to build another one this weekend and provide a tutorial perhaps a complete video tutorial from start to finish if I can get my wife, camera woman, to cooperate.
 

electronrancher

Well-Known Member
OP
Member
Joined
Aug 4, 2018
Messages
208
Trophies
0
XP
371
Country
United States
Power button. Cuts voltage from positive Cr2032. I'm going to build another one this weekend and provide a tutorial perhaps a complete video tutorial from start to finish if I can get my wife, camera woman, to cooperate.

Got it, thanks! I bet that video would be popular, I hope you get a chance to do it. Canna also had some pics of his project, we should make a thread for everyone's mods and DIY setups, it would be great for ppl to be able to see all the different ways that it can be set up. Even I've got a trinket soldered to a backpack that I could snap a shot of - pretty basic compared to yours, but it works!
 

Canna

Bad Ass Poisonous Mushroom
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
Got it, thanks! I bet that video would be popular, I hope you get a chance to do it. Canna also had some pics of his project, we should make a thread for everyone's mods and DIY setups, it would be great for ppl to be able to see all the different ways that it can be set up. Even I've got a trinket soldered to a backpack that I could snap a shot of - pretty basic compared to yours, but it works!

You Rangggg!!

who what were , sure let me know if you want pics and stuff
 

electronrancher

Well-Known Member
OP
Member
Joined
Aug 4, 2018
Messages
208
Trophies
0
XP
371
Country
United States
You Rangggg!!

who what were , sure let me know if you want pics and stuff


You want to start a thread to showcase everyones DIY builds? I've got a cheesy one I can post, and xeswitched has a much nicer one similar to what you did.. I would start the thread myself, but I'm busy messing with boards! :)
 

electronrancher

Well-Known Member
OP
Member
Joined
Aug 4, 2018
Messages
208
Trophies
0
XP
371
Country
United States
I just put mine up - read it and weep, buddy! I had to solder BOTH of those wires myself, and learn how to use double sided tape without injuring myself - Boom!
 

MatinatorX

Hardware Developer
Developer
Joined
Jul 17, 2018
Messages
366
Trophies
1
Website
www.dragoninjector.com
XP
2,538
Country
Canada
This one is about 8.8mA when searching, maybe 12mA for one second when sending and activating the payload, then 0.47mA after launch when just showing the power LED. I am using 10k on my LEDs to keep this current low, but I may get complaints about dim lights so I may use MOAR CURRENT someday.

If we call a CR2032 180mAh and the average current 9mA, this would be 20h of activity or 2400 launches if you only leave it on for 30 seconds at a time. I usually only use it for 10 seconds, so I'm not worried about going broke buying batteries. :)

However, I do have to say that supercaps are super rad. For me, I just wanted something simple for my own use.

And dotstar is great, but I just can't justify adding more expense as I don't think a serial RGB LED supplies much value here. Like you, I'm not buying components in 10,000 quantity so the costs add up. I'm keeping it simple to have a bare-bones widget for the indie crowd that wants something reprogrammable, without soldering, and without having to buy the whole SX license/dongle combo.

Hmm, that seems quite high. I wonder if some power could be saved by disabling some of the systems of the SAMD21 that aren't needed for this process?

For your LED, you could always just stick it on a PWM output and dim it that way so a hardware change isn't needed. Then the user could set the brightness to whatever they like when compiling the UF2 :D

Supercaps are super rad for sure, but there are a lot of "gotchas" I wasn't previously aware of and a bunch of math involved I had to learn. It's definitely not the best solution for every project. It was fun for me but I'm a huge nerd. :P

The cheapest I've found the DotStar-2020s at a legitimate dealer is $40/100 at Mouser which is quite expensive still. The APA-102 chip takes around 1-2mA at idle so I'd really like to ditch it. I found this little guy on LCSC (my new best friend) for dirt cheap:

https://lcsc.com/product-detail/Light-Emitting-Diodes-LED_FM-B1515RGBA-HG_C113717.html

It costs 3 cents in quantities of one and if you only want one color at a time, you can just put a single 660Ω resistor on the cathode and run it directly off of the output pins of the ATSAMD21. You might even be able to get away with 2 colors at a time at a slightly reduced brightness.

--------------------- MERGED ---------------------------

Pro-tip: Just don't grab the soldering iron by the shiny side, and you'll be off to a good start.
But... so shiny...


Ow.


Worth it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: That counts as a software update :tpi: