Jump to content


Popular Content

Showing content with the highest reputation since 10/16/2018 in all areas

  1. 2 points

    Add MSP432 support to Arduino?

    not json but instructions given for linux https://github.com/RickKimball/tivac-core Assumes you have openocd and arm-none-eabi-gcc in your path. Probably won't work for windows. Probably will work for OSX.
  2. 2 points
    Check the menu Files > Examples > LCD_LaunchPad.
  3. 2 points

    MSP430 Nixie Clock

    Hi All, I just finished assembling and modifying this kit for my SO for Christmas. I put it in a vintage toaster from 1910. Works great and so cool! However, watch out for shorting anything while the clock is powered - I fried some transistors while playing around with it. In any case, I made quite a few modifications and will post them here. I added the following components to the kit: Arduino UNO I had lying around. Random photodiode I had lying around. Adafruit RTC module: https://www.adafruit.com/product/3013 Adafruit motion sensor: https://www.adafruit.com/product/189 I modified the code to use the photodiode and motion sensor to control the brightness of the display using PWM. I have attached that. It is not written with extreme discipline, but it works Let me know what you guys think, Saul main_v6.ino nixie.h
  4. 2 points

    PCB Laser Exposer/Printer

    A new design is now up on my Github account, cheaper laser cut acrylic case and 3D printed "laser head". Some info on Hackaday as well.
  5. 1 point
    (I started this [Energia Library] topic and copied my spiE library over to make it easier to find) I wanted to improve the compatibility of the SPI.h lm4f library to include functions of arduino user contributed SPI.h libraries. I found SPI2.h here: http://forum.stellar...two-spi-modules. This library added multi-module features but removed the 123 & 1294 compatibility. I have merged SPI2 and the core SPI libs into spiE.h and added several more function variations. spiE.h best features are: 1. Array transfer up to 255 bytes. This is 5x faster than single byte transfer. 2. SPI2's pinMode() and digitalWrire() functions are replaced with faster macros. 3. Support for __TM4C129XNCZAD__, __TM4C1294NCPDT__, BLIZZARD_RB1 (LM4F) boards 4. Up to 4 instances can be defined: SPI0, SPI1, SPI3, & SPI2 is instantiated by default as SPI for arduino code compatibility. 5. Multiple SlaveSelect pins can be used fir multiple devices on one data line. defaultSS, default +SS2, or SS1 + SS2, etc. I have tested this on the 129. If you have a need for it and can try it on the other boards before I upload it to github, be my guest. spiE.zip
  6. 1 point
    Hi sara, I can only give you limited support, and hopefully point you in the right direction......... Your HW does have SPI, so you should be able to write to SD cards with out issue. Try looking here the only thing I see is you have to change the code to fit your HW, I do not know if SSI is close to USCI or USI. also if you add more info on your setup we maybe able to guide you in the right direction as well.
  7. 1 point

    Add MSP432 support to Arduino?

    This is TI. Go back with your IDE version, and board should work just fine. http://processors.wiki.ti.com/index.php/XMS432_Support
  8. 1 point

    IPC training information

    A ridiculously long time ago, I took PACE solder training. At the time, someone said it was the training program that NASA employees had to take to be one of their solder jockies. I’m count it as one of the best investments that I ever made in my career. I think of soldering as one of my superpowers now.
  9. 1 point
    We have to unpack all that is going on in that get stack pointer statement. The function getstackpointer() returns a value. The (int*) transforms that into “the address of that return value” which will be 16 bits large. Then that 16 bit address is assigned to the multi stack variable. The author is asking us to modify the list of function names in the taskpnt function since (s)he doesn’t know what we will be doing. So that is up to us. So task1, task2, and so on, are functions that we write to do one specific thing. Something atomic, like SwitchOnLED(LED1) or SwitchGPIO(P1-7), etc. Does that make sense?
  10. 1 point

    IPC training information

    Hey, thanks for the IPC Certification stuff. I also have gone through these certifications and would like to suggest BEST Inc (https://ipctraining.com/) for getting the best training in IPC. They have experienced IPC trainers and also offer Mobile training facility as well. Also, one more training center is there near Illinois i.e EPTAC Training Center(https://www.eptac.com/) which is in good competition with BEST Inc. Out of these two, you can choose any.
  11. 1 point

    MSP432P401R SD card interface

    Maybe I am thinking of the PetiteFS way of using an SD card but doesn't that SD card need to be first formatted on a PC and have a file created as well? Then, the MSP430 would access the SD card, open up the pre-existing file, and then write to it? I would verify the SD card on a PC first by formatting it then creating an empty text file on it. Then, get the MSP430 to see it then open it. Double check the wiring of the card. And make sure that you have a really good +5V power source for that SD card. I have read that they want a bunch of current to operate properly. And, I suspect the dev board cannot supply that much current on the +5V line. Gotta verify that too.
  12. 1 point
    @MadMayonnaise They are called Function Pointer Arrays. I love them. I have been using them extensively to create my CLI - Command Line Interpreter. I can add a new command just by defining a new entry into an array. They are an alternative to the Gigantic Switch Statement style of coding. To get you started, here is an article from 1999 by Nigel Jones: How to Create Jump Tables via Function Pointer Arrays in C and C++ I also found the book Programming Embedded Systems in C and C++ by Michael Barr to be exceptionally helpful. Chapter nine specifically.
  13. 1 point
    Rei Vilo

    MSP432P401R SD card interface

    Have you tried the SD_TM4C library?
  14. 1 point
    Hope you snag one. Enjoy! Use code CYBER https://www.arrow.com/en/products/raspberrypi3/raspberry-pi-foundation
  15. 1 point

    ADC12 timer trigger

    to expand 1. Should my sample and hold time be 0.28ms? your hold time should start after .28ms, and holding the peak value between 0ms and .28ms 2. If so then should I wait for next 0.04ms + 9.68ms to collect my next ADC value as the next input pulse needs that much time to arrive? Your next sample should start on your next pulse to the LED which is 9.68ms 3. If 1 and 2 are correct, how can I set up my ADC for this? ADC setup is a case by case basis, and will be trial and error. but a good place to start is the code examples for your chip, and the user guide.... My tip to you, is look into pulse sampling.
  16. 1 point

    ADC12 timer trigger

    Reading the data sheet..... you need a PWM time of 10ms. with a duty cycle of .32ms Your AD read time should be from 0ms to .28ms from the start of your pulse on the LED Setup up your ADC for single conversion, one channel count how many clock pulses and figure out how long conversion and sampling time.
  17. 1 point

    PCB Calculator Programs

    All these shared files have a lot of learning material. Thanks, @zeke for these helpful files. 😍
  18. 1 point

    Not new, but gone for along time

    Hello, Been gone for a long time. Life has gotten in the way of project, blog and all sorts of things. I cant even remember my last post..... but an update...... first kid was born got married got cancer second kid born survived cancer year later, still living during all this, got into home brewing Now I brew beer, and now want to take my knowledge of electronics and infuse it into an all encompassing hobby. And also my current job allows me to hack and fix ATMs. some upcoming things im working on......... usb sniffer/pasthrough , temperature logging and S.G. logging. some Halloween blinkies ......and probably some other odds and ends
  19. 1 point

    MSP430FR2433 SleepSeconds 18ua

    Yes this is the conclusion I have come too. I believe Energia' implementation of the Watchdog here is what causes the higher usage. It is very impressive that it manages to get even close. I think it is abit misleading to call SleepSeconds() true LPM3 though. It would be great to see some other implementation though; as the MSP430 is capable of sub 1ua sleep. Perhaps I will experiment with a library in the future to make this possible. Thanks for your response.
  20. 1 point

    Using FRAM above 0x00010000

    "support has been added in Energia for the MSP430FR5994" but Serial1 is not working, and and even more unfortunate, the available I / O still does not support interrupt handling. I mentioned these problems since May 2018, Energia1.8.7E20 is available and the same problems are still unresolved. It is difficult to try to work with a chip that is very poorly supported by the ENERGIA teams. Sorry for this reminder, but please try to do something! I develloped a simple Lora gateway (Wifi+GSM/GPRS) from this launchpad and the results are good despite these difficulties of programming!!
  21. 1 point
    This board is indeed obsoleted. It was replaced by the RED board many years ago. The TI-RTOS version it was based on no longer receives updates. Hence, it was time to retire this. If you still like access to this board then do the following: Open Energia's preferences (File->Preferences or on macOS Energia->Preferences) Located "Additional Boards Manager URLs" and paste the following link into that field: https://energia.nu/packages/package_msp432_black_index.json Go to the board manager and you should see the black board appear again. Good luck with your Robot project. Robert
  22. 1 point
    Hello everyone, There is a couple of similar projects available on the internet. Some of them base on Arduino and PIC performs very basic mount control without math intensive computation implemented in embedded controller. I decided to build my own with the following goals: ease of use by an inexperienced amateur astronomer (full automatic operation) precision and resolution of position last but not least: the price Final, or better say at the moment, design comprises of the following components: Stellaris LM4F launchpad central control unit, two ULN2003 unipolar stepper motor driver chips, two 28byj-48 stepper motors one moving in azimuth, and in elevation via gear train, communication module: Bluetooth serial module. It allows sending a coordinate set-point and provides position feedback to Stellarium, GPS module providing position and precise time reference - PPS gives 1us accuracy, Nokia 5110 display unit and joystick for standalone operation, now obsolete mouse (PS/2) modified to provide independent (incremental) position information Resolution that was reached is a single step of approx. 5". Given the size of Jupiter to range from 30" to 50", this positioning resolution makes the view comfortably stable in standard 60° FOV eyepiece at reasonably high magnification, without the need to adjust AZ/ALT continuously. During the development I made use of several opensource and projects available online, namely: AccelStepper for stepper control, TinyGPS++ for NMEA decoding, Arduino telescope controller was my inspiration and reference for Taki's matrix method for coordinates transformation, of course Energia as my IDE Upon power-up the mount is performing: homing acquisition of current location (longitude/latitude) and time via NMEA stream moves to 3 brightest (most convenient) stars in succession to perform 3 star alignment procedure - they are selected from the list of over 500 stars in built-in catalog (the brightest are used for the alignment, tough), once aligned the mount is in tracking mode: it tracks the view to counter the apparent movement of objects in the sky, waiting, either for the user to move to particular object - selected from the library of stars and Messier objects, or awaits connection via Bluetooth from a PC running Stellarium with a plugin and slews to selected object. search for the object that should be visible in the eyepiece and display important information on LCD - I compiled in 500 brightest stars from HYGXYZ and full Messier catalog. I have very little experience as amateur astronomer so far, so some of the objectives might have been not very obvious for me in the beginning. This project was also a good way to make use of my free time and gain experience in embedded system design. With kind regards, Szymon
  23. 1 point

    [POTM] dAISy - A Simple AIS Receiver

    Good news for everyone having difficulties sourcing the Si4362 radio IC. I verified that the transceiver Si4463 works with dAISy. This probably also applies to Si4460 and Si4461. Besides being more widely available through distributors, more adventurous souls can even find these ICs on Aliexpress. Even better news for those that want to recreate my project with minimal effort: Si446x based radio modules are sold on eBay and elsewhere. I bought the E10-M4463D from eBay for $7.99: http://www.ebay.com/itm/100mw-433MHz-SI4463-Wireless-Transceiver-Module-With-Antenna-2100m-/151243201316 I chose this module over others because all pins of the radio are broken out to headers. Unfortunately two pins (GPIO2 and GPIO3) are reserved to control the RF switch that connects the antenna with RX or TX channels. But after a few minor changes to my code I had dAISy working. Here's the branch on Github: https://github.com/astuder/dAISy/tree/E10-M4463D The wiring changed: GPIO0 -> P2.0 NIRQ -> P2.5 GPIO2, GPIO3 -> no longer connected to the LaunchPad As the modules are built for 433 MHz and AIS is using 162 MHz, I had to replace antenna and passives on the RX side. The new passives from left to right are (ignoring the obvious 0-ohm resistors) 11pF, 150nH, 13pF. As you can see the 0603 components are a very tight fit. I reflowed them with a hot air station instead of using a soldering iron. The clunky thing on the right is a BNC connector, SMA probably would have been a more elegant fit Technically, it's still not ideal. The traces might be impedance matched to the original frequency. However a quick real-world test demonstrated similar sensitivity as my original breakout boards. EDIT: added wiring information EDIT: added link to Github
  24. 1 point

    IPC training information

    Just to follow up ... I found another website tonight called http://www.soldertraining.com/. It is another excellent resource for electronic assembly knowledge. I find the Standards & Manuals - Design attractive and I am considering purchasing a set for myself.
  25. 1 point

    PCB Calculator Programs

    And for those high current PCBs, A trace width calculator. http://circuitcalculator.com/wordpress/ ... alculator/