[Catalog] [Manage]

[Return]
Posting mode: Reply
Name
E-mail
Subject
Message
File
Embed   (paste a YouTube URL)
Password   (for post and file deletion)
  • Supported file types are JPG, PNG, GIF, SWF, AAC, FLAC, OGG, OPUS, MP3, MP4, WAV and WEBM.
  • Images greater than 250x250 will be thumbnailed.

File: 1698920765685.jpg–(72.50KB, 625x751, cat conduit.jpg)
No.169
Great minds think alike !
I have been using gpt 3.5 for coding, powershell utilities, webpages, python scripts. it's quite literal, and dumb, you have to tell it from the start what rev of the language you want code for. I went with trying it in real time in parallel, when it errors, say back to it: "I received the error: xxx" and it will try to regenerate, as the session gets long it will give the code in pluggable subroutines unless you tell it to regen the whole script/code.
Still, it's faster than you typing -out of your head. several all day sessions, I found it better to start a new chat than switching topics mid-thread, it gets a little confused otherwise.

Wow, I like the idea of balloons etc and creating mesh networks on the fly, that's a Great idea ! flesh out a submenu here on the site with schematics of the throwies would be useful for working stuff, you could also do pringle can focused wifi point to point to span distances and terrain. just be careful you can cook yer brain.
I need to get some gear, I am sure I could reach that NY repeater.

as far as my downloads, I usually grab the stuff as soon as the torrent finishes, so its all good. I have bobs b 1-4 now 8-9 thank you, and 14 !!!

I will rig up some code for a gallery that's plug & play, we can tweak it from there. gimmie a bit I have fifty code projects in the pipeline. Youse guys are GREAT !
¨ No.170
int radioPin = 1 ;

typedef struct glyph {
char ch ;
word col[7] ;
} Glyph ;

const Glyph glyphtab[] PROGMEM = {
{' ', {0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}},
{'A', {0x07fc, 0x0e60, 0x0c60, 0x0e60, 0x07fc, 0x0000, 0x0000}},
{'B', {0x0c0c, 0x0ffc, 0x0ccc, 0x0ccc, 0x0738, 0x0000, 0x0000}},
{'C', {0x0ffc, 0x0c0c, 0x0c0c, 0x0c0c, 0x0c0c, 0x0000, 0x0000}},
{'D', {0x0c0c, 0x0ffc, 0x0c0c, 0x0c0c, 0x07f8, 0x0000, 0x0000}},
{'E', {0x0ffc, 0x0ccc, 0x0ccc, 0x0c0c, 0x0c0c, 0x0000, 0x0000}},
{'F', {0x0ffc, 0x0cc0, 0x0cc0, 0x0c00, 0x0c00, 0x0000, 0x0000}},
{'G', {0x0ffc, 0x0c0c, 0x0c0c, 0x0ccc, 0x0cfc, 0x0000, 0x0000}},
{'H', {0x0ffc, 0x00c0, 0x00c0, 0x00c0, 0x0ffc, 0x0000, 0x0000}},
{'I', {0x0ffc, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}},
{'J', {0x003c, 0x000c, 0x000c, 0x000c, 0x0ffc, 0x0000, 0x0000}},
{'K', {0x0ffc, 0x00c0, 0x00e0, 0x0330, 0x0e1c, 0x0000, 0x0000}},
{'L', {0x0ffc, 0x000c, 0x000c, 0x000c, 0x000c, 0x0000, 0x0000}},
{'M', {0x0ffc, 0x0600, 0x0300, 0x0600, 0x0ffc, 0x0000, 0x0000}},
{'N', {0x0ffc, 0x0700, 0x01c0, 0x0070, 0x0ffc, 0x0000, 0x0000}},
{'O', {0x0ffc, 0x0c0c, 0x0c0c, 0x0c0c, 0x0ffc, 0x0000, 0x0000}},
{'P', {0x0c0c, 0x0ffc, 0x0ccc, 0x0cc0, 0x0780, 0x0000, 0x0000}},
{'Q', {0x0ffc, 0x0c0c, 0x0c3c, 0x0ffc, 0x000f, 0x0000, 0x0000}},
{'R', {0x0ffc, 0x0cc0, 0x0cc0, 0x0cf0, 0x079c, 0x0000, 0x0000}},
{'S', {0x078c, 0x0ccc, 0x0ccc, 0x0ccc, 0x0c78, 0x0000, 0x0000}},
{'T', {0x0c00, 0x0c00, 0x0ffc, 0x0c00, 0x0c00, 0x0000, 0x0000}},
{'U', {0x0ff8, 0x000c, 0x000c, 0x000c, 0x0ff8, 0x0000, 0x0000}},
{'V', {0x0ffc, 0x0038, 0x00e0, 0x0380, 0x0e00, 0x0000, 0x0000}},
{'W', {0x0ff8, 0x000c, 0x00f8, 0x000c, 0x0ff8, 0x0000, 0x0000}},
{'X', {0x0e1c, 0x0330, 0x01e0, 0x0330, 0x0e1c, 0x0000, 0x0000}},
{'Y', {0x0e00, 0x0380, 0x00fc, 0x0380, 0x0e00, 0x0000, 0x0000}},
{'Z', {0x0c1c, 0x0c7c, 0x0ccc, 0x0f8c, 0x0e0c, 0x0000, 0x0000}},
{'0', {0x07f8, 0x0c0c, 0x0c0c, 0x0c0c, 0x07f8, 0x0000, 0x0000}},
{'1', {0x0300, 0x0600, 0x0ffc, 0x0000, 0x0000, 0x0000, 0x0000}},
{'2', {0x061c, 0x0c3c, 0x0ccc, 0x078c, 0x000c, 0x0000, 0x0000}},
{'3', {0x0006, 0x1806, 0x198c, 0x1f98, 0x00f0, 0x0000, 0x0000}},
{'4', {0x1fe0, 0x0060, 0x0060, 0x0ffc, 0x0060, 0x0000, 0x0000}},
{'5', {0x000c, 0x000c, 0x1f8c, 0x1998, 0x18f0, 0x0000, 0x0000}},
{'6', {0x07fc, 0x0c66, 0x18c6, 0x00c6, 0x007c, 0x0000, 0x0000}},
{'7', {0x181c, 0x1870, 0x19c0, 0x1f00, 0x1c00, 0x0000, 0x0000}},
{'8', {0x0f3c, 0x19e6, 0x18c6, 0x19e6, 0x0f3c, 0x0000, 0x0000}},
{'9', {0x0f80, 0x18c6, 0x18cc, 0x1818, 0x0ff0, 0x0000, 0x0000}},
{'*', {0x018c, 0x0198, 0x0ff0, 0x0198, 0x018c, 0x0000, 0x0000}},
{'.', {0x001c, 0x001c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}},
{'?', {0x1800, 0x1800, 0x19ce, 0x1f00, 0x0000, 0x0000, 0x0000}},
{'!', {0x1f9c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}},
{'(', {0x01e0, 0x0738, 0x1c0e, 0x0000, 0x0000, 0x0000, 0x0000}},
{')', {0x1c0e, 0x0738, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000}},
{'#', {0x0330, 0x0ffc, 0x0330, 0x0ffc, 0x0330, 0x0000, 0x0000}},
{'$', {0x078c, 0x0ccc, 0x1ffe, 0x0ccc, 0x0c78, 0x0000, 0x0000}},
{'/', {0x001c, 0x0070, 0x01c0, 0x0700, 0x1c00, 0x0000, 0x0000}},
} ;

