Jump to content
43oh

petertux

Members
  • Content Count

    58
  • Joined

  • Last visited

  • Days Won

    7

petertux last won the day on March 18 2019

petertux had the most liked content!

About petertux

  • Rank
    Level 1

Contact Methods

  • Website URL
    https://cadlab.io/rodan

Profile Information

  • Gender
    Male
  • Location
    Cluj, Romania
  • Github
    https://github.com/rodan
  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
×
×
  • Create New...