Dragino LoRa v1.3 data sheet and proper pin configurations - lora

I am a student, currently doing my internship and working on arduino mega2560 and Dragino LoRa shield v1.3. I was searching the data sheet for Dragino LoRa shield v1.3 on the internet, but I have been unsuccessful to find any. I have Sx1276 chip data sheet (http://www.semtech.com/images/datasheet/sx1276.pdf)used in Dragino LoRa shield v1.3 board. But there is no proper data sheet for the entire board. Can anyone help? I want to understand the pin configurations and pin mapping. There is another resource I found on GitHub, however, it is quite hard to understand (https://github.com/dragino/Lora/tree/master/Lora%20Shield/hardware/v1.3). Any kind of help would be greatly appreciated. Thank you.

Here you can see pretty much anything you want.
https://github.com/dragino/Lora/blob/master/Lora%20Shield/hardware/v1.3/Lora%20Shield%20v1.3.sch.pdf
You have to understand: The Square in the top left is your board. You can see every connected Pin has its name for example pin 14 is CLK. You can search for the CLK on the RFM95 and you will see it is pin 4.
Hope i helped you

The corresponding relationship between sx1278 chip data sheet and the sheild board is showed in the scheme.
In fact,you just need to know the sheild pin is connected in the default way when it is inserted directly in the mega 2560,but the ss pin (DIO 10 of the sheild board )maybe should be connected with DIO53 of mega 2560,you can try it.The default way you can refer to its introduction on Wikipedia.

Related

No RTC pin signals with SparkFun nRF52832 Breakout

I'm using the SparkFun nRF52832 Breakout to use the RTC signal for a sensor pressure clock line.
Unfortunately, on the two RTC pins, there are no signals. To verify this point, I used an oscilloscope to read pins 0 and 1.
Besides, I also created a sketch on another pin to generate my own square signal close to 33.333kHz, and I saw it on the oscilloscope.
I understand according to this tutorial that I do not need to modify the hardware.
RTC-EN - Connect/Disconnect the 32.768kHz Crystal
The nRF52832 Breakout equips the chip with a 32.768kHz crystal – connected to GPIO pins 0 and 1. Unfortunately, those pins make up a quarter > of the available ADC inputs. So, if your application doesn’t require an RTC – and you need those pins to for another purpose – grab a hobby knife and cut the two traces between their pads to disconnect the crystal.
Maybe I need to init the RTC pin with a dedicated method, but which one?
Could you provide me a link to any tutorial?
Any ideas what I'm missing here? What is my misunderstanding?

STM32F7 Discovery - where are the LEDs?

I am learning about ARM development on my STM32F7 Discovery Kit (w/ STM32F746NGH6 Microcontroller) and I'm trying to write a "blinky" program without using high level libraries.
Reading the documentation, I couldn't figure out which MCU pins are all those onboard LED's connected to? What is the right document to check?
Looking at the board I can see some LEDs (LD1, LD2, ...), but how can I reach them in program? I don't see them in header files and if they are controlled via GPIO pins, how to I know which ones?
In the user manual there's no mention of any LED, except in the electrical schematics (where none of the LEDs is connected directly to the MCU afaik- they serve mostly as hard-wired board status indicators).
Is it possible that an advanced board like this doesn't have a single general purpose LED on it?
From the schematic in that document, it looks like you should be able to use LED LD1 on PI1 (GPIO port I pin 1).
Download the STM32CubeF7 software package. It should include a blinky program example specifically for your board. Then see which LED/pin they use in the example program.

Gadgeteer and SPI protocol (Digital potentiometer)

I'm trying to create a project that will allow me to control digital potentiometer using the .NET gadgeteer. They both use the SPI protocol so at first sight this should be easy.
The potentiometer is MCP4131:
http://farm9.staticflickr.com/8062/8240194093_87b2e5c9fb.jpg
and the gadgeteer socket is:
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10
+3.3V +5V GPIO! GPIO GPIO GPIO MOSI MISO SCK GND
Unfortunately, I can't understand how to connect these two together.
Furthermore, I Don't really know how to program the gadgeteer in order to control the potentiometer.
Any help would come in handy,
Thanks in advance!
I have no experience controlling SPI (so don't mark this as the answer for at least a few days) but I did find example code showing how to program SPI interfaces through Gadgeteer on the GHI site: http://www.ghielectronics.com/docs/14/spi
It is also worth noting this post on the Gadgeteer CodePlex pointing out that to get the SPI library in 4.2 you need to add a reference to Gadgeteer.SPI to the project: http://gadgeteer.codeplex.com/discussions/362536
(N.B. I have not found StackOverflow a useful site to get help on Gadgeteer questions. I hope it gets better. In the mean time I have been posting questions on the GHI Gadgeteer Forum https://www.ghielectronics.com/community/forum/board?id=21 and finding I get useful and knowledgeable answers there.)

How to program on this arm

I have this samsung chip on a board (samsung s3c2510a) and I want to program to it via some method. However, I don't have a jtag reader on me and this board has a usb port. Is there any way to tell if I can program to the chip via this usb port? I ripped the board off a color laser printer by samsung and the board also has an ethernet connection.
Also, this board has 4 pins called "cn4 debug". Would this be of any use?
Here is a pic: http://imageshack.us/photo/my-images/262/img20120527120306.jpg/
Thanks,
Rohit
I doubt programing this board would even be posible. You could check if there is any software that is used to update the board (from the manufactuter) and try to reverse the protocol. You would also need to figure out the format of the firmware file. There is a lot of good stuff on hacking router firmware that may help. You should be able to find some mailing list to ask for help on.
For any device to be programmed over USB or indeed any port that is not part of the on-chip programming/debug architecture requires software/firmware supporting that port to be present on teh chip already. Some microcontrollers include ROM based primary bootloader code for this purpose. The S2C2510A has no such bootloader. But if the board already has software on it, part of it may indeed be a bootloader. However unless you can get information on the protocol used, you do not really have much hope.
A picture of the board does not really help; what you need is a full data sheet and/or schematic. You'll also want the data sheet and user reference manual for the chip itself. You don't really have much hope of making sense of this board without them. The board does not look like a development board to me, so board specific information may not be available.
CN4 merely means "Connector Number 4". Having just four pins it is likely that it is merely a connecting to the Console UART - a minimal low speed serial data peripheral on the S3C2510A.

Arduino project using infrared sensor and usb communication

I am planning on doing a small arduino project and would like to know if what I'm thinking would work with a regular arduino board. I'm thinking of buying an Arduino Uno for my project, along with an IR LED and an IR sensor. So here's what I want to go with this:
I want to point the LED towards the sensor, so that the sensor is always detecting light. Then', I'll start "cutting" that light (say, with with my hand) several times. I want the arduino program to time the intervals between the times the light is "cut" and send these times to my computer via USB, so I can process this data.
I've seen many people talk about serial communication between an arduino board and a computer, but I'm not sure how that works. Will it use the same usb connector I use to upload programs to the board, or do I have to buy anything else?
EDIT: tl;dr: I guess my question, in the end, is twofold:
1) Am I able to "talk" to my computer using the built-in USB connector on the board, or is that used solely for uploading programs and I need to buy another one? and
2) Is this project feasible with an Arduino Uno board?
Thanks for the help!
Yes, your project is very feasible.
You use the built in USB connector to both program the device and communicate with it. Check out some examples on the Serial Reference Page
For reading the sensor, you'll want to use either a digital or analog input. For a digital input, you'll likely have to external components to control the light threshold, but it will provide a simple yes or no if something is in front of it. With an analog input, you can use a threshold in code to determine when your hand passes.
Timing can either be done on device with the Millis() function or on the connected computer.