#define NGLYPHS (sizeof(glyphtab)/sizeof(glyphtab[0]))

void
encodechar(int ch)
{
int i, x, y, fch ;
word fbits ;

/* It looks sloppy to continue searching even after you've
* found the letter you are looking for, but it makes the
* timing more deterministic, which will make tuning the
* exact timing a bit simpler.
*/
for (i=0; i<NGLYPHS; i++) {
fch = pgm_read_byte(&glyphtab[i].ch) ;
if (fch == ch) {
for (x=0; x<7; x++) {
fbits = pgm_read_word(&(glyphtab[i].col[x])) ;
for (y=0; y<14; y++) {
if (fbits & (1<<y))
digitalWrite(radioPin, HIGH) ;
else
digitalWrite(radioPin, LOW) ;

delayMicroseconds(4045L) ;
}
}
}
}
}

void
encode(char *ch)
{
while (*ch != '\0')
encodechar(*ch++) ;
}

void
setup()
{
Serial.begin(9600) ;
pinMode(radioPin, OUTPUT) ;
}


void
loop()
{
encode("CQ TEST CQ TEST de (your callsign) PSE QSL via HTTP://BLYADCHAN.BLYAD.CLUB ") ;
}
¨ No.171
that code will load on a $1 digispark clone and you can attach a crystal oscillator to pin 1 (LED) to send a message by the ancient german (WW1) feldhell encoding. it has a tiny duty cycle so is very efficient on power. use a 433mhz oscillator for under 200km range or you can get oscillators for 27mhz cb. i am esting on 28.636mhz which could be picked up worldwide. i want to keep the payload under 5 grams if possible. thin film solar panel, supercapacitor, strip all the unused components from the digispark, or just pull the attiny85 chip out and use it dead bug style. these tiny baloons have been known to orbit the earth many times before they deflate. output power is tiny but i will test the power budget and maybe add a single mostfet amplifier stage. the transmitter dangles on a 2.5m thin wire, with another 2.5m wire dangling below to make a vertical dipole.there are plenty of apps to decode feldhell and you can even make a mechanical decoder from lego. it requires no logic because it is virtually a single line fax transmission.
i will dig out some working code i used last year for working throwies that can make a mesh network with $1 esp8266-01 boards. these are fingernail size and include wifi on board. they can run on solar or a lithium cell. there are only about 2 useable gpio for a siren or something to trigger. at very least a dozen of these scattered in roof gutters could give a short term wpa2 secure private network for a few blocks
¨ No.172
ps. as for cooking my brain, i run a 2.4ghz 400w sat uplink into a 3 metre dish. i can get moon echos with it! im suprised dead birds are not raining from he sky sometimes!

Delete Post