Jump to content


Popular Content

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

  1. 5 points

    RFC: CNC BoosterPack

    Driver code for a few boards is available from my github account. A PCB design with reduced size allows two boards to be mounted to the EK-TM4C1294XL LaunchPad providing up to 6 axes of control (needs to be verified). I have also added TCP streaming to the EK-TM4C1294XL LaunchPad but usure if I can publish the code due to the "viral" clause in many of TIs files - even the startup code 🙁. Grbl is released under GPL and I have a hard time understanding the legalese related to that... I am currently working on a DRO/MPG for my lathe with Grbl running on a MSP432, and the DRO/MPG code on a Tiva C/MSP430 combo. Threading support is a part of that work and hopefully I'll be able to get it working reliably - looks promising this far.
  2. 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.
  3. 2 points
    Check the menu Files > Examples > LCD_LaunchPad.
  4. 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
  5. 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.
  6. 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
  7. 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?
  8. 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.
  9. 1 point

    MSP432P401R SD card interface

    Its hard to give you an answer on this. If its say, SD card not initlized, then you really need to verify your setup and wiring. and post any modifications of the code provided.
  10. 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.
  11. 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.
  12. 1 point

    PCB Calculator Programs

    All these shared files have a lot of learning material. Thanks, @zeke for these helpful files. 😍
  13. 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
  14. 1 point
    I've done this on products - powered an analog section off an I/O pin. It is the cheapest power control method - heck it's free and it takes no power to implement. If you need more current you can parallel two or more pins. There is no problem with parallel MOSFETs, they will current share as rdson increases with temperature.
  15. 1 point

    Using a CP2102 with BSL-Scripter

    I don't know if this has any application for Energia, but might be of use to someone at some point. I've been working on a way to embed a generic USB-to-UART adapter like the CP2102, FT232 or CH340 in an MSP340 project so firmware can be updated without having to buy a Launchpad. The newer MSP430 parts presented a problem because BSL-Scripter, TI's software for BSL flashing for those parts, doesn't transmit the special invoke pattern on /Reset and Test. Instead, it just brings both lines low, which messes things up. I gave up on trying to recompile Scripter, but I've written a Windows program that generates the pattern, and developed methods to disconnect DTR from /Reset after the pattern has invoked BSL, but before BSL-Scripter is run, which allows flashing to proceed with /Reset high. A full explanation, source code, executable, and schematic are in my Github repo. It all seems to work, at least with an FR2311 under Windows 7. https://github.com/gbhug5a/CP2102-with-BSL-Scripter-for-MSP430
  16. 1 point
    Rei Vilo

    Powering ST LSM303AGR from MCU IO Pin

    You need to read the data-sheets of the MCU and the sensor and check the mA provided and used.
  17. 1 point

    MSP430FR2433 SleepSeconds 18ua

    Have you looked at what's happening "under the hood" with CCS or similar? All things considered, I find it amazing that the current is as low as it is. Energia is a great place to start and experiment, but it's not intended to replace coding that is far closer to the metal, er, silicon. Given it's heritage as a msp430 version of the Arduino, it's a very impressive piece of work. But, to manage the supporting classes, and the ever-present loop, it is constrained if your're looking for ultra-low power apps. You have already demonstrated that differential with your driverlib version.
  18. 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!!
  19. 1 point

    Microphone MSP430F5438A

    A quick google search of "msp430 microphone" doesn't yield much, but there are examples for recording and playback with the msp430FG4618. What type of analysis??? Your intended study appears to be very broad in its potential scope.
  20. 1 point
    Thank you, Robert! That worked. (And thank you for the suggestion, Fmilburn, but older versions also had the black board removed. I even tried and failed with a manual setup on a PC that I kept offline.)
  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
    Rei Vilo

    Sensor Controller with Energia

    The Sensor Controller isn't supported by Energia. Actually, it requires a specific IDE, called Sensor Controller Studio (link). I tried and played with the examples, but they are rather sophisticated. I'm looking for a very basic application for my Low Power Home Network Weather Monitoring with a clock (every 10 mn) and a push-button (manual) to raise an event and wake up the main core.
  23. 1 point

    RGB 4x4 button thing

    Built a second prototype to test out the smaller 0404 LEDs. I thought they might have better colour blending because the LED dies are closer. But the silicone buttons already do alot of that. They don't appear to make much difference. The LED dies are of similar sizes, so the 0606 size is the same brightness of the 0404. At the brightness I'm running at makes the TLC a little warm, but not too much. On the next PCB rev I'll add some thermal vias on the TLC's exposed thermal pad.
  24. 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
  25. 1 point

    PCB Calculator Programs

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