How to use AI in Fab Academy¶
First step¶
I went to chatGPT , https://chatgpt.com/ , and ask in french in the prompt to generate a documentation to grow mint plant with arduino.
generate a documentation to grow mint plant with arduino
And got this result
I ask in a mkdoc format for my documentation. I use the copy-paste tool to my documentaiton.
Result :
Translate the answer
Understanding is essential¶
Next try to understand the content, they are many missing essential part.
I ask chatGPT
Which soil moisture sensors should I use ?
I asked chatGPT
How do I use the DHT11 for the mint plant ?
Image generation with AI.
I asked Midjourney to generate a picture of my project with
a DIY project of a mint plant with a DHT11 sensor connected to an arduino
Problems :¶
DHT11 cannot measure humidity from the soil. But ChatGPT explain this
Why, do I get this answer ? It is a statistical answer from the words "arduino" & "humidity" on massive amount of text, as you can try by yourself on a search engine.
If you asked your instructor, you will probably get this answer :
-
Resistive soil moisture sensor
-
Capacitive Soil Moisture Sensor
Resistive soil moisture sensor¶
Image credit from https://openthings.io/reverse-engineer-a-cheap-wireless-soil-moisture-sensor/
Capacitive Soil Moisture Sensor¶
Image credit from https://openthings.io/reverse-engineer-a-cheap-wireless-soil-moisture-sensor/
Tensiometer¶
If you ask someone in Agriculture, he'll tell you a Tensiometer.
AgriLab Tensiometer¶
Image credit from https://agrilab.unilasalle.fr/projets/projects/openlab/questions/208-support-de-tensiometre
Commercial digital Tensiometer¶
An example from https://irrometer.com/
Image credit from https://irrometer.com/
Principle¶
Wikipedia https://en.wikipedia.org/wiki/Tensiometer_(soil_science)
The same remark, Midjourney will generate a picture of the most common statistical answer, not a "correct" answer.
MidJourney
a farming field of mint plant in the future with many connected soil tensiometers
Search engine
iot agriculture
Tips¶
Use AI, understand AI tools. Like for any information : compare and try to understand. Source reliability is not easy. Something true in the past is maybe not just anymore. AI can help you to work in different languages and start in many fields like coding or understand coding.
Here I asked ChatGPT to explain to me step by step this code https://academy.cba.mit.edu/classes/input_devices/step/RP2040/hello.steptime1.RP2040.py written by Neil
Explain to me step by step this code https://academy.cba.mit.edu/classes/input_devices/step/RP2040/hello.steptime1.RP2040.py
Respect other works¶
In the student agreement keep in mind
Honestly reporting on my work, and appropriately attributing the work of others (both human and machine, including AI prompts)
When using AI, mention clearly which tool (which tool version also) an the prompt you use. Be clear on your production and AI production.
Always credits when using other code, text, pictures, video, music, tutorials.
Mentioning I found this picture on google is not enought. Minimum: original link, then the name of the author. Sometime date and version are important like article from Wikipedia. You can find more precise rules with bibliography rules.
Fact-checking is important¶
Be creative ! And responsible.
Creative pictures made with MidJourney and AgriLab compliant with the Right to parody.