[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 172 KB, 696x769, platine-geroutet.png [View same] [iqdb] [saucenao] [google]
996821 No.996821 [Reply] [Original]

Hello fellow /sci/entists!

I wanted to ask you if you could be so nice and recommend me material on the following topics (books, guides, whatever)

- PCB-Design
-Microwave physics
-C Programming, especially AVR-C (8-bit)

thanks in advance!

pic related, layout of a board im currently working with

>> No.996865
File: 2.02 MB, 3072x2304, P1040792.jpg [View same] [iqdb] [saucenao] [google]
996865

bump with a little picture

>> No.996905
File: 67 KB, 1174x845, schaltplan.png [View same] [iqdb] [saucenao] [google]
996905

last bump; still hoping that someone in /sci/ actually knows something about this stuff

>> No.996921

We use ATMEGAs at work. We use the avr-gcc toolchain, which has good documentation. Also the datasheets and any other docs from Atmel. I'm not too sure about any books or tutorials other than what you'd find on Google.

>> No.996947

>>996921
thanks for the input!
i use eclipse+gcc+avrdude, which works pretty nicely, but all my programs pretty much look like hacks and i was searching for guides to improve my programming style/make my programs more efficient

>> No.996958

>>996947
to be more specific: everything i do looks like a hack and pretty ugly and although it works most of the time i want to change that fact

>> No.996959
File: 86 KB, 1074x630, layout2.png [View same] [iqdb] [saucenao] [google]
996959

I know stuff about what you are trying to do but I've never read any books on it, I just learned it all by making shit for the last 15 years. PCB design is mostly just a big logic puzzle unless you are dealing with very high frequencies, just make sure the high current traces are wide enough and as short as possible etc.

pic related, a custom arduino board I've made a couple dozen of with an onboard RTC and EEPROM that is 33% smaller than a standard duemilanove board.

>> No.996971

>>996959
cool stuff!

>> No.997001

If you're looking to get into microcontrollers check out http://arduino.cc
I'm not sure what your skill level is

>> No.997045

>>997001
well i designed the board i posted for myself, soldered it and programmed all libraries.
as i already said; the problem is not really the lack of knowelegde, but that it is mostly inefficient and ugly.
also my buddy already has an arduino mega128, pretty interesting concept to code stuff for a 8-bit controller with an objective-oriented language instead of C.

>> No.997091

>>996947
That sounds more like a general programming question. The best thing you can do is have a deep understanding of C and read a lot of code. Reading and understanding code probably did more for me improving my style than anything else. Once you get something working, presumably after banging on it with a hammer for 3 hours, figure out why it works and why it didn't work before it started working. IOW, just because something works, doesn't mean it's done.

Also, just because it isn't done doesn't mean it's not "good enough". One of our programmers recently quit, and his code was all hacks that just barely worked, and the new guy has been doing essentially nothing but rewriting old guy's code so it doesn't make our eyes bleed. We never made a huge deal about it because this code was never going to a customer and the fact that it worked was more important than the fact that it was ugly. New guy has been making a HAL layer with preprocessor macros (the code runs on several boards), and reducing unnecessary dependencies.

>> No.997120

>>997091
thanks, but what do you mean with "deep understanding of C"?

>> No.997814

I mean you know the quirks and idioms.