|
dunno if I have any shift-out registers jonny. It's been a long time since I looked at the data sheet for the LCD, so I'll see what can be done re: cutting down pin count. I've got an ATmega32U4 coming in the mail along with some other misc parts. IIRC it has more I/O pins than an ATmega328. Would really like to just run this on a '328 and save the 32u4 for another project, though. Decisions decisions...
|
# ? Jan 7, 2014 01:33 |
|
|
# ? Apr 28, 2024 16:22 |
|
aag radscorpions
|
# ? Jan 7, 2014 01:57 |
|
Nice!
|
# ? Jan 7, 2014 02:46 |
|
re: my beer fermentation temp logger, I've had a much better idea. Gonna use the ATmega32U4 that's in the mail to run the whole thing, and since the 32u4 does USB I can have it act as a serial device when plugged into a computer, and accept commands over a virtual serial port. That'll let me eliminate the need for buttons to set the date & time on the device. It also means I can ditch the SD card and instead save the temperature data to a 32Kbyte I2C EEPROM that I've got, and then just barf that back out over the USB virtual serial port when commanded to. Should let me get back down to one MCU. Doc Block fucked around with this message at 03:05 on Jan 7, 2014 |
# ? Jan 7, 2014 03:01 |
|
just stick an antenna on it and set time w/ the atomic clock problem solved
|
# ? Jan 7, 2014 03:03 |
|
so now i'm making a sound-reactive thing for my bike lights. but i have to prototype it in software first never really done any sound analysis stuff before so this is interesting. i really doubt that the teensy has enough power left over to run a real-time fft as well as bang out 96 separate 24 bit leds at 30hz, so i think i'm going to add a bluetooth modem (these are like $3 from ebay china, great) and run the fft on an app on my phone. makes the most sense also since that way it's a hell of a lot easier to handle the microphone and/or mp3 reading or whatever -- no need to reinvent the wheel with the electronics. microphone is going to be kind of a pain because of the fft lag and bluetooth lag tho, so i'm going to start with just playing mp3s and having a variable delay that u can dial in to synchronize the lights with the music. then i just need to stick a motorcycle battery on the back and a couple of decent speakers and i can start a rolling rave at critical mass. i have never been to a rave before in my life.
|
# ? Jan 10, 2014 01:23 |
|
Sagebrush posted:so now i'm making a sound-reactive thing for my bike lights. but i have to prototype it in software first https://www.youtube.com/watch?v=HTRjjKfaV00 and if you have teensy 3, then thats even more powerful. sending 69kbit/s for leds is not that much
|
# ? Jan 10, 2014 01:30 |
|
yeah, i've seen a few of the arduino/avr ffts and generally they are really impressive but it really does chew up a lot of cpu time. if you have a 16mhz chip most of those demos are running it flat out. i might save some time in my code if i rewrote some of it to be smart with bitwise math but right now, to do some basic processing of colors programmatically and then drive the whole string i can only hit about 50-60hz before it noticeably doesn't get any faster. this is consistent with what other people have reported too and it's a teensy 2.0...i couldn't run the neopixels off a 3 because it's an arm core and the library requires an avr. i mean i could rewrite the whole library myself to run on an arm, i guess but that seems like a version 3 or 4 project, i'm only on about 1.1 right now
|
# ? Jan 10, 2014 01:35 |
|
possibly stupid question: could you use a circuit/FPGA to compute the fourier transform for whatever points you need?
|
# ? Jan 10, 2014 01:55 |
|
process it all in analog bandpass filters
|
# ? Jan 10, 2014 01:58 |
|
fpga, definitely. overkill though. analog circuit...maybe? i'm not super great with that kind of analog voodoo. though you could also use some kind of filter network i guess? i have it divided into 48 averaged bins though so any analog system of equivalent functionality would be pretty complex peepsalot posted:process it all in analog bandpass filters exactly, feeble minds think alike Sagebrush fucked around with this message at 02:02 on Jan 10, 2014 |
# ? Jan 10, 2014 01:59 |
|
fpgas aren't overkill just get a small one and then kill yourself because now you have to write vhdl or verilog and use some hideous development toolchain itll do ffts good though
|
# ? Jan 10, 2014 03:23 |
|
current getting a 3d printer working at the hackerspace status: the mendel belongs to someone who hasn't been around in a while so there's no loving with it until he shows up. played with the cupcake a little, it's 100% stock, i managed to get the extruder running for long enough to print the first layer of a 15x15mm raft before it jammed. i guess "upgrade extruder" is at the top of my istp list now. minor projects completed: i replaced the 3.5mm jack on my nephew's headphones and did an incredibly ugly job for which i am completely unapologetic because that kid needs to take better care of his stuff before i bother my nuts with aesthetics. i found a scrap of 1/2" pvc pipe i'd forgotten about so i'm making another flute, i fuckin' love flutes
|
# ? Jan 10, 2014 03:39 |
|
IIR bandpass filters are probably the easiest way to do frequency responsive stuff fft would be a waste unless you want like a million freqbands at once
|
# ? Jan 10, 2014 06:01 |
|
Corla Plankun posted:IIR bandpass filters are probably the easiest way to do frequency responsive stuff 48, so yeah basically a million
|
# ? Jan 10, 2014 14:04 |
|
made this for nye, it uses a kinect to get depth, opencv to find blob and is mildly audio reactive. All done in openframeworks https://vimeo.com/83001696
|
# ? Jan 11, 2014 06:48 |
|
sweet, what did you do with it? project on a wall or smth? i feel like it woudl be kind of lost on anything less than a 105 inch curved uhd tv
|
# ? Jan 11, 2014 06:52 |
|
Yeah the place where the party was at has a projector but it kinda gets in peoples eyes, so it ran on this massive tv screen.
|
# ? Jan 11, 2014 06:53 |
|
Bloody posted:fpgas aren't overkill just get a small one and then kill yourself because now you have to write vhdl or verilog and use some hideous development toolchain xilinx
|
# ? Jan 11, 2014 07:14 |
|
I'm trying to run one of these VFDs: http://noritake-vfd.com/cu20045-uw5a.aspx with my raspberry pi. I found this guy's code for a different VFD with extremely similar specs: https://github.com/thisoldgeek/RPi_SPI_VFD can anyone tell me if that should work? right now all I get is a single exclamation point when I run it. not much, but kinda exciting nonetheless! These should be the specs for the two different VFDs https://drive.google.com/file/d/0B8jaVqjrPHhjdUxlWUY0WmxEdG8/edit?usp=sharing https://drive.google.com/file/d/0B8jaVqjrPHhjN3Q2ZXUzV1hIRFE/edit?usp=sharing also, i hope I'm hooking it up correctly. i've got JP13 shorted to enable serial mode. code:
quadpus fucked around with this message at 03:37 on Jan 12, 2014 |
# ? Jan 11, 2014 08:01 |
|
Doc Block posted:Ugh. Looks like I'm gonna have to use two MCUs for my stupid beer temperature logger thing. you can read multiple digital inputs/switches with one pin if you connect the inputs through a resistor ladder to an a/d pin. you can easily get 6 inputs on one pin
|
# ? Jan 11, 2014 18:31 |
|
Actually I'm gonna try using a shift register for controlling the LCD, and use a serial EEPROM for saving the data so I don't need the 4-5 pins for writing to an SD card (the EEPROM does I2C, which I'm already using for talking to the RTC, so it doesn't cost any extra pins). The MCU is an ATmega32U4, which can do USB, so it'll just barf out the data and set the date/time on the RTC when plugged into a PC. I just need to design a circuit that will cut off external power when drawing power from USB. A plain ol' PNP transistor on the positive rail should do the trick, right?
|
# ? Jan 11, 2014 22:46 |
|
For non-computer/electronics/technology idiot spare time projects, I'm making my first batch of home brewed beer. Bottled it earlier today, and now it's carbonating. Hope it doesn't taste like poo poo.
|
# ? Jan 11, 2014 22:54 |
|
Doc Block posted:For non-computer/electronics/technology idiot spare time projects, I'm making my first batch of home brewed beer. Bottled it earlier today, and now it's carbonating. Hope it doesn't taste like poo poo. the earliest known recipe for beer had poo poo in it so whatever else you've done you can probably call it progress
|
# ? Jan 11, 2014 23:03 |
|
Well I got this thing working! I guess the main problem was that the code I found writes the text all as a constant stream of bytes, but my VFD doesn't seem to support that. I gotta send them one at a time, including the start byte each time. I don't even see that feature being available in the docs for that samsung VFD so I wonder if it ever worked.
|
# ? Jan 12, 2014 03:36 |
|
Sweevo posted:you can read multiple digital inputs/switches with one pin if you connect the inputs through a resistor ladder to an a/d pin. you can easily get 6 inputs on one pin yep. here is an example of a guy reading four buttons on a single pin, if you need something concrete (i would) http://hackaday.com/2014/01/10/a-business-card-that-plays-simon-says/#more-111983
|
# ? Jan 12, 2014 03:36 |
|
btw here's the link for my VFD again: http://noritake-vfd.com/cu20045-uw5a.aspx $18 seems really cheap to me, and it does serial i/o as well as being HD44780 compatible so I highly recommend it!
|
# ? Jan 12, 2014 03:55 |
|
Sagebrush posted:yep. here is an example of a guy reading four buttons on a single pin, if you need something concrete (i would) That's p cool, but the only input button I have now is the "power" button for the LCD, which in reality just wakes up the MCU and tells it to turn on the LCD and start PWM'ing the LCD backlight (and display the current temperature, as well as high/low temps).
|
# ? Jan 12, 2014 03:57 |
|
quadpus posted:btw here's the link for my VFD again: http://noritake-vfd.com/cu20045-uw5a.aspx $18 seems really cheap to me, and it does serial i/o as well as being HD44780 compatible so I highly recommend it! that's p cheap i wanted to order one (plus a 2x20) but they won't ship outside of the us and canada
|
# ? Jan 12, 2014 08:43 |
|
Bloody posted:fpgas aren't overkill just get a small one and then kill yourself because now you have to write vhdl or verilog and use some hideous development toolchain verilog is gods own language lol if your babby high level language cant specify what happens at each clock, thats barely even computering imo
|
# ? Jan 12, 2014 09:03 |
|
kwinkles posted:verilog is gods own language going from cpu code to gpu code was awesome. you have to write so much closer to the hardware. i imagine going to an fpga is like that times 10.
|
# ? Jan 12, 2014 10:18 |
|
Ia! Ia! I shouldn't have had that Cthurry!
|
# ? Jan 12, 2014 21:44 |
|
Mathhole posted:going from cpu code to gpu code was awesome. you have to write so much closer to the hardware. i imagine going to an fpga is like that times 10. in vhdl you are specifying the hardware
|
# ? Jan 12, 2014 22:22 |
|
edit, context: finally got some more time to work on my beer fermentation temperature logger. was having a bitch of a time getting this loving LCD to work with my ATmega32U4. took the same LCD code, flashed it onto an arduino with my little USB programmer, and it works flawlessly. either the m32u4 board's power supply doesn't supply enough juice to run the LCD (backlight lights up fine, though), or the m32u4 is fried (it's a surface-mount part, and I might've applied too much heat when I soldered some header pins to the little PCB it's on to make it breadboard-able). Doc Block fucked around with this message at 23:42 on Jan 18, 2014 |
# ? Jan 18, 2014 23:34 |
|
cool now make it say "winter yospos" and put it in ur sig or w/e
|
# ? Jan 19, 2014 00:18 |
|
finally completed my thesis project:
|
# ? Jan 21, 2014 00:01 |
|
today i remembered that there's a project.log forum
|
# ? Jan 21, 2014 00:02 |
|
Werthog 95 posted:today i remembered that there's a project.log forum what, seriously? or do you mean diy? GOT VIRUS FROM MP3 posted:finally completed my thesis project: i'm not sure what to say
|
# ? Jan 21, 2014 00:04 |
|
Sagebrush posted:what, seriously? or do you mean diy? can't see it in the forums list but here it is http://forums.somethingawful.com/forumdisplay.php?forumid=265 and it's apparently still active
|
# ? Jan 21, 2014 00:05 |
|
|
# ? Apr 28, 2024 16:22 |
|
Sagebrush posted:what, seriously? or do you mean diy? its a subforum of coc: http://forums.somethingawful.com/forumdisplay.php?forumid=265
|
# ? Jan 21, 2014 00:05 |