you fucking idiot. it isn't even connected to anything. at least wire it up correctly
Caleb Rivera
install gentoo
Parker Cox
No shit. He's asking what to do with it, not showing what he's already done.
Charles Scott
Hahahahaha atmlel kys you fucking pleb
Jaxon Moore
Get some IR LEDs and IR photoresistors, and make an infrared communication device.
Jack Thompson
Attach a small speaker to it and make it an electronic cricket to annoy people.
Logan Johnson
>Timer make a clock
Nathaniel Smith
I have always liked the idea of counters for tracking mundane things around the house. Maybe wire it up to a 7-segment display and give it a button to increase the number in the display, and whenever you make a cup of coffee you increment the number by the estimated caffeine content. Over months, you get to see how much you drink. It's trivial, amusing.
Cameron Allen
This is a nice idea for this evening. Today I'll only do one digit, because I first need the shift register to work since the attiny13 has only 5 output pins. For full 4 digit 7-segment display we would need 11 pins. THerefore I'll use a 74HC595 shift register. Maybe two. Depends. But one for today
quick explanation: Output enable (OE) is always low, because negative logic. That way we always see the output, even while shiftig. But it's short enough that we don't care. Serial clear (SCLR) is always high, because we don't want to clear. If we want, then we just shift in 8 zeros.
I'll make it myself a little bit tricky and implement the shift register without copy paste from stackoverflow or something. Just according to the datasheet. Yes, i already did implement it a while ago, but i don't know it out of my head and i dont have the source anymore. So we'll do a little refreshing exercise
because its easy to understand, has a good community and is not clusterfucked like 32bit shit
Sebastian Rodriguez
Are you going to become the next clock boy
Easton Allen
OP this is basically just a blog post at this point but I can't complain because it at least seems like you're being constructive and trying to start a conversation, and this is inherently more interesting than 90% of the threads right now.
Henry Robinson
Jow Forums is for consumer support
Nicholas Miller
So like challenges, you say... ...Hmst... Run crysis
Julian Bailey
Smol kaypad thing for computer macros.
Because it's easy and there's plenty of support and tutorials for beginners on the internet. Also, arduino.
This makes me so sad, and yet is so true...
Noah Price
Nice clock Muhammad
Jordan Perry
Congrats OP. You've made the only real technology related thread I've seen in a long time. Legitimately you've slightly improved the board. It's to bad 98% of Jow Forums are brainlets who don't understand simple shit like clock rates or EE in general.
You're supposed to do that nigglet, unless you want different voltages on each side.
Brandon Miller
How many GPIO pins has this thing got, 1?
Connor Miller
How do you get started with learning about this stuff? Would it be a book/course on Electrical Engineering?
Nolan Fisher
make an Atari Punk Console
Samuel Hughes
build a tiny robot powered by solar cell.
Caleb Bennett
Not OP. There's a dude called Been Eater in YouTube that has a pretty in depth set if videos about making a small 8 bit computer, as well as low level assembly type stuff. Pretty interesting but a lot of the hardware stuff goes over my head.
what would you expect from a person who uploads the video of an nodemcu doing brainlet tier shit?
Jackson Rodriguez
No filter caps?
Lucas Bell
if he uses a linear power supply, usb port or even a battery filter caps are a meme for 9Mhz
Adrian Harris
Make a logo
Nathaniel Watson
Makes sense. I'm a poorfag so all of my breadboards are powered by a 5v linear regulator + 9v battery and the caps seem to help.
Xavier Martinez
whats wrong with atmel? cheap and easy, sure their 8-bit products are not as powerful as some other things out there, but it works great for small and easy projects
Aaron Gonzalez
There is nothing wrong with atmel, the only ones thats sucks are the old PIC (the memory layout its crap) and Intel shit.
Atmel is good , ST is good, Freescale is good, PIC is shit but it has good stuf like the 32bits ones and 18Fx family.
Jordan Miller
You only need 1 power rail. Change my mind.
Logan Morales
>Any ideas for a """challange"""? Do a barrel roll
Zachary Smith
redpill me on atmel vs arm
Cameron Price
Make quad-'core' computer with those attinies
Luke Kelly
clean, place some capacitators between your power supply and GND right next to the pins on your components. Remember to put them right next to the pins, you want to short the distance between the pin and your caps for them to be as good protection as possible from spikes caused by ESR/ESL
Charles Thompson
Buy a 100 in 1 electronic project kit and go through the projects. Don't wire anything up unless you know what's going on. The guide with the kit will give you a mile high overview of things, but for best results buy an intro to electrical analysis textbook and read the chapters on things when you get to them.
By the end you'll have a working familiarity with basic components. Then you can start actually learning. Read through the electrical analysis book properly and do the exercises. Knowing calculus helps a lot, but isn't required. Then get a book on digital circuits and do the exercises. Read Wikipedia articles on things you feel aren't covered well by the books.
Congrats, that's 50% of what you get in a two year EE program for like a couple hundred bucks. At this point you have a foundation to work from. Any real project you want to do is within reach since you'll know how to learn what you need when you inevitably hit walls.
Owen Davis
There is no atmel vs arm because Atmel also has ARM based µc.
Josiah Robinson
fuck that just go drop like $200 on a breadboard, some wire, a resistor pack, a capacitor pack, some transistors and some LEDs and pick up a pamphlet on how to read a schematic. Start hooking up wires semi-randomly and you'll learn quick enough.
Benjamin Robinson
Electrical engineer here. I'm surprised to find this on this Jow Forumsay board. Well done.
Jonathan Torres
Shorter power links.
Brody Bailey
if your layouts are weak
Oliver Butler
You will learn nothing but how to effectively cargo cult that way. Without a foundation you'll run into situations where you don't know that you don't know, and the things you build will be a mystery to you. Very smart people (smarter than you) have spent literally lifetimes figuring this shit out and thankfully they wrote it all down. Why would you fumble around in the dark when you have a flashlight?
Benjamin Morris
You can read books without buying project kits. I'm not saying do all the discovery yourself, I'm just very anti-project kit. Just buy real parts and start freeform making real things.
Mason Lee
>2 PWM Channels Also known as your left speaker and right speaker.
Mason Barnes
Multi project kits provides very simple lab work, spring terminals are nice for total beginners, and the diagrams laid out next to each component visually teaches the symbols and pin locations for things. I bet half the engineers out there over 25 years old got their start on a ratshack 100-1 kit and are thankful for it.
You're probably thinking from the perspective of someone who has a clue. Total beginners get lost very easily. For them, the kit guarantees they can do the exercises without being able to fuck up by not having enough things, having the wrong thing, not being able to find a thing, or not being able to tell which thing is needed.
Tyler Martinez
You know, I guess you're right. It's easy to lose track of how difficult it is to start out after you get a basic handle on things.
Gabriel Brown
5 or 6, depending if you keep the reset pin Needs 12v to reset/reprogram if you get rid of it
Jose Perez
Fucking this. Do it, OP.
Connor Harris
>nodemcu It's an ESP8266 running Arduino code. NodeMCU is a firmware for the ESP8266 that clearly isn't used here.
Lincoln Hill
Bullshit, use lasers and normal LEDs instead.
Blake Lee
Literal autism.
Logan Torres
> lasers Can be done using just leds also
specs for a smooth-ish scrolling display script on an tiny85 - with quite a bit of headroom / no shifters or other active bits, just leds and resistors full standard single-case alphanumeric all pins in partial use (1-2/3 states free) > Sketch uses 2052 bytes (25%) of program storage space. Maximum is 8192 bytes. > Global variables use 97 bytes (18%) of dynamic memory, leaving 415 bytes for local variables. Maximum is 512 bytes.
Bentley Barnes
Do your own homework
Kevin Perry
>2nd year EE >Cant do shit in ops pick Im fucked right?
Considering you can learn it in one day, not really.
Aaron Reyes
build a vibrator. bonus points if you use it to give yourself a prostate orgasm.
Blake Sanders
Make a synthetizer
Isaac Martinez
OP here. Was too tired to finish my blogpost yesterday. Today I'll have some leasure time and finish it up. Uni projects can wait for now. Shift register works. It's quite simple logic:
Maybe not Crysis, but you could make a game console out of it, there are some e.g. based on overclocked ATMega644 (28.63MHZ), VGA or RGB (as in SCART) output is easy to get, maybe something with composite video would be feasible (probably all 8pin AVRs memory is way too scarce)
On 6/8 pin MCUs you could make dumb shit game like I did(needed to replace original 'cдeлaнo в cccp" part) ,you need * light pistol (trigger, capacitor, battery and lightbulb) * and receiver (MCU+photoresistor with resistor to make voltage divider + LED, about 5 pins total). Check if ADC signal from photoresistor raised for e.g 50 units (out of 1024) and light diodes for a second or two.
Colton Turner
numbers work. next up: multiplexing. For now with only two numbers, since i only have 7 pins left. Later maybe with a second daisy chained shift register
generally they will still run at the same clock, but with more pins & extra sram, flash, and eeprom memory
Matthew Foster
delay.h requires F_CPU defined before including. You shouldn't define it in C files,but pass as compiler flag gcc -DF_CPU=1200000 main.c
Kayden Campbell
Oh thanks! Didnt know that, but it makes sense. Got it declared in the Makefile anyways. Not sure why I declare it in C file too
Grayson Howard
That's my last blog post for today, I think. I am lazy. Still a bit of place left on that chip, but no pins rn (that's why i need more shift registers). Maybe even do the segment display with discrete logic. will see. But not today.
holy shit, i just realized what a dumbfuck nigger i was. I knew that delay in the interrupt was bad. Like really bad, but i didnt know how to keep the current active pin on for some time. Now i realized that i can just turn one of one on, on every interrupt call. Like this: ISR(TIM0_COMPA_vect) { int n; switch(curr_dig) { case 0: PORTB &= ~(1
Michael Martin
Ok we are going on. I tried to do three digits. But either the t13 is too slow or my timings are odd. Not sure...
Make a pi number calculator, calculate how much it it takes to get into the 100 decimal number.
Jack Bailey
Good thread OP, I hope you could make something like this I have just posted
Lincoln Collins
thank, m9. Yeah i sometime also thought about how long it would take to calculate the sum of all primes below 2 million on something like this, but if you'd do that really with checking every number itself it would take ages.
I've now built a debounced switch. I found a beefy one in my drawer which i will attach to my drawer now, I think. Just to see how often i open it.
8bit AVRs don't have FPU or native suport for 32/64 bit arithmetic. Compiler has to generate addiotnal code for those operations and it comes with performance and size cost