Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Only if on Windows:
Unfortunately, Windows users need to manually install a driver to allow UART to USB comms. Go to this pagehttps://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads

1. Donwload the Windows Universal Driver

  1. Unzip the file

  2. Right click on the unzipped file called “silabser.inf”, and click install

  3. Follow the prompts

Info

Only if on Linux:

Linux needs to give permissions to access the USB device. run this command:

curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules

Unplug the device, and plug it back in, and you should be all set

You'll need to then clone the launchpad repo - place it in the same NER folder described in the setup.

...

2. Clone the github classroom repo.

Follow the link posted here, when available (expected by Saturday, 9/14 latest):

(not yet avail)

main.c - the application main code, with task/thread definitions and functional logic.

...

That's all! You are not expected to necessarily know anything about freeRTOS, interrupts, or any of these skills; Just because I haven’t in detail explained these things in this doc does not mean you are expected to understand it. I literally am keeping these instructions somewhat vague intentionally to ensure I don't sway you towards doing this a certain way, because there are multiple ways to do it. Ask questions, do some individual investigation, or use whatever tools you want to help. freeRTOS and interrupts are used extensively in our vehicle apps, so getting some experience with them here will help out.

3. Testing

Note

Depending on how many people participate, I may not be able to give everyone their own devboard. This means to test your code, you will have to stop by the bay during bay time or really whenever is convenient to testbe able to give everyone a board. Whether you get a board or need to come to the RIchards makerspace to test, you'll need to connect to an external LED, which will be setup in the makerspace, to view that component of the output.

You’ll need a micro-USB cable to connect your laptop to the device. If you don’t have one around, stop by the Richards Makerspace and test it with one of ours down there.

...

To view the Bluetooth data, download the NRF connect app on your phone. In the scanner, you should see an ESP device. Connect to that and you should be able to see the message!

Similarly you

Info

While I’ve done my best to automate all of this to work on all platforms, some stuff eventually gets pretty messy. if any of the launchpad commands do not work - either ask someone for help or look into the aliases themselves and try to debug the error (they just alias to platformio commands) .

...