Hacking Build your own dongle (Research and development thread)

Hodorian

Well-Known Member
Newcomer
Joined
May 23, 2018
Messages
59
Trophies
0
Age
31
XP
350
Country
Germany

sweetlilmre

Active Member
Newcomer
Joined
Aug 15, 2010
Messages
43
Trophies
0
XP
440
Country
The Problem is, to find a 10mA charger. Maybe i buy such a mini camera and dissasemble it. so i would have a battery and a charger.

Actually you can use any charger. As long as it is for a single cell lipo the mA capacity is irrelevant, it'll just charge quicker.

-(e)
 

Hodorian

Well-Known Member
Newcomer
Joined
May 23, 2018
Messages
59
Trophies
0
Age
31
XP
350
Country
Germany
Actually you can use any charger. As long as it is for a single cell lipo the mA capacity is irrelevant, it'll just charge quicker.

-(e)
yes it charges quicker, then it should. Until they explode.
these small batteries have charging rate of 1C. so you need for a 10mAh Battery, a charger with 10mA.
 

noX1609

B9S freak ;)
Member
Joined
Aug 30, 2016
Messages
477
Trophies
0
Age
33
XP
501
Country
Germany
That all sounds great!

So is there already a device/firmware released and work?
I ask because i go to hospital next monday and it would be nice to have something smaller than a pc/laptop to send the payload :)

If there is one which board do i need and where do i get them? I‘m from Germany so a german shop would be very helpful.
I didn‘t order one yet because i looked at many pages here but there are so many different devices i don‘t know which one i should buy.
If i have to solder some cables that‘s no problem. Installed/soldered many modchips to different Consoles and i have a solder station and many fine tips.
 

Kelly525

Member
Newcomer
Joined
May 23, 2018
Messages
23
Trophies
0
Age
49
Location
Southern California
XP
295
Country
United States
Any example of how i would go about doing the EHCI Patch In-Memory?

I have a RavPower Filehub:

https://www.ravpower.com/rp-wd03-filehub-6000mah-power-bank-portable-wireless-router.html

That i feel would be an ideal device for me to use but although i could flash LEDE/OpenWrt i would loose the ability to manage the device with its app.
With the SD Card slot for payload storage and the ability to run scripts from SD at boot, if i can figure out the EHCI Patching and build Fusee-Nano i could put a package together for others who own the device.
@
Here is a bin to flash to this device that will allow it to run the fusee-nano binaries @OllieD There is no root pw on this OpenWrt Linux instance
 

Attachments

  • RP-WD03-openwrt-ramips-mt7620-ravpower_wd03-squashfs-sysupgrade.zip
    3.8 MB · Views: 135
  • Like
Reactions: shnoz123

GizmoTheGreen

Well-Known Member
Member
Joined
Oct 8, 2009
Messages
813
Trophies
1
XP
905
Country
Yes, that works fine, or make a microusb to ucb c cable (I maked one)

This it is the structure circuit.

3f1dbec1285d18a9c790030e1aed34feo.jpg

is the battery a must or will it drive from the usb-c port on the switch?
 

Wierd_w

Well-Known Member
OP
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
is the battery a must or will it drive from the usb-c port on the switch?

The NX disables the power rail on the USB port when in RCM mode. This is why some kind of power source is required for the dongle.

The TX dongle uses some fat electrolytic capacitors and a tiny low-power microcontroller.

