Jump to content
43oh

petertux

Members
  • Content Count

    58
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by petertux

  1. If you appreciate late 90s vintage PCs you might be interested in this one. I decided to build a Pentium II machine on which I can play my favourite games from those times. Magic Carpet (Bullfrog Productions) is one of them, but it needs a joystick. I had good quality USB joysticks, but those games need old analog gameport-based controllers that are serviced by the sound cards of the time. This new project acts as a USB Host and provides the analog output that emulates a 4 axis + 4 button game controller. the prototype works absolutely great, it takes about 0.6ms to read data fr
  2. you also need to set the parameters for that serial connection. in your particular case energia is probably doing it for you before you start your program, but if you want your program to work under any conditions you need to do this. see here for an example: https://github.com/rodan/solar-sensor/blob/master/server/ss_daemon.c#L77
  3. you can have a look at an older project of mine here: https://github.com/rodan/tracy all the code is interrupt driven, no blocking calls, two different uarts are used. and it works nicely as an always-online tracker, it has more than an year uptime mounted on my motorcycle.
  4. thanks, this looks promising. http://pabigot.github.io/bsp430/msp430elf.html using @@pabigot 's script I compiled gcc 4.9.3 + simplified newlib and on the same project as above I got >> Building proj.elf as target RELEASE text data bss dec hex filename 17456 1094 494 19044 4a64 proj.elf which is pretty nice. thanks Peter!
  5. I gave the latest energia a go and YES, I have small binaries again >> Building proj.elf as target RELEASE text data bss dec hex filename 14490 4 480 14974 3a7e proj.elf luckily it looks like energia is still based on the good old mspgcc
  6. Hey! I just bought a new 64bit-only laptop and quickly installed Linux onto it. getting the msp430 cross-compiler was my task for yesterday. 2 days later I am nowhere close to having a valid toolchain like I had on my older 32bit laptop. what has been tried and where it failed: 1. I compiled TI's msp430-gcc-source.tar.bz2 version 14r1-364 that is based on newlib 2.1 the big problem with this toolchain is the huge difference in output size: - old setup based on mspgcc with libc: >> Building proj.elf as target RELEASE text data bss dec hex
  7. nicely done! just out of curiosity, how much do those batteries last in this setup? also wow, wooden cogs. don't they wear out / change shape with humidity?
  8. true, it is pricey but it saves a lot of headaches. so I have to try it out. uC flash is used to save settings.
  9. hi @@username yes, you are right, if there is no gprs coverage the currently acquired data is lost in this first revision. for the second one I decided to include a tiny serial F-RAM chip from cypress (FM24V10) that is able to buffer info and send it whenever there's connectivity. also having larger chunks of data (but less of them in total) would make the phone bill smaller when I am roaming. because apparently there is a tax on the number of gprs logins and there is a minimum accountable session traffic size. regarding USB, I don't know. I'm trying to make this project as small as po
  10. here's my latest project, a fully open-source msp430f5510-based gps/gprs tracker. it's a device that wakes up every few minutes and does the following: - tries to get a gps fix - connects to the gsm network, marks the tower cell ids it talks to - executes sms commands received - if any - starts a gprs connection and sends all the info it has collected via http to my server it does all this only based on interrupts (zero blocking functions are used - all the similar projects I've seen are riddled with delay()s). functions that fail due to network unavailability are retried a given number
  11. indeed the upper portion of a MSP430G2 launchpad pcb is able to program various msp430 chips - I used it mostly with f5xx, BUT you have to be warned that by default it will send out 3.6V on all IO lines (and Vcc). in case your project runs on a lower voltage you risk to slightly dent it. fortunately this can be 'fixed' by replacing R8 on that board with a 47K value 0603-0805 resistor. see pic. this will lower voltages to a more manageable 3.0V, which is the lowest limit at which the usb chip will run. the new MSP-EXP430FR5969 is even better equiped - it has an additional JTAG conn
  12. Update #5 - panels! @@bluehash thanks for the pointer to front panel express. they also have a partner in Germany so I did not have to pay extra taxes and expensive shipping for the same service. last peek inside and the finished product everything is open source and available at https://github.com/rodan/ampy more pictures available here I will probably end up documenting the mixer board and eventually sell populated/tested copies it if anyone is interested.
  13. Update #4 - firmware done this was a roller-coaster of good and bad feelings, but finally it become a nice amplifier package. lessons learned: * I had run into problems with the eink display - it was going grey and fuzzy 1-2 minutes after every refresh. at first I blamed the toroidal transformers - so I moved all the power sources into another enclosure, but believe it or not the 'ink' particles were dislodged by light, not magnetism. if I shine my cheap ikea led desk light to the screen it will go grey in 2 minutes max. I don't understand why, but it's perfectly reproducible. I
  14. Update #3 - msp430 makes the sounds It took a while to get the mixer board ready. mostly because I was soldering and testing core functionalities one at a time - tweaking the input filters, debugging current consumption to get the fuses right, writing code for the PGAs. the final result is amazingly good. surprisingly good given the complexity of this module. also no bodgewires needed, much wow. here it is in all it's glory: and installed into the enclosure: did I mention it works unbelievably well? an uart interface is used to send volume levels for all 6 P
  15. it gets the job done most of the time. it's a bare metal base and the clips have magnets in the bottom part. they got me in trouble once when I was trying to debug a pcb that had tiny reed relays. at first I could not understand how that board works as expected when inside the product and gets all weird while in that stupid stand of mine
  16. thought I'd share my workspace as well
  17. all the amplifier module pcbs have arrived, so I went ahead and built the 2 power circuits: the one in the back is for the power amp and provides unregulated -24V, +24V DC the one in the front is used for everything else - -5V, +5V x 2, -15V, +15V, +18V next were 2 power amps for my quad setup. if 6 channels would be needed another one of these can be stacked on top. started populating the enclosure. that spdif DAC will be part of the final setup. sound tests went great more pics here: https://plus.google.com/photos/106706955427383613204/albums/
  18. sneak peek to how the board will look like. the pcbs should reach me tomorrow. I added one more PGA2311 just in case someone also wants to control center and subwoofer channels. which means that the board can control 10 inputs and has up to 6 outputs. this is a 4 layer 10cm x 10cm board.
  19. the pins near the usb port are by any chance a combination of GND, RST, TEST, VCC, RX and TX ? it would be nice to see a schematic if possible.
  20. your project would have been my first pick in a 'utility' category if we would have had one. but I guess a contest like the one there was for the 555 timer would need many more entries. on the other hand having categories (like 'artistic/blinky', 'utility', 'complex') would be cool in the future.
  21. @@Druzyek congratulations on grabbing the big prize let the party begin lalalaaaalaaaaaalaa
  22. thanks for your reply. my hope that the op-amp buffers were a panacea for all impedance problems just went up in flames. I am reading a book on op-amps, so I am hoping that this input impedance problem (and the cure) will start to make sense to me soon regarding the daisy-chaining of PGAs, I've seen it's possible however I really don't like the idea. pins are not in short supply since I'll end up using at least 3 uCs in this DIY amplifier project: - one F5510 on this mixer module - one F5510 in the power module - this will probably have the user interface and will control all the
  23. mkay, that was a mouthful. I'd like to upgrade my quad amplifier by adding a 3 channel mixer controlled by an MSP430. remote control, display, internal health check all these will be added one at a time. volume levels for the channels - PC (front & rear), spdif in (front), line in (front) and for the front-to-rear pan will all be set via a few PGA2311 chips via SPI. my first thoughts have been laid out in the following schematic [1] I thought of placing the project here for peer review. if you see anything stupid in the audio circuit your comments are more than welcome. [1
  24. Impressive. this might be a stupid question, but why did you opt for the AS6C1008 + 2x74HC595 instead of a RAM module that can be accessed via a serial interface? are you getting data quicker with the shift registers as opposed to let's say 23A1024's SPI?
  25. I am trying to design a smallish gps + gprs tracker [1]. as usual because I'm unhappy with the one I bought on the internets. writing the software for this will take forever tho. also I have no idea how to properly route the RF traces toward the antennas. a lot of reading has to be done ... [1] https://github.com/rodan/tracy
×
×
  • Create New...