d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Abducts Electronics/project/development Thread
Prev167891026Next
Add Reply New Topic New Poll
Member
Posts: 33,007
Joined: Jan 6 2008
Gold: 45.00
Feb 12 2014 06:57pm
Quote (Ghot @ Feb 12 2014 06:48pm)
I'd keep an eye on that cap on the left  ^^


Put my penis in your mouth and swirls all about
Member
Posts: 104,692
Joined: Apr 25 2006
Gold: 10,485.00
Feb 12 2014 06:59pm
Quote (southpark247 @ Feb 12 2014 07:57pm)
Put my penis in your mouth and swirls all about




...and runs away screaming without one ^^
Member
Posts: 25,778
Joined: Oct 7 2005
Gold: 9,780.00
Feb 13 2014 11:03am
What antenna are you going to use with your BNC adapter?
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Feb 13 2014 01:49pm
Quote (Halfdead14 @ Feb 13 2014 01:03pm)
What antenna are you going to use with your BNC adapter?


I have a few. I have a few short handheld ones, as well as some attached to my roof for CB bands and if i recall 150mhz bands. I also have a quad band antenna that does like cb->850mhz that I am going to either install in my truck or mount outside my window.

Most of them besides the handheld antennas need a bnc->so 239 adapter which I have plenty of.

Been decoding a bunch of pagers and digital stuff like cops last couple days.

Unfortunately around here they use edacs trunking which is a bitch to setup with Unitrunker software unless you know all the voice frequencies.

This post was edited by AbDuCt on Feb 13 2014 01:52pm
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Feb 13 2014 09:01pm
Made some breakout boards for my nRF24l01+ 2.4ghz radios so I can attach them to a breadboard for prototyping. Without these I wouldn't be able to attach it to a breadboard without using some male to female wires.


http://i.imgur.com/rSUsaj1.jpg

This post was edited by AbDuCt on Feb 13 2014 09:01pm
Member
Posts: 104,692
Joined: Apr 25 2006
Gold: 10,485.00
Feb 13 2014 09:20pm

Clever ^^
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Feb 14 2014 04:22am
Developing a file name generator for imgur so I can cataloge private images not submitted to the gallery.

Code
def generateFileName(currentFileName)
currentFileName = currentFileName.to_i(36)
currentFileName = currentFileName.next
currentFileName.to_s(36)
end


At the moment it supports 0-9 a-z file names and tomorrow I will implement A-Z.

This works via changing bases of integers. Here's a basic rundown.

1) Pass "abc" to generateFileName
2) Convert currentFileName to base 10 from base 36 (currentFileName now equals 13368)
Code
-Calculation as follows
| 2 | 1 | 0 |
a b c

c in base 36 = 12
b in base 36 = 11
a in base 36 = 10

c is in slot 0 so 12*(36^0)
b is in slot 1 so 11*(36^1)
a is in slot 2 so 10*(36^2)
add them up and the answer is 13368

3) From here we call the .next() method which increments the right most place and if it overflows (IE: if it was 9 and rolls over to 0) it carries over a digit to the next left place until there is no more carries/overflows. (currentFileName now equals 13369)
4) We convert back from base 10 to base 36 (currentFileName now equals "abd")
5) Because of the way ruby works the last statement in any function is automatically its return value so when we started we inputted "abc" and the function returned "abd"

This is the simplest method you can use to sequentially generate alpha numeric strings in any language.

A final example would to start at "a9z" and call the function 4 times passing the previously returned variable. The output would be

Code
a9z
aa0
aa1
aa2


This post was edited by AbDuCt on Feb 14 2014 04:27am
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Feb 15 2014 12:53am
Ordered a few more parts. Some 8mhz and 16mhz crystals for my modchip project, a 555 timer, because they're useful as fuck for hacking electronics and some more solder. This is my first time buying something this thin and of this compound, my last spool was 0.05" 60/40 and this still is 0.031" 63/37. From what I've read people like the 63/37 because it doesn't have a plastic state and is less prone to cold joints and flows a bit nicer.

As for the reason for buying the 555 timer is because I can wire it into anything that is controlled via a switch and make the switch pulse at any frequency I want. Aka I can make rapid fire mods to controllers/mice, I can automate button presses on consumer hardware, say for example changing channels automatically on wifi gear, etc.

Member
Posts: 161,550
Joined: Oct 18 2006
Gold: 4.03
Warn: 20%
Feb 15 2014 04:05am
plug antenna into your outlets ground

whole house antenna
???

profit
Member
Posts: 104,692
Joined: Apr 25 2006
Gold: 10,485.00
Feb 15 2014 04:11am

Go Back To Computers & IT Topic List
Prev167891026Next
Add Reply New Topic New Poll