For us, we need something with either an internal rechargeable battery (A5-V11 router with battery variant-- Ninoh-fox's micro controller+battery setup, etc..), or we need something that can draw power elsewhere.
 
  • Like
Reactions: GizmoTheGreen

Fynnx

New Member
Newbie
Joined
Jun 17, 2018
Messages
3
Trophies
0
Age
34
XP
50
Country
United Kingdom
How would you go about soldering a USB A to USB Type C cable directly to the Trinket M0? Can't find a pinout for the USB micro connector header.
 

Hodorian

Well-Known Member
Newcomer
Joined
May 23, 2018
Messages
59
Trophies
0
Age
31
XP
350
Country
Germany
How would you go about soldering a USB A to USB Type C cable directly to the Trinket M0? Can't find a pinout for the USB micro connector header.
micro usb to usb c adapter? That's something i'm going to do, since i can't solder the micro usb pins on the trinket with my soldering skills.


Replace RPROG in the module specified above with ~100K and you should be good to go. https://amitjain1980.blogspot.com/2018/03/lir2032-charger.html?m=1
thanks a lot. i'm using the adafruit charger with a MCP73831 (source).

if i understand the datasheet correctly, (PROG Input: Charge Impedance Range min: 2 kΩ , max: 20 kΩ), then i can use a 20k resistor to get a 50mA charger. ( I_Reg = 1000V/R_Prog)

edit: found a 20mmx12xmmx3mm 100mAh battery, thats small enough (50mah are not much smaller)
 
Last edited by Hodorian,

sweetlilmre

Active Member
Newcomer
Joined
Aug 15, 2010
Messages
43
Trophies
0
XP
440
Country
thanks a lot. i'm using the adafruit charger with a MCP73831 (source).

if i understand the datasheet correctly, (PROG Input: Charge Impedance Range min: 2 kΩ , max: 20 kΩ), then i can use a 20k resistor to get a 50mA charger. ( I_Reg = 1000V/R_Prog)

edit: found a 20mmx12xmmx3mm 100mAh battery, thats small enough (50mah are not much smaller)

Sounds right. Use 10k rprog and you are good to go at 1C. Or 5k for 2C etc.

-(e)
 

Fynnx

New Member
Newbie
Joined
Jun 17, 2018
Messages
3
Trophies
0
Age
34
XP
50
Country
United Kingdom
micro usb to usb c adapter? That's something i'm going to do, since i can't solder the micro usb pins on the trinket with my soldering skills.

I've ordered some of these: amazon.co.uk/gp/product/B07C3DXJQ4. going to try crack one open and see if I can solder to a backup board - pins are pretty tiny, so will probably just end up going the micro usb to usb c adapter route; would just be nice to have a single enclosed unit, rather than having to carry the cable along with me.
 

PsychoRabbit

Well-Known Member
Newcomer
Joined
Nov 25, 2016
Messages
50
Trophies
0
Age
33
XP
390
Country
Argentina
Adafruit Feather M0 + a small LiPo battery is a sweet combination.
Now I need to make a good looking case and a Micro USB - USB Type-C OTG adapter.

t5jojNu.jpg
 

BelmontSlayer

Pokémon Master
Member
Joined
May 11, 2006
Messages
306
Trophies
1
Age
34
Location
Memememe Island
XP
1,280
Country
Thailand
Adafruit Feather M0 + a small LiPo battery is a sweet combination.
Now I need to make a good looking case and a Micro USB - USB Type-C OTG adapter.
I've got the Feather M0 on the way, did you use this guide?

https://github.com/noemu/sam-fusee-launcher

Did you have to do anything different since it's the feather and not the trinket? Also I realized I got the basic model without the MicroSD slot, hopefully the flash memory is enough. Thanks in advance!
 
Last edited by BelmontSlayer,

PsychoRabbit

Well-Known Member
Newcomer
Joined
Nov 25, 2016
Messages
50
Trophies
0
Age
33
XP
390
Country
Argentina
I've got the Feather M0 on the way, did you use this guide?

https://github.com/noemu/sam-fusee-launcher

Did you have to do anything different since it's the feather and not the trinket? Thanks in advance!
I did not used that guide but the steps is almost the same so it should work as well.
My steps:
Installed Adafruit SAMD Boards and Arduino SAMD Boards as said in the official documentation: https://learn.adafruit.com/adafruit-feather-m0-adalogger/using-with-arduino-ide
Used the repo: https://github.com/atlas44/sam-fusee-launcher
Installed Arduino USB Host library.
Changing usb.h to Usb.h in the source, like Nihon-FOX's guide.
And soldered positive from battery to BAT pin, negative to GND.

Aside for the charging component, I think there's no difference between the Trinket and the Feather.
 

BelmontSlayer

Pokémon Master
Member
Joined
May 11, 2006
Messages
306
Trophies
1
Age
34
Location
Memememe Island
XP
1,280
Country
Thailand
I did not used that guide but the steps is almost the same so it should work as well.
My steps:
Installed Adafruit SAMD Boards and Arduino SAMD Boards as said in the official documentation: https://learn.adafruit.com/adafruit-feather-m0-adalogger/using-with-arduino-ide
Used the repo: https://github.com/atlas44/sam-fusee-launcher
Installed Arduino USB Host library.
Changing usb.h to Usb.h in the source, like Nihon-FOX's guide.
And soldered positive from battery to BAT pin, negative to GND.

Aside for the charging component, I think there's no difference between the Trinket and the Feather.
Gotcha, thanks for the steps! My adafruit feather m0 should be here Wednesday, I'm looking forward to trying it out!
 

PsychoRabbit

Well-Known Member
Newcomer
Joined
Nov 25, 2016
Messages
50
Trophies
0
Age
33
XP
390
Country
Argentina
and does it support usb Host?

Is based on ESP8266EX so it doesn't support USB host.
I have the D1 mini (not pro) and it cannot be used to serve a payload. You can make a VHost implementation though but is hard to code and I don't know how it will perform.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=_NTF5_qgH0o