Jump to content
43oh

xeebot

Members
  • Content Count

    37
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by xeebot

  1. In the mean time, I grabbed this Arduino library and imported it. If that will be good enough, please let me know. I'll keep hammering on it tomorrow https://github.com/finitespace/BME280/
  2. I apologize for re-opening a thread this old, but I'm looking for the library for the Sensors BoosterPack and don't see it available in energia. Does anyone have it and, if so, would you mind sharing? Got two of the Boosterpacks and a couple dozen launchpads and would like to get some use out of them
  3. @energia Sorry for the delay following up on this - had some family medical issues that I had to be present for. If it is okay, I'm posting my version here in case somebody else needs to do the same thing, will save them a few steps I basically combined the sketch you linked to with the WPA example - this allowed me to get details about the board (mac, IP) and do basic troubleshooting. Switched the Ethernet client to WiFi and plugged in my own values for SMTP and email addresses. I put a comment in indicating which lines somebody who wants to use this would need to change. My next
  4. I don't think that is it, BUT it looks great. I should be able to just switch Ethernet for WiFi and go to town. Thank you, sir!!!!
  5. 100% on target, sir! I had actually switched over to a hall sensor on pin 8 with a 10k resistor and just switched to 3. Works like a champ.
  6. Back in June, I wrote a very basic sketch that sent an email via my hosted SMTP server. Unfortunately, the USB drive I stored the sketch on is toast. I don't recall the source and after digging through the examples, libraries and the forum, I'm unable to find an example I might have drawn from. Does anyone have an idea of what code example I might have used? I know I didn't write anything from scratch. I also know I didn't use Temboo or SMTP2Go, as I still have the email in my gmail mailbox (and it came from my hosted domain).
  7. Sure enough, pressing PUSH1 and it reads properly. The reed switch is connected to pin 3 via a jumper wire to the breadboard: const int Hall = 3; pinMode(Hall, INPUT_PULLUP); int HallValue = digitalRead(Hall); Serial.print("Hall Sensor Value: "); Serial.println(HallValue); I've got the Piezo working (PWM), so I'm swapping out the reed switch for a Hall sensor. Once I've got that working as expected, I'll compile and should have firmware that can test all the components on my board. Will post something in this forum documenting all the separate little pieces once
  8. Please note, Pin 3 is RX on the Launchpad, so I am wondering if the pin is reserved for that reason or if there is something else going on - hopefully, it isn't reserved, as RX is not needed when the BIN is already uploaded and running
  9. Good evening! I'm using a CC3200MOD Launchpad - I have tested this on two of those boards, as well as on a CC3200 Launchpad. The results are the same each time. I have a Reed switch on a bread board. If I connect to Pin 3 (header row one, 3rd pin down from the top), the reed switch value never changes. (results not expected) If I change the jumper wire to Pin 8 and change the sketch from 3 to 8, the Reed value changes state with the presence or removal of a magnet. (expected result) Can anybody point out my error? From the pin map below, the two pins should function the same.
  10. You rock! I've managed to come down with bronchitis, so I haven't been at my desk for a couple of days. As soon as I'm over this and am hammering on this again, I'll let you know how it works out.
  11. There is always a VERY good chance I am overthinking things. If you've got time to do it and don't mind, I'll really appreciate it. Also, my board doesn't have a USB connection - I use the Launchpad to flash the board to upload the bin I create in Energia using Uniflash (also can run example programs in debug mode in CCS using JTAG). Does that affect the use of a lightweight package?
  12. No problem. Technically speaking, I'm back at square one, will likely have to go to CCS as I can't get it working with my board, but I'm very grateful for the advice.
  13. I'm not sure I understand - I should just swap the pin numbers in the existing pins_energia.h file in a trial and error approach or I should do something different?
  14. That did it. I removed the 6.3 folder and it compiles.
  15. Good morning! I set up a new install of Windows with CCS and Energia installed. While going through the quick start guide, I found I was unable to compile the Blink example. I assumed that the issue was due to using the drivers from Ti's SDK rather than DPInst64 - I was unable to get a copy of the drivers posted here. After obtaining the drivers and installing, I still get the same error. I have also installed Energia on a second and get the same errors during compile. Error messages are below: <command-line>:0:15: warning: ISO C++11 requires whitespace afte
  16. Please disregard. I was able to get a copy of the driver file and the error is still there. Will post it in a new thread. Also, if anyone else needs the driver before the admins are able to update the link or restore the missing file, I've attached it here. cc3200_drivers_win.zip
  17. Also, just in case the driver is not the issue, I've included the error text in the attached text. error.txt
  18. Can anyone send me a copy, please? I have the SDK installed, so the board shows properly in Device Manager, but I get a compile error in Energia. Prior to this, I did a clean install of Energia on a new install of Windows and when I went to grab the CC3200 drivers, they're not available: http://energia.nu/guide/guide_windows/ The link to http://energia.nu/files/cc3200_drivers_win.zip shows: Oops! Our 404 is showing... That page can’t be found. Nothing was found at this web address. Click your back button, use the menu tabs, or try a search?
  19. I missed this when I answered the Pm yesterday! There are 10 GPIOs (1 ADC, 1 PWM, 2 UART) GPIO 0 PIN 44 ADC - EN (voltage measurement) GPIO 1 PIN 46 TX (UART) GPIO 2 PIN 47 RX (UART) GPIO 4 PIN 49 VMEAS_BAT (voltage measurement) GPIO 5 PIN 50 ADC - DRV5053 - omnidirectional Hall sensor GPIO 10 PIN 3 PWM - Piezo GPIO 12 PIN 9 LED GPIO 13 PIN 10 DRV5032 bi-directional Hall sensor GPIO 14 PIN 5 LED GPIO 28 PIN 19 LED Is that too many to remap an existing board?
  20. @energia Happy New Year, Robert! I've been on quite a roller coaster getting my board ready, but it is finally finished and I can focus on my firmware. Could you possibly give me some guidance on what I actually need to do to create a light weight package? I can extract and duplicate my own version of each file in each archive if needed, but are there any components that I don't need to reproduce? Is there any other guidance you can share to give me some direction? Thanks Doug
  21. @energia Thank you, Robert! Since this is a variant of the CC3200, I assume I'll add it to: C:\Users\username\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\variants\ That should give me a quick stop-gap for making test firmware for the new PCB. Making a lightweight package is probably the way I'll go, and hosting will not be a problem, I just have to puzzle out what I'm doing I really appreciate the advice!
  22. Hello, everyone! Don't know if @Rei Vilo or @energia would like to make a suggestion, but I hope so! I'm working on a project using the CC3200Mod. The PCB should be ready later this week and I'd like to give the designer a basic firmware file to test it. This was no problem on the launchpad, but after we went over the schematic, we found that the pin layout is very different between the CC3200 and the CC3200Mod. Working with launchpads doesn't make a difference, but the PCB doesn't have those ports available, everything is connected to the pin on the chip. Will I be better off by
  23. So, in case anybody else is curious, I've got the answer to my own question. Rename your bin to "mcuimg.bin" In Uniflash, go to the System Files, find /sys/mcuimg.bin Click the BROWSE button for URL and navigate to your file. Mark Erase, Update, and Verify. Go back to Flash Setup and Control, click Program. Enjoy. I really have to say that this is fantastic.I'm going to see what functions I can duplicate from CCS this way.
×
×
  • Create New...